Commit Graph

91 Commits

Author SHA1 Message Date
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 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
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 a082f930fa Adds support for Custom Universe Selection
Includes DropboxBaseDataUniverseSelectionAlgorithm python algorithm as an working example
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 5ecc1820e7 modified python project file 2017-09-26 10:10:55 -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
Jared 98d77fab45 Merge pull request #1148 from AlexCatarino/py-useruniverse
Adds support for user-defined universe selection for python
2017-09-21 07:30:09 -04:00
Jing Wu 28ded59c42 modified project file for adding new algorithm 2017-09-20 18:46:15 -04:00
AlexCatarino e35ba389d9 Adds support for user-defined universe selection for python
Adds UserDefinedUniverseAlgorithm python script to show how to use user-defined universe selection for python.
2017-09-20 22:45:51 +01:00
Jing Wu b19a287cea modified project file for adding new python algorithm 2017-09-19 18:35:41 -04:00
Jing Wu adf1d2a5cf modified project file for adding new python algorithms 2017-09-19 18:17:18 -04:00
Jing Wu 82eab2cdce modified project file for adding new algorithm 2017-09-15 18:14:44 -04:00
Jing Wu f1a8b29e95 modified python project file for adding new algorithm 2017-09-14 17:55:46 -04:00
AlexCatarino d7f2411fcd Upgrades pythonnet version
In this version, we have fixed a bug that led to System.AccessViolationException when we add timezone information in the datetime.datetime object.
2017-09-12 17:33:52 +01:00
Jared Broad 8281911bd0 Revert "Upgrades pythonnet version"
This reverts commit 310e5c4211.
2017-08-22 16:11:54 -04:00
AlexCatarino 310e5c4211 Upgrades pythonnet version
In this version, we have fixed a bug that led to System.AccessViolationException when we add timezone information in the datetime.datetime object.
2017-08-21 21:59:59 +01:00
Andrew e116709b24 Specify <LangVersion> of 6 in all csproj files 2017-08-07 15:27:26 -04:00
AlexCatarino 1ea28c4d0e Adds RollingWindowAlgorithm example in python
New algorithm shows how to use rolling windows in python.
2017-07-27 17:09:15 +01:00
AlexCatarino 46ead54f79 Implements Quandl support for Python
Implements Quandl support for Python.
It was not possible to derive from Quandl in order to select the column. If the data did not have "close", it would thrown an exception since it would look for this work in a dictionary.
It is now possible to select the column.
See example QuandFuturesDataAlgorithm.py
2017-07-27 00:18:08 +01:00
Stefano Raggi 2ef90140c9 Update "Copy to output directory" setting from Always to PreserveNewest
When building the solution, this setting (on a few files) was always triggering almost a full rebuild, even if no files changed.
2017-07-14 00:26:23 +02:00
Stefano Raggi e463ccf088 Upgrade all projects to target .NET Framework 4.5.2
In the advanced build settings, Language version was also upgraded from C# 5.0 to C# 6.0. The minimum Visual Studio version required will now be VS2015.
2017-07-07 22:49:17 +02:00
AlexCatarino 37b22d4693 Updates pythonnet nuget version
In this version, we have just included a dll for macOS
2017-06-23 13:22:24 +01:00
AlexCatarino 6ca9d7cf14 Updates pythonnet package
This update implemented implicit conversion.
From now on, python algorithms will be able to use string object instead of Symbol object when a method overload requires Symbol.
2017-06-15 18:32:29 +01:00
AlexCatarino 77d1b537ee Charting support for python
Adds overloads to Plot and PlotIndicator to handle calls from python.
Adds CustomChartingAlgorithm and changes MACDTrendAlgorithm to showcase the feature
2017-06-02 10:45:45 +01:00
AlexCatarino f6aa31643c Updates pythonnet package
This new pythonnet package makes available the latest version from pythonnet master branch and includes modifications to enable charting in Lean for python.

The dockerfile to create images for the cloud is updated to reflect the package update and adds keras and tensorflow
2017-06-02 10:45:45 +01:00
AlexCatarino 4eb80e78e9 Upgrades pythonnet to version 1.0.2.1
Previous version was not matching methods with nullables accordingly
2017-05-26 01:16:54 +01:00
AlexCatarino 18d83fb8ec Updates python framework to support python datetime
Updates nuget package to support conversion from C# DateTime to python datetime.
Updates algorithms to reflect this change.
2017-05-23 13:40:26 +01:00
AlexCatarino 41e7ad047a Adds python basic templates for options and futures 2017-05-10 13:32:36 +01:00
jaredbroad e8b72fedd4 Added QC Algorithm to required python project dependencies 2017-04-30 17:54:54 -04:00
jaredbroad 469abd42cf Shuffle PyUtil to build-none, common project 2017-04-30 17:44:43 -04:00
jaredbroad 2ac57081a6 Fix static activator reuse and made PyUtils copy to bin directory 2017-04-30 17:17:09 -04:00
jaredbroad 0e114cb94c Fix missing arg on Liquidate 2017-04-29 18:39:13 -04:00
AlexCatarino b3bc2ec556 Removes all references in Algorithm.Python
Removes all references in Algorithm.Python since they are not used.
2017-04-11 17:48:27 +01:00
AlexCatarino 40e570b2cb Updates QuantConnect.Pythonnet package
New version include instructions to copy nPython.exe to bin directories
2017-04-11 17:05:29 +01:00
AlexCatarino 9774af9adc Custom Data for Python Support 2017-02-09 17:48:50 -02:00
Stefano Raggi 8688ece2d4 Update Accord.NET library to version 3.3.0 2016-12-15 20:46:25 +01:00
Andrew Hart 7779fb567e Build events in Algo.Python now platform dependent 2016-09-20 17:19:50 -04:00
jaredbroad dd8a6442b6 Tidy unneccessary TravisCI build configuration 2016-04-19 19:51:51 -04:00
jaredbroad e93006b6a5 Added Travis CI release configuration and disabled views from building in linux 2016-04-15 12:44:37 -04:00
Michael Handschuh 6db044dd0c Merge pull request #364 from AlexCatarino/py_dataconsolidation
Adds DataConsolidationAlgorithm.py
2016-04-07 08:29:42 -04:00
Michael Handschuh 555d015357 Merge pull request #368 from AlexCatarino/py_etfglobalrotation
Adds ETFGlobalRotationAlgorithm.py
2016-04-07 08:24:19 -04:00
Michael Handschuh 37c6f1eb0e Merge pull request #358 from AlexCatarino/py_delistingevents
Adds DelistingEventsAlgorithm.py
2016-04-07 08:23:13 -04:00
AlexCatarino a308e51077 Adds DelistingEventsAlgorithm.py
Adds Python version of DelistingEventsAlgorithm
2016-04-07 08:21:24 -04:00
Michael Handschuh e0d13f0d34 Merge pull request #356 from AlexCatarino/py_historyandwarmupregression
Adds HistoryAndWarmupRegressionAlgorithm.py
2016-04-07 08:06:08 -04:00
AlexCatarino 0ae4660140 Adds ETFGlobalRotationAlgorithm.py
Adds Python version of ETFGlobalRotationAlgorithm
2016-04-06 09:19:16 -03:00