Genetic Algorithm using multiple cpu threads
Wayne Filkins 0 last edited by
I saw a couple of threads on using genetic algorithms with backtrader. Very interesting stuff. I'm currently using particle swarm optimization and it uses just 1 cpu thread (my cpu has 12) which is not ideal. I was wondering if anyone knows of any GA's or PSO which have been used with backtrader that use all cpu threads? Thanks!
Jonny8 last edited by
as far as I know backtrader uses automatically all CPUs.
If you are using Jupyter, then this limits the CPU usage.
Otherwise the package you are using might be limiting its multicore capabilities (i.e. optunity is as far as I know doing that)