18 Commits

Author SHA1 Message Date
Louis Szeto 5eb236834f pep8 conversions of python algos, #6 (#7944)
* pep8 conversions

* Address review. Fix PythonIndicator

* Minor CSharp algo fix

---------

Co-authored-by: Martin Molinero <martin.molinero1@gmail.com>
2024-04-18 15:15:18 -03:00
Marco Grassi e823dfdfb7 fix a typo, and remove all unnecessary semicolumns in Python (#5795)
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
2021-07-27 16:05:13 -03:00
Martin-Molinero 03f56481d4 Refactor python algorithm import (#5657)
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
* Python research import improvements

- Improve start.py for research env
- Remove unrequired imports

* Centralize algorithm imports

* Add regression test GH action

* Unit test python import clean up

* Join research and main imports

* More python import clean up

* Fix failing skipped regression algorithm
2021-06-15 19:06:06 -03:00
Jack Simonson 3b0cc22e47 Removed decimal and Decimal import, no longer necessary with recent LEAN update 2019-03-01 10:51:20 -08:00
Michael Handschuh fdc866fda0 Reverting 'Merge pull request #2483 python-history-provider'
We didn't experience the expected performance improvements. Locally under
unit test there was aboout an order of magnitude throughput increase, but
when run against the history benchmark, this new approach was 60% slower.
We're reverting this for now to perform further analysis and better
understand the performance profiling of the python history stack.
2018-09-18 18:37:23 -04:00
AlexCatarino 3e4a71cd50 Creates QCAlgorithm.py: a bridge between C# QCAlgorithm and python algorithms 2018-09-17 19:05:48 +01:00
Stefano Raggi 2ff5650b4a Add price and split factors to CoarseFundamental class 2018-06-01 12:19:06 +02:00
Michael Handschuh 18a559943e Upgrade LEAN Python to 3.6 from 2.7
- Adds log to display the python version the algorithm is using.
- Fixes python algorithms that were failing because of small subtleties
like leading zeroes.
- Updates pythonnet with a version compiled with python 3.6 flags

- Changes in DockerfileFoundation: we now use miniconda to manage the python
environment.
- Took the opportunity to add NTLK (#1349), Tensorforce (#1369) and
PyTorch/Pyro (#1385).
- Changes readme in Algorithm.Python to show steps to install miniconda
2018-02-23 15:09:06 -05:00
Stefano Raggi a39e6a8e28 Revert "Merge pull request #1526 from AlexCatarino/python3"
This reverts commit 2e523992d0, reversing
changes made to fa48fc23ea.
2018-02-14 16:03:12 +01:00
AlexCatarino 84282503d0 Fixes python algorithm to be python 3 compliant 2018-02-13 13:00:50 +00:00
AlexCatarino 1156705916 Changes python algos to use Update(DateTime, decimal) method 2017-10-13 19:10:38 +01:00
AlexCatarino 3da8449fea Improves Universe Selection for python
In python algorithm using Universe Selection, the selector method should return a List<Symbol>. To make it more pythonic, we allow returning python list. The conversion is, then, performed in C# side.
2017-09-27 00:33:19 +01:00
Jared Broad dc27c4e3d6 Added tags to python algorithms 2017-09-21 08:27:41 -04:00
Jing Wu f6aa7001b7 modified EmaCrossUniverseSelectionAlgorithm to match the result in C# algorithm 2017-09-20 11:15:54 -04:00
Jing Wu 66b7974e56 modifid Log problem 2017-09-18 10:42:52 -04:00
Jing Wu e12625745b add licence 2017-09-14 18:49:51 -04:00
Jing Wu a7e5a6b026 added ema cross universe slection algorithm 2017-09-14 17:52:01 -04:00
Jing Wu 55e882011f add BasicTemplateDailyAlgorithm
add BasicTemplateForexAlgorithm
add BasicTemplateFuturesConsolidationAlgorithm
add BasicTemplateFuturesHistoryAlgorithm
add BasicTemplateOptionStrategyAlgorithm
add EmaCrossUniverseSelectionAlgorithm
modify QuantConnect.Algorithm.Python.csproj
2017-09-14 17:30:37 -04:00