For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Data Delay after launching live trading using backtrader
-
Consider this scenario, I am trying to backtest a simple sma crossover strategy with moving average of 30 days. It will be fine in backtesting the strategy and backtrader actually waits for 30 days before it starts trading. But what about when you make that strategy live? You already have enough data to start trading but when we run the same code for live trading, is it gonna wait for 30 days to get sma values? If so, what should I do to use all the past available data on the first day of running the code live?
-