For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Issue in Datetime
-
Hi ,
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[0]
-
@xxx change
log
function todef log(self, txt, dt=None): dt = dt or self.datas[0].datetime.datetime(0) print('%s, %s' % (dt.isoformat(), txt))
And please don't post pictures. Use text and backticks as it is described above.