This is not an official API maintained by the QuantConnect team, and is in (VERY) early stages of development.
An open-source wrapper over the REST API described in QuantConnect's documentation
The API works both in Node.JS environment and browser environment.
yarn add quantconnect-client
npm install quantconnect-client
In order to authenticate you'll need an API key and token from QuantConnect, you can get these through your QuantConnect account page, similar to using LEAN CLI
import quantconnect from "quantconnect-client";
// Keep these in a safe place
const userId = '';
const token = ''
const { live } = quantconnect({ userId: this.userId, token: this.token });
// result is your live running algorithms
const result = live.read({ status: "Running" })
See full reference in modules
- Authenticate
- Projects
- Files
- Live
- [ ] Tests tests tests
- [ ] Full return types from endpoints
- [ ] More endpoints support:
- [ ] Backtest management and reports
- [ ] Compiling code
- [ ] Downloading data