I'm following the Backtesting part of the Usage Guide and I'm having trouble getting a moonshot backtest to work outside of JupyterLab.
QuantRocket and Interactive Brokers are configured correctly since I can collect data and query account balances, etc.
I've used a console in JupyterLab to prepare the data and I'm attempting to run the strategy code from PyCharm to run a backtest.
However the line, from moonshot import Moonshot
, gives the error: 'unresolved reference'.
When I try from quantrocket.moonshot import Moonshot
the error still applies to Moonshot.
Moreover, when I delve into the quantrocket.moonshot source code there are additional errors. For example, moonchart being an unresolved reference is the first.
How to run a moonshot backtest from an IDE?