quantconnect-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

QuantConnect JS REST Client

NitayRabi

Important

This is not an official API maintained by the QuantConnect team, and is in (VERY) early stages of development.

General

An open-source wrapper over the REST API described in QuantConnect's documentation

The API works both in Node.JS environment and browser environment.

Installation

Using yarn:

yarn add quantconnect-client

Using NPM:

npm install quantconnect-client

Usage

Authentication

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

Usage Example

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" })

Supported endpoints

See full reference in modules

Roadmap

  • [ ] Tests tests tests
  • [ ] Full return types from endpoints
  • [ ] More endpoints support:
    • [ ] Backtest management and reports
    • [ ] Compiling code
    • [ ] Downloading data

Readme

Keywords

none

Package Sidebar

Install

npm i quantconnect-client

Weekly Downloads

2

Version

0.0.19

License

ISC

Unpacked Size

78 kB

Total Files

42

Last publish

Collaborators

  • nitayrabi