For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
How to load data with a 60 min timeframe from a CSV file?
-
My data is on a 60 min timeframe.
I am not sure if I have to do :
timeframe = bt.TimeFrame.Days or
timeframe = bt.TimeFrame.Minutesand if I have to set a compression
Thanks
-
@vincere (I don't need any resampling)
-
@vincere said in How to load data with a 60 min timeframe from a CSV file?:
If yourdata is on a 60 min timeframe
than if you want your results to be correct, you may want to use
timeframe = bt.TimeFrame.Minutes
, nottimeframe = bt.TimeFrame.Days
. -
And
compression
has to obviously match the number of minutes the bars contain.