PnL ProfitEncyclopedia
🌐 English

🤖 Algorithmic & Quant Trading

Backtesting, strategy families, execution, bots, data and machine learning for systematic traders.

14 articles
Start here
Algorithmic Trading IntroWhat algorithmic trading is, how retail and institutional algo trading differ, the path from idea to live bot, common languages, and realistic expectations.
7 min read
BacktestingHow to backtest a trading strategy without fooling yourself: data quality, survivorship and look-ahead bias, costs, walk-forward testing and key metrics.
7 min read
OverfittingWhy most great backtests fail live: curve fitting, multiple testing, unstable parameters and the deflated Sharpe ratio, plus ways to avoid overfitting.
6 min read
Trend FollowingHow trend following works: time-series momentum, CTAs and managed futures, breakout and moving average systems, the Turtle traders, positive skew and drawdowns.
6 min read
Mean ReversionHow mean reversion trading works: short-term reversal, z-scores, Bollinger Band and RSI systems, negative skew, regime risk and the conditions where it fails.
7 min read
Pairs Trading & Stat ArbHow pairs trading and stat arb work: cointegration vs correlation, hedge ratios, spread z-scores, entry and exit rules, edge decay and the 2007 quant quake.
7 min read
Market MakingA textbook guide to market making: quoting both sides, spread capture, inventory skew, adverse selection, queue position, rebates and Avellaneda-Stoikov.
6 min read
Arbitrage StrategiesPure vs statistical arbitrage, index and ETF arb, merger arb, cross-exchange and triangular arb, basis trades, and why truly riskless arbitrage is rare.
6 min read
High-Frequency TradingWhat high-frequency trading firms do, co-location, the latency arms race, market making and latency arbitrage, the controversies, and why retail can't compete.
6 min read
Execution AlgorithmsHow execution algorithms work: TWAP, VWAP, POV and implementation shortfall, smart order routing, slippage measurement, and why execution drives returns.
7 min read
Building Trading BotsHow trading bots are built: data, signal, risk and execution layers, REST, WebSocket and FIX APIs, rate limits, API key security, kill switches and logging.
6 min read
Copy & Social TradingHow copy trading and social trading work, the survivorship and incentive problems behind leaderboards, how to judge a track record, and slippage for followers.
7 min read
Machine Learning in TradingHow machine learning is used in trading: supervised signals, features and labels, non-stationarity, overfitting, LLMs for news and sentiment, and realistic use.
7 min read
Market DataMarket data for traders: tick vs bar data, Level 1, 2 and 3 feeds, historical sources, costs and licensing, timestamps and clock sync, and data cleaning.
Educational content only. Nothing here is financial, investment, legal or tax advice. Trading carries a high risk of loss, and leveraged products can lose more than you deposit. Rules, fees and platform details change: check current terms with your broker, exchange or regulator before you trade.