Commit Graph

269 Commits

Author SHA1 Message Date
AlexCatarino 543698f1f9 Updates installation instructions of python support on Linux
By default, miniconda is installed in the users' home directory, therefore the instalation instructions were changed to keep it simple.
2018-03-26 12:33:30 +01:00
Juan José D'Ambrosio e4f4943ec6 Update FractionalQuantityRegressionAlgorithm.py 2018-03-23 09:38:39 -03:00
Jared 10f81cbe3f Merge pull request #1744 from jingwu74/master
Add Python Example of DisplacedMovingAverageRibbon Algorithm
2018-03-22 09:48:09 -04:00
Jing Wu 0c9ad729b3 add project file of DisplacedMovingAverageRibbon.py 2018-03-21 18:27:41 -04:00
Jing Wu 5d02f3dc20 add python aexample of DisplacedMovingAverageRibbon algorithm 2018-03-21 18:26:59 -04:00
AlexCatarino eaabaef7f9 Fixes python version of BasicTemplateFrameworkAlgorithm
Renames AlphaType for `InsightType` and `AlphaDirection` for `InsightDirection`, since these `enum` were renamed in a previsous commit.
Adds this algorithm to regression tests.
2018-03-17 19:52:24 +00:00
Jing Wu 8cc38591c1 reformat code 2018-03-16 09:43:55 -04:00
Jing Wu 764c7e467a fixed bug with porting from python2 to python3 2018-03-15 17:18:40 -04:00
Jing Wu 75c5902f89 add CustomDataIndicatorExtensions Algorithm 2018-03-15 17:11:55 -04:00
Michael 88bd9c882f Merge pull request #1681 from StefanoRaggi/bug-1680-cash-model-use-quotes
Increase accuracy of order quantity calculation in CashBuyingPowerModel
2018-03-12 13:18:24 -04:00
AlexCatarino 9eb0999802 Removes installation instructions for macOS
Replaces the installation instructions for macOS to directions to github issue in pythonnet
2018-03-09 23:29:54 +00:00
AlexCatarino 444a50d977 Improves Algorithm.Python ReadMe
Simplifies ReadMe.
Adds the information about rebuilding LEAN to get the right
Python.Runtime.dll version in the bin folder.
2018-03-09 23:17:17 +00:00
Stefano Raggi 66822fb95c Simplify log statement in BasicTemplateCryptoAlgorithm.py 2018-03-09 17:36:32 +01:00
Stefano Raggi 1fcb4a6b96 Increase accuracy of order quantity calculation in CashBuyingPowerModel
Fixes #1680
2018-03-09 16:08:21 +01:00
Jing Wu 797b6d4f8a add tags and comments 2018-03-06 11:47:23 -05:00
Jing Wu c7839e3e38 add python example of ConstituentsQC500Generator 2018-03-05 18:20:13 -05:00
Jing Wu 8565d0f7b9 add csharp example of ConstituentsQC500Generator 2018-03-05 18:18:57 -05:00
Juan José D'Ambrosio b1734d6948 IndicatorSuiteAlgorithm implemented in Python 2018-02-28 21:45:56 -03:00
Michael Handschuh 7814259c52 Update miniconda download location to S3 cdn
Placing these scripts in S3 allows us to not worry about the external
site taking down the files and/or being unavailable.
2018-02-23 16:34:07 -05:00
Michael Handschuh 3da7902d84 Update python readme to match DockerfileLeanFoundation
These commands were updated from fetching latest to fetching a particular
version of miniconda
2018-02-23 16:32:07 -05: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 2532d7c57e Fixes CustomVolatilityModelAlgorithm to be python 3 compliant 2018-02-13 13:00:50 +00:00
AlexCatarino 34a271adac Updates pythonnet
In this update, we had compiled pythonnet with python 3.6 instead of 2.7 flags
2018-02-13 13:00:50 +00:00
AlexCatarino 84282503d0 Fixes python algorithm to be python 3 compliant 2018-02-13 13:00:50 +00:00
Jared 36a48a6824 Merge pull request #1554 from AlexCatarino/python-slice
Creates wrapper for Slice (python custom data)
2018-02-12 17:01:45 -05:00
Stefano Raggi a5f02d646b Add comment for BuyingPowerModel in FractionalQuantityRegressionAlgorithm 2018-02-12 17:40:27 +01:00
Stefano Raggi ffc848ef5f Fix BasicTemplateCryptoAlgorithm class name (Python) 2018-02-12 17:40:27 +01:00
Stefano Raggi c235dc7ada Add BasicTemplateCryptoAlgorithm
Also added both C# and Python versions as regression tests
2018-02-12 17:40:26 +01:00
Stefano Raggi 415542fcbc Set CashBuyingPowerModel as default for Crypto/GDAX 2018-02-12 17:38:12 +01:00
AlexCatarino 64a9929fa6 Fixes custom data algos to reflect changes from previous commit 2018-02-12 15:49:09 +00:00
AlexCatarino 84c3e2bf1b Adds regression test for custom indicator in python 2018-02-07 17:16:56 +00:00
AlexCatarino 6827624f83 Adds RegisterIndicator overloads that takes python-defined indicators
Adds example for this feature
2018-02-07 12:31:18 +00:00
AlexCatarino dd14821e75 Enables custom volatility models in python algorithms
Creates a python wrapper for volatility models created in python algorithms and adds a method to the Security object to set such models.
Adds an algorithm to show how volatility models can be implemented.
2018-01-31 12:17:24 +00:00
Jing Wu 5a9d410a86 fix indentation 2018-01-25 15:48:12 -05:00
Jing Wu ca314c93df fix indentation 2018-01-25 15:31:43 -05:00
Jing Wu b94e62f796 fix sign typo 2018-01-25 15:03:58 -05:00
Jing Wu 86aeeaf727 modified project file 2018-01-25 15:03:18 -05:00
Jing Wu 2b0937b36a add MultipleSymbolConsolidationAlgorithm (py) 2018-01-25 15:02:39 -05:00
Jared Broad 29e62968c9 Add python examples, improve comments 2018-01-15 18:55:06 -05:00
AlexCatarino 9459f47cba Updates pythonnet
In this update, methods overloads with decimal parameters accept python float.

