87

/ 100

GradeB

Well engineered. The main gap is a reproducible setup.

Top 18% of 5,156 graded repos

Lean Algorithmic Trading Engine by QuantConnect (Python, C#)

Top fixes

Highest-impact changes first, ranked by point weight

10 to address
  1. 1
    Tests18pt

    Wire your tests to a documented command (e.g. a test script in your build config) so the suite is reproducible.

  2. 2
    CI/CD14pt

    Add a lint step to catch style issues automatically.

  3. 3
    CI/CD14pt

    Upload coverage to Codecov, Coveralls, or report it with `--coverage` flags.

  4. 4
    Install and run instructions9pt

    Add a .env.example listing all required environment variables so contributors know what to set up.

Working through the fixes? Let every push regrade itself.

The free GitHub App rescans this repo on every push and posts the grade as a commit check, so the score climbs without coming back to rescan by hand.

Install the GitHub App

Scorecard

Every check, grouped by category and sorted worst-first

Documentation

94

Contributing guide5pt80

Contributing guide is detailed and thorough.

Install and run instructions9pt90

README documents how to install the project.

README12pt100

README is present.

License6pt100

Licensed under Apache-2.0.

Engineering

77

Reproducibility6pt10

No dependency lockfile found (−70 pts).

Enable and commit packages.lock.json so NuGet restores are repeatable.

Tests18pt80

Test files detected (Algorithm.CSharp/UniverseSelectionSymbolCacheRemovalRegressionTest.cs).

CI/CD14pt85

CI is configured (.github/workflows/api-tests.yml).

Linting and formatting5pt100

.NET formatting configured (.editorconfig).

Issue and PR templates6pt100

Issue or PR templates present.

Project health

100

Dependency manifest6pt100

Dependency manifest found (QuantConnect.Lean.sln).

Repository metadata5pt100

Repository has a description.

Activity5pt100

Actively maintained (pushed within the last month).

Housekeeping3pt100

.gitignore present.

Repository health signals

Activity, community, and responsiveness at scan time

Activity

  • 45 / 151
    Commits (30d / 90d)
  • 5,145
    Forks
  • 8
    Releaseslatest 9y ago

Community

  • 62% - Fair
    Community health
  • 3 bus factor
    authors own >50% of commits
  • 21,097
    Watchers

Responsiveness

  • 12d 4h
    Median issue response
  • 15h
    Median PR merge time
  • 244
    Open issues
Repository files54 root entries
  • .devcontainer
    Good: Environment pinned via .devcontainer/Dockerfile.
  • .github
    Good: CI is configured (.github/workflows/api-tests.yml).
    Good: Issue or PR templates present.
  • .nuget
  • .vs
  • .vscode
  • Algorithm
  • Algorithm.CSharp
    Good: Test files detected (Algorithm.CSharp/UniverseSelectionSymbolCacheRemovalRegressionTest.cs).
  • Algorithm.Framework
  • Algorithm.Python
  • AlgorithmFactory
  • Api
  • Brokerages
  • Common
  • Compression
  • Configuration
  • Data
  • Documentation
  • DownloaderDataProvider
  • Engine
  • Indicators
  • Launcher
  • LocalPackages
  • Logging
  • Messaging
  • Optimizer
  • Optimizer.Launcher
  • Queues
  • Report
  • Research
  • Tests
  • ToolBox
  • .dockerignore
  • .editorconfig
    Good: .NET formatting configured (.editorconfig).
  • .gitattributes
  • .gitignore
    Good: .gitignore present.
  • .travis.yml
  • ci_build_stubs.sh
  • compare_benchmarks.py
  • CONTRIBUTING.md
    Good: Contributing guide is detailed and thorough.
    Issue: Contributing guide lacks a setup section (−12 pts).Fix: Show new contributors how to get a local dev environment running.
    Good: Contributing guide describes code style expectations.
    Issue: Contributing guide lacks a testing section (−8 pts).Fix: Show contributors how to run the test suite (e.g. npm test, pytest, cargo test).
    Good: Contributing guide describes the PR/review workflow.
    Good: Contributing guide includes code examples.
  • Dockerfile
  • DockerfileJupyter
  • DockerfileLeanFoundation
  • DockerfileLeanFoundationARM
  • find_datasource_repos.py
  • google9161359af9633398.html
  • lean.ico
  • LICENSE
    Good: Licensed under Apache-2.0.
  • mypy.ini
  • QuantConnect.Lean.sln
    Good: Dependency manifest found (QuantConnect.Lean.sln).
  • QuantConnect.Lean.sln.DotSettings
  • readme.md
    Good: README is present.
    Good: README is well structured with multiple sections.
    Good: README includes screenshots or visuals. Great for first impressions.
    Good: README has code examples.
    Good: README links to a live demo or deployed app.
    Good: README includes status badges.
    Good: README documents how to install the project.
    Good: README documents how to run the project.
  • rebase_organization_branches.sh
  • run_benchmarks.py
  • run_syntax_check.py
RepoGrade badge preview

Add this badge to your README

It updates automatically each time the repo is re-graded.

[![RepoGrade](https://www.repo-grade.com/api/badge/quantconnect/lean)](https://www.repo-grade.com/report/quantconnect/lean)

More graded C# repos