QuantRocket logo

Disclaimer

Moonshot Strategy Code

Because Moonshot is Pandas-based, our interactive strategy code can readily be transferred to a Moonshot strategy. The file fx_bizday.py contains our transferred strategy code. We've added FX commissions and one-way slippage of 0.1 basis points.

Install strategy file

Moonshot looks for strategies inside the "moonshot" directory, so execute the following cell to "install" the strategy by moving the file to that location:

Run backtest

Next we can run the backtest:

And view the performance:


Next Up

Part 5: Parameter Scans