Files
quantconnect--lean/Algorithm.Python
AlexCatarino e2b9ef0313 Adds python packages that are relevant to algo trading
Adds blaze, cvxopt, cvxpy, pykalman and statsmodels to foundation docker image.
Adds an algorithm for testing python packages that are currently whitelisted
2017-05-08 21:49:08 +01:00
..
2015-09-01 22:17:35 -04:00
2017-04-11 17:09:44 +01:00
2017-04-11 17:09:44 +01:00
2016-03-14 13:30:33 -03:00
2016-03-25 18:52:32 -03:00
2016-02-12 11:07:53 -05:00
2015-09-01 22:17:35 -04:00
2015-09-26 21:24:10 -04:00
2016-03-23 22:50:35 -03:00

QuantConnect Python Algorithm Project:

To run algorithms in Lean your primary modules must be called "main.py".

Set your config "algorithm-language" property to "Python". Set your config "algorithm-location" property to "QuantConnect.Algorithm.Python.dll".

WINDOWS:

  1. Install Iron Python: http://ironpython.codeplex.com/releases/view/169382

  2. Add an entry to the system path variable (C:\Program Files (x86)\IronPython 2.7)

  3. Run the build script (build.bat).

  4. Optional: Right click on QuantConnect.Algorithm.Python project and click properties. On Build Events tab enter "build" in the post-build events.

LINUX: To use Lean-Python on linux you'll need to install IronPython as well as Python. This is based from this guide: http://ironpython.codeplex.com/wikipage?title=IronPython%20on%20Mono

  1. Install Python(2.7): sudo apt-get install python-all zip git make

  2. Install Iron Python 2.7.5:

  3. Run the build.sh.