1. Home
  2. Docs
  4. Quantopian code generation

Quantopian code generation

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.