- Fixes FractionalQuantityRegressionAlgorithm:
With the pythonnet update we can pass a python float where a decimal is required.
2017-12-29 17:25:48 +00:00
Jared Broad 3f4c1ba27c Bug fix self reference 2017-12-28 21:02:26 -05:00
Jared 702bb5616d Merge pull request #1430 from jingwu74/master
add OptionChainProviderAlgorithm
2017-12-26 09:47:04 -05:00
Derek M Tishler 4c0e856115 Fix use of protected name in custom charting algo 2017-12-24 22:23:13 -05:00
Jing Wu 7373d85d4a remove data normalization setting 2017-12-22 10:09:40 -05:00
Jing Wu 03057e9ca2 add OptionChainProviderAlgorithm(Csharp) 2017-12-21 14:37:12 -05:00
Stefano Raggi 51e7726431 Update FractionalQuantityRegressionAlgorithm
This algorithm has been updated because of the recent minimum order size change (in PR #1400).

Also, PR #1428 needsto be merged for the test to pass.
2017-12-21 11:31:10 +01:00
andrewhart098 c606a67b33 Merge pull request #1355 from AlexCatarino/pythonnet-update
Updates pythonnet
2017-12-20 16:30:54 -05:00
AlexCatarino 98a1b6a2a2 Refactors options algorithms
AddEquity and SetDataNormalization calls were removed because they are not mandatory since PostInitialize calls them.
2017-12-18 11:24:08 +00:00
AlexCatarino 970ce7759c Fixes FractionalQuantityRegressionAlgorithm
With the pythonnet update we cannot pass a python float where a decimal is required.
2017-12-18 10:57:26 +00:00