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-16387.tar.gz (1.4 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-16387-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quantconnect-stubs-16387.tar.gz
Algorithm Hash digest
SHA256 6047ce2c0cac170d43c6e55c9692d5ff309075864e0bff825ddd445487dd3817
MD5 ef420a5f918e79ed54fbf0cac72f412b
BLAKE2b-256 a21256067ba2a14eb7872774f35f31335eddc49ea2507c3e0529c9f0a14b5b8b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-16387-py3-none-any.whl
Algorithm Hash digest
SHA256 03ae74486eff2bb1493c6d8b247a21fcbcee2a7b2d02121a340f8212a54910be
MD5 a721275f43027a0f6fff8aaa1767e97b
BLAKE2b-256 0394edb2f667128266339148970e027b2271c90f9c7eabc8066acca47c54d8b0

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