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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantconnect-stubs-16708.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-16708.tar.gz
Algorithm Hash digest
SHA256 646dfadbd09ba848b94cd23b58a8630beb63e7907e9fb0598640dbb9c7349810
MD5 e437459dce8727a2d83102aaf6fc533f
BLAKE2b-256 2d082d7f8901b763a21ee8fe4a02e6b232b71b7aaaaf55f6b5b6a116e90abfa1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-16708-py3-none-any.whl
Algorithm Hash digest
SHA256 de51cd8d67b1367d3340228a330abab0ac9860ccb048c1b33dcc3ff9d3c251f4
MD5 384f33dcc10f34feacfabf8b285b1eac
BLAKE2b-256 9a320f31e579384e7b29979d6e7d2d6b458763a6f3610d89ebb73efb744cfdc6

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