1. Home
  2. Docs
  3. DLPAL DQ
  4. Quantopian code generation

Quantopian code generation

Update on November 18, 2024: The Quantopian code was retired, and in its place we added Model Logic code in plain English.

From the scan, database, or signal tracking results select the strategies for code generation and click Quantopian Code.

An example of Quantopian code generation for selected strategies is shown below.

The code generated may be saved by clicking on File and then Save.

You may copy and paste the code into a Quantopian strategy. Indentation is taken care off in the code but a few adjustments may be required, such as changing the default symbol.

Note: In Quantopian strategy backtests the exits are evaluated on 1-minute data.