← Back to articles
Reading Paths

Collections

Curated reading paths through the blog, ordered from basics to advanced.

Backtesting Without Fooling Yourself
🎯
11 parts

Backtesting Without Fooling Yourself

A step-by-step path from what your backtest really optimizes to proving an edge survives overfitting, multiple testing, and live execution. Read top to bottom — each part builds on the last.

  1. 01Objective-Function Design: The Metric You Optimize Secretly Picks Your Strategy
  2. 02Proving No Look-Ahead in Multi-Timeframe Backtests: Perturb the Future, Prove the Past Can't See It
  3. 03Look-Ahead Bias: How a One-Bar Mistake Manufactures a Sharpe of 15 From Pure Noise
  4. 04Walk-Forward Optimization: The Only Honest Strategy Test
  5. +7 more
Open collection →
High-Performance Backtest Engines
⚡
11 parts

High-Performance Backtest Engines

How to build a backtest engine that runs hundreds of times faster without changing a single PnL number — data layout, caching, adaptive resolution, and architecture, from first speedups to production internals.

  1. 01The Backtest Speed Ladder: 298x on a Laptop CPU, Identical PnL to the Last Trade
  2. 02The Framework Tax: When Your Backtest Library Is Slower Than a Naive Pandas Loop
  3. 03Aggregated Parquet Cache: How to Speed Up Multi-Timeframe Backtests by Hundreds of Times
  4. 04The Two-Axis Parameter Space: Why Most of Your Sweep Should Be Nearly Free
  5. +7 more
Open collection →
Complex Arbitrage in Rust
🔗
6 parts

Complex Arbitrage in Rust

A six-part build-up of multi-leg crypto arbitrage — from negative-cycle detection to the linear algebra, copulas, and machine learning behind it, ending in low-latency Rust execution.

  1. 01Graph Algorithms for Arbitrage Detection: From Bellman-Ford to RICH
  2. 02Futures-Spot Arbitrage: From Cash-and-Carry to DeFi-CeFi
  3. 03Matrices, Tensors, and Tropical Algebra: Linear Algebra for Arbitrage Detection
  4. 04Vine Copulas for Arbitrage: Modeling High-Dimensional Dependencies
  5. +2 more
Open collection →
Order Book & Market Microstructure
📖
12 parts

Order Book & Market Microstructure

How the order book really works — accessing the data, reading queue position, rebuilding bars from order flow, and modeling it with deep learning and Hawkes processes.

  1. 01CCXT: How WebSocket Orderbook Methods Really Work
  2. 02Order Types in Algorithmic Trading: From Limit with Chasing to Virtual Orders
  3. 03Queue Inside the Wall: Analyzing Order Position in Order Book Density
  4. 04Bar Types and Aggregation Methods for Algorithmic Trading
  5. +8 more
Open collection →
Portfolio Construction & Risk
📊
5 parts

Portfolio Construction & Risk

From Markowitz to production HRP + CVaR: how to allocate across crypto assets, model tail dependence with copulas, and size positions without blowing up.

  1. 01Markowitz Portfolio Theory for Crypto: From Zero to Hero
  2. 0212 Portfolio Optimization Algorithms, Compared: HRP, Black-Litterman, NCO and Beyond
  3. 03Inside Our House Algorithm: HRP + Long/Short + CVaR with Hull-White
  4. 04Copula Models for Joint Risk Modeling in Crypto Portfolios
  5. +1 more
Open collection →
Risk & Position Sizing
🛡️
4 parts

Risk & Position Sizing

Build position sizes from drawdown math, realistic trading costs, and uncertainty in backtest results before applying Kelly.

  1. 01Loss-Profit Asymmetry: The Math That Kills Your Deposit
  2. 02Slippage curves, not slippage constants: cost models that survive contact with live trading
  3. 03Monte Carlo Bootstrap: How to Get Confidence Intervals for a Backtest in 10 Lines of Code
  4. 04The Kelly Criterion for Strategies: How to Size Positions and Allocate Capital
Open collection →
Statistical Arbitrage & Pairs Trading
🔀
5 parts

Statistical Arbitrage & Pairs Trading

Trade the spread between correlated assets — from the distance approach to cointegration and Kalman filters, then dynamically combining mean reversion with momentum.

  1. 01Distance Approach in Pairs Trading: Implementation and Analysis with Rust
  2. 02Statistical Arbitrage and Pairs Trading in Crypto Markets: From Cointegration to the Kalman Filter
  3. 03Signal Correlation: How Many Pairs to Monitor
  4. 04Dynamically Combining Mean Reversion and Momentum Strategies in Statistical Arbitrage: Mathematical Foundations and Practical Implementation
  5. +1 more
Open collection →
Deep Learning for Markets
🧠
4 parts

Deep Learning for Markets

Neural forecasting for crypto — transformers, diffusion models, and foundation models, and how conformal prediction keeps their uncertainty honest.

  1. 01Temporal Fusion Transformers for Multi-Horizon Portfolio Forecasting
  2. 02Diffusion Models vs Cryptocurrency Anarchy: Why DDPM Can Predict Bitcoin Crashes Better Than Your Astrologist
  3. 03Kronos: A Foundation Model That Teaches Candlestick Charts to Speak Transformer Language
  4. 04Conformal Prediction for Risk-Aware Position Sizing
