Skip to content

Latest commit

 

History

History
 
 

Jupyter

QuantConnect Jupyter Project:

Before we enable Jupyter support, follow Lean installation and Python installation to get LEAN running Python algorithms in your machine.

1. Install Jupyter and its dependencies:

  1. Install Jupyter:
    pip install jupyter
  1. Install QuantConnect Python API
   pip install quantconnect
  1. Install PythonNet: If you haven't installed Git yet you should first setup git, then install PythonNet.
   git clone https://github.com/QuantConnect/pythonnet
   cd pythonnet
   python setup.py install

2. Run Jupyter:

  1. Update the config.json file in Lean/Launcher/ folder
   "composer-dll-directory": ".",
  1. Rebuild the solution to refresh the configuration and binaries.
  2. Run Jupyter from the command line,
    cd Lean/Launcher/bin/Debug
    jupyter notebook