919e0225aa
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
QuantConnect Python Algorithm Project:
Set config:
"algorithm-type-name": "BasicTemplateAlgorithm",
"algorithm-language": "Python",
"algorithm-location": "../../../Algorithm.Python/BasicTemplateAlgorithm.py",
WINDOWS:
-
Add an entry to the system path variable (C:\Python27)
-
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.