Open collection →
AI Agents for Trading
🤖
5 parts

AI Agents for Trading

The agentic-AI stack for markets — multi-agent frameworks, open-source hedge funds, and LLMs that mine alpha from earnings calls.

  1. 01Revolution in Investment Portfolio Management with Agentic AI
  2. 02TradingAgents: Multi-Agent AI Framework That Models a Hedge Fund
  3. 03AI4Finance Foundation: The FinGPT, FinRL, and FinRobot Ecosystem for Algo-Trading
  4. 04AI Hedge Fund: A Multi-Agent Fund Where AI Analysts Vote on Trades
  5. +1 more
Open collection →
QuestDB for Algorithmic Trading
🗄️
3 parts

QuestDB for Algorithmic Trading

Stand up a time-series stack for trading on QuestDB — from architecture to the SQL that matters, to a production deployment.

  1. 01QuestDB for Algorithmic Trading: Architecture That Speaks the Language of Markets
  2. 02QuestDB for Algorithmic Trading: SQL Extensions That Change the Game
  3. 03QuestDB for Algorithmic Trading: From Order Books to Production Architecture
Open collection →
Low-Latency Trading Infrastructure
🛰️
4 parts

Low-Latency Trading Infrastructure

The plumbing under an HFT stack — how components talk (WebSocket, FIX, gRPC, Aeron), messaging on Aeron and Zig, and a C++ FIX/FAST scalper.

  1. 01Data Communication in Algo Trading Systems: A Technology Overview
  2. 02Aeron: Inside the Messaging System That Powers Half of the HFT Industry
  3. 03ZigBolt: Why We Built Our Own Aeron in Zig and Hit 20 Nanoseconds Per Message
  4. 04Developing a Simple C++ Scalper Using FAST/FIX: Step-by-Step Guide
Open collection →
Execution & Market Making
⚙️
11 parts

Execution & Market Making

From TWAP/VWAP and Almgren-Chriss to TCA, slippage models, and the Avellaneda-Stoikov market maker — how to turn a signal into fills without paying the spread twice.

  1. 01TWAP vs VWAP vs POV: picking an execution benchmark (and knowing when each lies to you)
  2. 02Almgren-Chriss Without the Hand-Waving: Optimal Execution You Can Implement in an Afternoon
  3. 03Inside the slice: child-order tactics between your scheduler and the exchange
  4. 04Smart Order Routing in Crypto: One Order, Twelve Venues, No NBBO
  5. +7 more
Open collection →
Onchain & DeFi Quant
⛓️
9 parts

Onchain & DeFi Quant

Quantitative DeFi from first principles — MEV and sandwich attacks, atomic arbitrage, liquidation cascades on lending protocols, and LP profitability on Uniswap v3.

  1. 01MEV anatomy: sandwiches, frontrunning, and the dark forest of the mempool
  2. 02The MEV supply chain: PBS, MEV-Boost, and who actually captures the value
  3. 03On-chain arbitrage: atomic cycles, flash loans, and the auction you have to win
  4. 04Liquidations on-chain: Aave and Compound mechanics, and the bot business around them
  5. +5 more
Open collection →
Causality & Lead-Lag in Markets
🔬
7 parts

Causality & Lead-Lag in Markets

Who moves whom — Granger causality, transfer entropy, PCMCI discovery, and the causal ML toolbox (double ML, causal forests, synthetic control) applied to crypto markets.

  1. 01Toda-Yamamoto vs Differenced Granger: Does the BTC Lead-Lag Survive?
  2. 02Transfer Entropy: Which Way Does Information Flow Between Crypto Assets?
  3. 03PCMCI: Causal Discovery in Multivariate Crypto Time Series
  4. 04Causal Forests for Heterogeneous Treatment Effects in Trading
  5. +3 more
Open collection →
Volatility Modeling & Regimes
🌊
5 parts

Volatility Modeling & Regimes

Forecast volatility with the GARCH family — asymmetry and leverage effects, dynamic correlations, vol targeting — then detect market regimes with HMMs and trade adaptively.

  1. 01GARCH(1,1): Forecasting Crypto Volatility
  2. 02Asymmetric and Heavy-Tailed GARCH: EGARCH, GJR, and Student-t
  3. 03DCC-GARCH: Dynamic Correlations for Pairs and Portfolio Risk
  4. 04Volatility Targeting and Trading with GARCH Forecasts
  5. +1 more
Open collection →
Modern ML for Trading
🧬
15 parts

Modern ML for Trading

The full gradient-boosting-to-neural-operator toolkit — ensembles, AutoML, probabilistic forecasting, distillation and pruning for latency, plus physics-informed architectures like Neural ODEs and Fourier operators.

  1. 01XGBoost for Return Direction: Class Imbalance and Decision Thresholds
  2. 02Ensemble Methods: Combining Weak Learners for Robust Alpha
  3. 03AutoML for Systematic Trading Pipelines
  4. 04Multi-Task Learning for Simultaneous Price, Volume, and Volatility Prediction
  5. +11 more
Open collection →