Live trading, avoiding sending orders for historical data
I love backtrader!
I've got a strategy that requires the last X weeks of data to operate. However, I'd like to pass in X*2 weeks when live trading just for fun (bear with me).
The problem is that the strategy begins issuing orders while the historical data is being loaded. I nearly had a heart attack, but thankfully it was against a demo account.
Is there a way to avoid sending orders until the
next(self)function is called only for the live session?
Thanks in advance!
Nevermind, found this: https://community.backtrader.com/topic/688/backfilling-live-trading/5