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 add a big data (over limit the memory) to Backtrader(batch or else?)
-
I got minutes data and it's big, I got a 32G memory,but minitus data is 200G,
if I backtest with 1year on every run,and how to I get a continues result of backtest? -
try passing exactbars=True to cerebro
-
@dark_light said in how to add a big data (over limit the memory) to Backtrader(batch or else?):
32G memory,but minitus data is 200G
how many instruments are you going to test simultaneously?
AFAIU 1 min data for a single instrument per year will take ~5 MB in memory ( 20B per bar * 60 (min per hour) * 16 (hours in ext session) * 252 (trading days in year)).
-