@run-out Thanks for pointing out. Different people may have different interpretations from the layout of these two sentences. You can read the first one as the latest update or vice versa. Since there were no timestamps for the notes, this led to totally different understandings.
Btw, I would give a try of OCO order on IB and see if it can work out.
@MuSaCN said in How does the backtrader get the cash or value of each step?:
After this code, what can I do to get it?
one of the ways is using debugging tools get into results variable and check what data it contains.
It seems Backtrader is not compatible with Dask.
Dask version not working:
with ProgressBar(): # Backtrader is not compatible with Dask
stats = db.from_sequence(params_list).map(run_strategy).compute()
Plain multiprocessing version works:
with multiprocessing.Pool(os.cpu_count()) as p:
stats = p.map(run_strategy, params_list)