@ab_trader Definitely a step in the right direction! I've updated my code:
data = btfeeds.GenericCSVData(
dataname='ada.csv',
fromdate=datetime.datetime(2000, 1, 1),
todate=datetime.datetime(2018, 12, 31),
timeframe=bt.TimeFrame.Minutes, compression=240,
nullvalue=0.0,
dtformat=('%Y-%m-%d %H:%M:%S'),
datetime=0,
high=1,
low=2,
open=3,
close=4,
volume=-1,
openinterest=-1
)
and now, my buy creates/buy executes are acting as expected (the timing seemed to be "off" before). However, the printout remains unchanged; backtrader still seems to ignore my hours at least in the cosmetic sense. Is there another setting that I need to add to make sure the time component gets printed out?
Thanks!