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-17422.tar.gz (1.1 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-17422-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantconnect_stubs-17422.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for quantconnect_stubs-17422.tar.gz
Algorithm Hash digest
SHA256 163084dfafa6d861f6c8ff7b26537230ab34daeff1798e1921c4ab9da9011719
MD5 ea6bfd805f6aedd2a3f27d1eccce18b4
BLAKE2b-256 c0f4ddb1c8caf21e425671a727d6b763c3bcb1d38504847f8c7a18c7360a6e94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-17422-py3-none-any.whl
Algorithm Hash digest
SHA256 fd66595080a6975d333fbef34d19f740bf06b94f6038b21a0f84a57a9619f842
MD5 21bdbe29bef87c750bc5124a2c9f8792
BLAKE2b-256 86022886c96b10c7bf4e4bbc86b4371f737b78c89d7dfdfbfc288e03491457eb

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