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-16888.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-16888-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quantconnect_stubs-16888.tar.gz
Algorithm Hash digest
SHA256 bc73a3a1342c459fa7f35b34579767d1d79e453dcad8d6fc5ad725b7afb20623
MD5 0b3c50dee0ed6576ed229e0d90e8266e
BLAKE2b-256 e6a5838267da7b3d404d686cc94d87ff04fcaf4b71a74eb10b5c840c67ec0e97

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-16888-py3-none-any.whl
Algorithm Hash digest
SHA256 497f9a7cc5fb0b6fcd5d61c161f60dc221be9ad710e7f0881097c955394f2ce3
MD5 f02f368cca08cfd8fc6159bf37c91cbd
BLAKE2b-256 a23ac794466bfd9b50525a92aa498e8179bf2a8fa5219518c09c166e54bbfa16

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