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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantconnect-stubs-16712.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-16712.tar.gz
Algorithm Hash digest
SHA256 554457be175623f36b66aa0c232a0187a174f2b7facc5645f09568d623d37f34
MD5 73b6cdad144378d688b0af53dd0f2554
BLAKE2b-256 9e33edf849cda0bca47c0f8f62402d914b6187ddc7fff178bb2200cfc92108b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-16712-py3-none-any.whl
Algorithm Hash digest
SHA256 861c6acc3c24a258d4e6ec38e930b44dbbda638b6c5411c7a3178f47bd4a52eb
MD5 8d8abae11172ee26e0956d1453bc9eb9
BLAKE2b-256 1c5ac32b034bb772cb506ab1c73f725dac8c4db1c477aa5161957c38805dd76d

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