Tag: cointegration
-
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.
-
Pairs Trading Bot: Cointegration Test to Live Orders
Build a pairs trading bot from cointegration testing to live execution. Python stat arb strategy with Johansen test and automated order flow.
-
Pairs Trading Is Dead (Unless You Know Where to Look)
Classic equity pairs trading is arbitraged out, but Kalman-filtered cross-asset pairs and multi-leg baskets still show alpha in these 3 markets.