Files
quantconnect--lean/Algorithm.Python
AlexCatarino 919e0225aa Removes Impromptu.ActLike call at the python wrapper
Calling Impromptu.ActLike<IAlgorithm> to make the python object acts like a IAlgorithm caused multiple AlgorithmPythonWrapper objects running in parallel to hold the same python object. That call was removed and instead we access the python object directly.

- Removes AlgorithmPythonUtil.py and add its code directly in AlgorithmPythonWrapper.cs

- Clean up: removes all references to IronPython and ImpromptuInterface
2017-06-02 17:54:54 +01:00
..
2015-09-01 22:17:35 -04:00
2017-05-14 15:11:57 +01:00
2017-04-11 17:09:44 +01:00
2016-02-12 11:07:53 -05:00
2015-09-01 22:17:35 -04:00
2017-06-02 10:45:45 +01:00

QuantConnect Python Algorithm Project:

Set config:

"algorithm-type-name": "BasicTemplateAlgorithm",
"algorithm-language": "Python",
"algorithm-location": "../../../Algorithm.Python/BasicTemplateAlgorithm.py",

WINDOWS:

  1. Install Python 2.7

  2. Add an entry to the system path variable (C:\Python27)

  3. Change the extension to .dll of Lean\packages\QuantConnect.pythonnet.version\build\Python.Runtime.win and move it to Lean\packages\QuantConnect.pythonnet.version\lib.

LINUX:

To use Lean-Python on linux you'll need to install Python:

sudo apt-get install -y python-pip

Please checkout the command to install the whitelisted packages here.