Commit Graph

203 Commits

Author SHA1 Message Date
Jared 0446dd5a47 Merge pull request #1248 from AlexCatarino/python-universe
Enables Universe Selection Helpers in Python
2017-10-24 15:04:02 -04:00
AlexCatarino bd54a7a879 Fixes FractionalQuantityRegressionAlgorithm to pass regression tests 2017-10-24 19:31:49 +01:00
AlexCatarino b032a91a71 Adds UniverseSelectionDefinitionsAlgorithm for python 2017-10-24 19:07:40 +01:00
AlexCatarino 98b49aa08b Fixes python version of MACDTrendAlgorithm
Fixes MACDTrendAlgorithm to match C# and pass regression tests.
In the C#, the MACD fast period was previously updated from 9 to 12. It lead to an update in regression tests.
2017-10-19 13:27:03 +01:00
AlexCatarino adf32d5524 Fixes FractionalQuantityRegressionAlgorithm in python
Fixes FractionalQuantityRegressionAlgorithm in python to match C# equivalent: BTCUSD uses GDAX market.
2017-10-17 22:20:06 +01:00
AlexCatarino 1156705916 Changes python algos to use Update(DateTime, decimal) method 2017-10-13 19:10:38 +01:00
AlexCatarino e675753075 Includes recently added python algorithms to regression tests
Also adds those algorithms to the PythonTools project
2017-10-13 00:04:29 +01:00
AlexCatarino 1f20d22c39 Fixes algorithms with new SetBrokerage implementation
Fixes HourReverseSplitRegressionAlgorithm and HourSplitRegressionAlgorithm to pass regression tests with new SetBrokerage implementation
2017-10-13 00:00:33 +01:00
Jared b8c7bed5f9 Merge pull request #1194 from jingwu74/master
add HourReverseSplitRegressionAlgorithm
2017-10-12 18:44:11 -04:00
Jing Wu 90692995be delete uncessary library import 2017-10-12 18:28:52 -04:00
Jared b78897c6cf Merge pull request #1198 from AlexCatarino/setsecinit-py
Implements SetSecurityInitializer for Python algorithms
2017-10-12 16:33:17 -04:00
AlexCatarino 9536123160 Updates pythonnet
In this update, we have changed our version of pythonnet to give precedence to methods that include a PyObject parameter.
2017-10-12 16:41:50 +01:00
AlexCatarino ebb8f499f3 Adds CustomSecurityInitializerAlgortihm for python
This algorithm serves as an example for the SetSecurityInilializer for python feature
The date range for the C# version is changed to match existing data
2017-10-11 10:38:18 +01:00
Jing Wu f5486fcb6e add HourReverseSplitRegressionAlgorithm 2017-10-09 11:54:43 -04:00
Jing Wu b43a398ec2 add project file 2017-10-06 18:45:35 -04:00
Jing Wu b57526986f add HourSplitRegressionAlgorithm 2017-10-06 18:44:38 -04:00
Jing Wu d9d84083a4 add OptionChainConsistencyRegressionAlgorithm 2017-10-06 18:44:09 -04:00
Jing Wu 7e866b010f add OptionSplitRegressionAlgorithm 2017-10-06 18:43:35 -04:00
AlexCatarino d2e352cf58 Extends Option.SetFilter with an overload that accepts PyObject
This feature enables users to write complex filters for option universes.
Fixes OptionExerciseAssignRegressionAlgorithm
Adds regression test for OptionExerciseAssignRegressionAlgorithm
2017-10-06 16:55:18 +01:00
AlexCatarino 4b4e084694 Fixes python algorithms to pass regression tests
BasicTemplateOptionsAlgorithm
CustomDataRegressionAlgorithm
UniverseSelectionRegressionAlgorithm
WeeklyUniverseSelectionRegressionAlgorithm
2017-10-06 13:33:03 +01:00
AlexCatarino 9211b67286 Adds python algorithms for regression tests
CoarseFineFundamentalRegressionAlgorithm
CoarseFundamentalTop5Algorithm
DropboxUniverseSelectionAlgorithm
FractionalQuantityRegressionAlgorithm
2017-10-06 13:32:35 +01:00
AlexCatarino 1346acf0cf Adds support for FilteredIdentity indicator for python
Also adds FilteredIdentityAlgorithm as a working example.
2017-10-05 12:12:45 +01:00
andrewhart098 8bc187f38e Merge pull request #1171 from AlexCatarino/pythonnet-update
Updates pythonnet nuget version
2017-10-03 17:07:06 -04:00
AlexCatarino b4313ad740 Implements SetBrokerageModel for python algorithms
Adds BrokerageModelAlgorithm to showcase the implementation
2017-10-03 00:17:34 +01:00
AlexCatarino 751a66a36a Refactors Custom Models for python
Moves custom model setters from QCAlgorithm class to Security class.
Modifies algorithm examples to reflect the change.
2017-09-29 22:56:52 +01:00
AlexCatarino 099e871afd Updates pythonnet nuget version
In this new nuget package, we have included two versions Python.Runtime.dll for macOS
We also add the instructions to compile pythonnet for different operational systems
2017-09-29 17:59:38 +01:00
Jared 5b3e456d4b Merge pull request #1170 from AlexCatarino/algo_work
Fixes some python algorithms
2017-09-29 09:03:28 -04:00
AlexCatarino 489e11741b Fixes some python algorithms
CustomCharting: did not initialize self.lastprice
QuandFuturesData: algorithm file name and class didn't match
UpdateOrderRegression: did not cast quantity (int) to decimal
UserDefinedUniverse: selector function returns C# List
2017-09-29 11:42:56 +01:00
AlexCatarino 9998e65df9 Adds support for custom models for python
Adds support for fee, fill and slippage custom modelling.
Adds CustomModelsAlgorithm to showcase the new feature
Modifies C# version of CustomModelsAlgorithm to match existing data in github
2017-09-28 16:47:58 +01:00
AlexCatarino b03c9daa6f Improves Custom Universe Selection
Covers the case where the Symbol of a custom data source is important.
Adds CustomDataUniverseAlgorithm python algorithm as an working example
2017-09-27 00:33:19 +01:00
AlexCatarino 6f1a309843 Improves DropboxBaseDataUniverseSelectionAlgorithm
For better readability, the body of the selector method was rewritten
2017-09-27 00:33:19 +01:00
AlexCatarino a082f930fa Adds support for Custom Universe Selection
Includes DropboxBaseDataUniverseSelectionAlgorithm python algorithm as an working example
2017-09-27 00:33:19 +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
Jing Wu 5066ed237e modify project file for adding new algorithms 2017-09-26 18:09:53 -04:00
Jing Wu 1bada81ace add OptionRenameRegressionAlgorithm(Python) 2017-09-26 18:08:42 -04:00
Jing Wu c260c6fb61 add OptionOpenInterestRegressionAlgorithm(Python) 2017-09-26 18:07:38 -04:00
Jing Wu 6a4f5c443e add OptionExerciseAssignRegressionAlgorithm(python) 2017-09-26 18:07:02 -04:00
Jing Wu bb1a6a3c77 remove <summary> in comments 2017-09-26 16:41:47 -04:00
Jing Wu fb00ba1141 remove space lines, modify tags 2017-09-26 15:30:02 -04:00
Jing Wu 5ecc1820e7 modified python project file 2017-09-26 10:10:55 -04:00
Jing Wu 21db054fef added bubble algorithm using custom data 2017-09-26 10:10:19 -04:00
Jing Wu 298b467ab4 fixed probloms of no trade 2017-09-25 12:10:16 -04:00
Jared 5f5d9368b6 Fix typo in example algorithm. 2017-09-24 18:11:52 -04:00
Jared 436c8ba102 Merge pull request #1158 from AlexCatarino/onmargincall_python
Fixes OnMarginCall for python algorithms
2017-09-22 16:10:53 -04:00
AlexCatarino 6624e18f08 Fixes OnMarginCall for python algorithms
Due to pythonnet limitations, the list of SubmitOrderRequest could not be modified by OnMarginCall event handler. We now get a new list from that method and update the list in the wrapper.
2017-09-22 20:50:49 +01:00
Gustavo 96d47ab192 Remove importing data tag
It got replace by `custom data` in the case that it wasn't there.
2017-09-22 15:12:06 -04:00
Gustavo b35b307181 Rename tag strategy examples to strategy example 2017-09-22 14:33:11 -04:00
Jared Broad e0b200a0a8 Added tags to coarse fine universe 2017-09-21 20:20:22 -04:00
Jared 3fa1192cdb Merge branch 'master' into master 2017-09-21 19:23:43 -04:00
Jing Wu fd75be1254 added tags 2017-09-21 18:53:25 -04:00