Thanks will try. One other thing I wanted to ask - if my strategy is based on 2h candles and an ema crossover / under strategy does that mean the algo will only be able to enter trades on a 2h candle close (so every 2 hours or can it flip into trades at any point in time?)
Yes, but it can manage your orders at any point in time. For example if your open-position price is $95 and current price is $100, it will submit a limit order, and once the price reaches that point and a position is opened, it will submit stop-loss and take-profit orders immediately if specified. Make sure to fully read the "strategy" section of the docs. The diagram, the events, ...
Also which part of the code do I enter the debug command, like this?
Run it like this:
backtest 2018-07-07 2020-05-01 --chart --debug
--debug itself is a flag. You don't have to write the