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-16738.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file quantconnect-stubs-16738.tar.gz.

File metadata

  • Download URL: quantconnect-stubs-16738.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for quantconnect-stubs-16738.tar.gz
Algorithm Hash digest
SHA256 d0a9a489624ca96faf1d09047d345c4ac616e5d6b5d7ef478375f72831febca4
MD5 d4eaee994282c29a7eeac09aabd97269
BLAKE2b-256 9651dfaa78533af85c75c4122bf850a89e4403fc99c0fc0d409946edf22bbb9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-16738-py3-none-any.whl
Algorithm Hash digest
SHA256 609d20e2830d37626b347594186c66ee1bf8c604ac95f77e7cc95653b00dc632
MD5 dfd7f427989c9bf874f6a4b46c80f8b9
BLAKE2b-256 f590aa4752280470d9cca4c34afa2ecc3ca245b72e0d0584e492337f8c41a7cc

See more details on using hashes here.

Supported by

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