We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimization of complex strategies takes too much time. Adding multiprocessing can solve the problem.
backtrader.cerebro can be used. definition.
backtrader.cerebro
The text was updated successfully, but these errors were encountered:
Hi @ahmadsl the default actually becomes all available cores as stated in the link you provided.
This is further discussed in the backtrader docs here: https://www.backtrader.com/blog/posts/2015-07-23-multicore-optimization/multicore-optimization/
maxcpus = None -> Use all available CPUs maxcpus = 1 -> Do not run multicore maxcpues = 2 … -> Use the indicated number of cores
If you have other suggestions for optimization please do let us know! Thanks :)
Sorry, something went wrong.
@mikeejazmines, thanks for your reply. But I want to config this in Fastquant wrapper.
@ahmadsl my bad! Understood. I have created the PR here #402 I will just test it and merge it when done
Successfully merging a pull request may close this issue.
Optimization of complex strategies takes too much time. Adding multiprocessing can solve the problem.
backtrader.cerebro
can be used. definition.The text was updated successfully, but these errors were encountered: