QuantRocket logo

Disclaimer

Zipline Strategy Code

The strategy code is provided in sell-gap.py.

Install strategy file

To "install" the strategy, execute the following cell to move the strategy file to the /codeload/zipline directory, where Zipline looks:

Strategy overview

A summary of functions in the strategy file is provided below:


Next Up

Part 5: Backtest