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

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantconnect-stubs-16716.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-16716.tar.gz
Algorithm Hash digest
SHA256 b399e91d23da1aeb8fc9f8a4234c3c9574dfb5e1926ad9f6c40ea1cd3475357c
MD5 d7683c27ffdbea370f6ff0b137a9e907
BLAKE2b-256 5742119e1c16d5356380b69e7d5360b31ad067c0cf206f6f347cb6f8178bfa51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantconnect_stubs-16716-py3-none-any.whl
Algorithm Hash digest
SHA256 b12feddc185491b90909eba99dba696547027d73d329cde8d01375c6f8dc9036
MD5 cf24261ee176451243061573b9d009af
BLAKE2b-256 62bc9f890c339a8d3b6b7a0d547b147024d890ba8cde9c52fc495c643cf053bd

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