Only backtesting or also training? For training get a Ryzen, I7, or I9, with 16 or 32 threads. For only backtesting, the number of threads does not matter, you only need a CPU with high clock rate.