Development Environment

LEAN Engine Versions


The latest master branch on the LEAN GitHub repository is the default engine branch that runs backtests, research notebooks, and live trading algorithms. The latest version of LEAN is generally the safest as it includes all bug fixes.

Change Branches

Follow these steps to change the LEAN engine branch that runs your backtests and live trading algorithms:

  1. Open a project.
  2. In the left navigation menu, click the QuantConnect icon.
  3. In the Project panel, click the LEAN Engine field and then click a branch from the drop-down menu.
  4. (Optional) Click About Version to display the branch description.
  5. If you want to always use the master branch, select the Always use Master Branch check box.
  6. Click Select.

Changing the Lean engine branch only affects the current project. If you create a new project, the new project will use the master branch by default.

Custom Branches

To create and use custom versions of LEAN, see Custom Docker Images.

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: