Tag: Backtesting
-
Backtrader vs QuantConnect vs Zipline: Setup Speed Test
Compare Backtrader, QuantConnect, and Zipline setup times. Installation benchmarks reveal the fastest path to start algorithmic trading today.
-
5 NumPy Tricks That Cut Portfolio Backtest Time by 10x
Cut backtest runtime from 45 minutes to 4 with stride tricks, vectorized position logic, and array broadcasting. Real before/after benchmarks.
-
Why Backtesting Returns Lie: 5 Overfitting Traps
Your 47% backtest return probably measures noise. Five overfitting traps that turn algo strategies into expensive lessonsโwith fixes.
-
Stock Data API Debugging: 5 Silent Failures You’ll Hit
Stock APIs return 200 OK with corrupt data. Detect split adjustments, survivorship bias, and timezone drift before they ruin your backtest.
-
Deep Learning for Algorithmic Trading: From LSTM to Transformers
Compare LSTM vs Transformer for stock prediction: 2-year backtest on S&P 500 with Sharpe ratios. Complete training and signal generation code.
-
Backtesting Frameworks: Building Your First Trading Strategy
Most backtests lie about profitability through lookahead bias. Build a point-in-time engine that doesn't cheat on order fills or data access.
-
Getting Started with Quantitative Investment in Python
Build a quant trading infrastructure in Python: data pipelines, log return calculations, and backtesting that includes transaction costs.
-
Advanced Trading Bot Features: Risk Management and Backtesting
Avoid the Kelly Criterion trap in crypto bots. Walk-forward backtesting + slippage models reveal what actually works for position sizing.