I am trying to backtest a strategy with Backtrader (not the first time) and have a problem while printing date & time for each iteration (time stay on 23:59:59). Here are the first lines of my dataset:
What is printed on the console :
And finally how I load my data :
data = bt.feeds.GenericCSVData(dataname="BTCUSD_15MIN.csv", datetime=0, fromdate=datetime.datetime(2015,1,13), todate=datetime.datetime(2015,1,15), open=1, high=2, low=3, close=4, openinterest=-1, time=-1, volume=-1, dtformat="%Y-%m-%d %H:%M:%S")
Has someone already got this issue? Thanks a lot!