Tag: vectorization
-
NumPy Vectorization Cuts Cointegration Test Time by 8x
Nested loops in cointegration tests killed my backtest speed. NumPy matrix ops cut 47 seconds to 5.8 seconds โ here's the exact vectorization pattern.
Nested loops in cointegration tests killed my backtest speed. NumPy matrix ops cut 47 seconds to 5.8 seconds โ here's the exact vectorization pattern.