--- id: quantconnect-stubs version: "18003" license: unclear license_treatment: permissive maintenance: active --- # quantconnect-stubs — Type stubs for QuantConnect's Lean License: permissive · Maintenance: active · Downloads: 161.0K/mo ## What it is and what it does This package provides type stubs for QuantConnect's Lean algorithmic trading engine and related .NET library components. Type stubs are metadata files that tell Python IDEs and type checkers what types and signatures exist in a library, without including the actual implementation. They enable autocomplete, parameter hints, and type checking in your editor when writing trading strategies. The package is designed for developers writing Python strategies on the QuantConnect platform. It depends on pandas and matplotlib as runtime dependencies. The stubs are actively maintained and have no known vulnerabilities, making them a stable choice for local development workflows. Use it for: - Enable IDE autocomplete when writing QuantConnect trading strategies locally before uploading to the cloud - Catch type errors and API misuse in Python trading algorithms before runtime execution - Provide parameter hints and documentation popups for Lean API methods in your editor - Support local development with type checking consistency across different environments ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type stubs for QuantConnect's Lean algorithmic trading engine, enabling IDE autocomplete and type checking for Python strategies. Yes, if you develop trading strategies on QuantConnect. The stubs are actively maintained with no known vulnerabilities, and install friction is low. Runtime dependencies (pandas, matplotlib) are standard libraries you likely already have. ## Install pip install quantconnect-stubs uv add quantconnect-stubs poetry add quantconnect-stubs ## Installing quantconnect-stubs Before you install: Low friction install with active maintenance. Last commit on 2026-05-12 and latest release on 2026-08-14 indicate ongoing development. License in practice: Licensed under Apache Software License (permissive), allowing free use, modification, and distribution with minimal restrictions. Quickstart: pip install quantconnect-stubs import quantconnect_stubs Verify before relying: - Whether stubs cover the full Lean API surface or only common members as documented - Compatibility with specific versions of QuantConnect's cloud environment - Whether type stubs work with all major Python IDEs and type checkers ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 161.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags quantconnect type stubs, lean algorithm type hints, quantconnect python autocomplete, algorithmic trading type checking, quantconnect ide support, python trading strategy types, quantconnect stubs, type-stubs, trading, quantconnect [View on SkillFed](https://skillfed.io/packages/quantconnect-stubs) · [View on PyPI](https://pypi.org/project/quantconnect-stubs/)