Files
Aaron Janeiro Stone cfacc755fa Removal of depreciated module called in test, addition of __init__ (#4769)
* Removal of depreciated module called in test, addition of __init__ to module.

* Delete __init__.py

Currently unnecessary
2020-09-28 11:36:02 -03:00
..
2018-07-20 13:42:31 -04:00
2019-12-11 16:10:12 +00:00

QuantConnect.com Interaction via API (python edition)
=====================================================

What is it
----------

**quantconnect** is a Python package providing interaction via API with `QuantConnect.com <https://www.quantconnect.com>`_.

Installation Instructions
-------------------------

This package can be installed with pip:

   >>> pip install quantconnect -U

Local installation:

   >>> pip install -e Lean/PythonToolbox

Enter Python's interpreter and type the following commands:

   >>> from quantconnect.api import Api
   >>> api = Api(your-user-id, your-token)
   >>> p = api.list_projects()
   >>> print(len(p['projects']))

For your user id and token, please visit `your account page <https://www.quantconnect.com/account>`_.

Create the package
------------------

Edit setup.py to set the desired package version. Then, create the distribution and upload it with `twine <https://pypi.python.org/pypi/twine>`_.:

   >>> python setup.py sdist
   >>> twine upload  dist/*

Lean Report Creator
-------------------
Create beautiful HTML/PDF reports for sharing your LEAN backtest results in Python.
For more information see the [Tutorial](https://www.quantconnect.com/tutorials/open-source/lean-report-creator)