Skip to main content

Type stubs for QuantConnect's Lean

Project description

QuantConnect Stubs

This package contains type stubs for QuantConnect's Lean algorithmic trading engine and for parts of the .NET library that are used by Lean.

These stubs can be used by editors to provide type-aware features like autocomplete and auto-imports in QuantConnect strategies written in Python.

After installing the stubs, you can copy the following line to the top of every Python file to have the same imports as the ones that are added by default in the cloud:

from AlgorithmImports import *

This line imports all common QuantConnect members and provides autocomplete for them.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantconnect_stubs-16778.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantconnect_stubs-16778-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file quantconnect_stubs-16778.tar.gz.

File metadata

  • Download URL: quantconnect_stubs-16778.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for quantconnect_stubs-16778.tar.gz
Algorithm Hash digest
SHA256 428de6e13c5e1d9f783b9d8e86a03db3e046f8574ccdfc31a0d525cd2bf7be2f
MD5 40617db33f9e852eb296f53f8613d21a
BLAKE2b-256 d51c9e7131612468a54c03638ee7b6d9237bb1fadc3688986c49d7ef476f2f92

See more details on using hashes here.

File details

Details for the file quantconnect_stubs-16778-py3-none-any.whl.

File metadata

File hashes

Hashes for quantconnect_stubs-16778-py3-none-any.whl
Algorithm Hash digest
SHA256 1ad15b269afb6ea8b273d639194d34956cd8f0f44ed064fb5bd3fb36cb53ca8d
MD5 ad0f3aab0ed4ab8d6d5f86d96027b010
BLAKE2b-256 695a3986ea858262a77e8db0e5e8893f556bbad60643a28d94b1759ca8273af5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page