how to inject look-back data to IBData ?
I am planning to use backtrader for IB live trading.
My strategy needs historical data upto 20 days ago (look-back) to start. simplified code in strategy looks like this:
look_back = 20 if len(data0 < look_back) : pass
I am trying not to wait 20 days (leave backtraders running for 20 days) until my strategy start to trade.
I do have historical data prior to live trade.
Is there any way to pre-populate (inject) 20 days of OHLC data to IBData before I start bt.run() ?