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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quantconnect_stubs-17007.tar.gz
Algorithm Hash digest
SHA256 2943fce74b1d05467a9af1b4db88b09d233802df12fa86da65be778de3fd71c1
MD5 485b2d77f8382054991b34972be193e2
BLAKE2b-256 6dff7ec19c813a1f63965411423708cd02cc3a1476e4f3c072246030e97dc7e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-17007-py3-none-any.whl
Algorithm Hash digest
SHA256 e596c96193bd07794ed0fcc8c83833cb7ef037b88fef697ea6b41cc060b6f3e1
MD5 f5adf21b53845815a16243b0f225ca8e
BLAKE2b-256 d2bb0e45710bfba366d4c7c800053b5179e65e923f8d7d1755c371e39b868fe5

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