Issue in Datetime
I am not able to print the hour, minute and second on the backtrader. Can any one help me please.
I get the desired output(i.e date and time) with print(dataframe) but not with self.dataclose
def log(self, txt, dt=None): dt = dt or self.datas.datetime.datetime(0) print('%s, %s' % (dt.isoformat(), txt))
And please don't post pictures. Use text and backticks as it is described above.