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.