For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
Question about cerebro.resampledata()
-
When I try to resample the 1 minute data to daily data. My daily data graph only got one bar output, which is weird. I double checked my code and don't find any mistake. Can someone help me check my code or tell me what is going on?
-
try
cerebro.plot(style='bar')
-
@gogoway771072 I tried it. But problem is still there.
-
@gogoway771072 I figured it out. The reason is my backtrader version is 1.9.66.122. After I upgrade it to 1.9.76.123. The problem solved.
Anyway, Thx for help