Skip to main content
AI Fin Hub

Guides

Task-first how-to's for the work quants and AI-in-markets engineers actually do. Each guide lists prerequisites, walks the steps, links the tool that does the heavy lifting, and names the mistakes that quietly ruin the result.

Risk & portfolio construction 8

  • How to Backtest a Value-at-Risk Model

    Backtest a value-at-risk model: count breaches, run the Kupiec frequency test and the Christoffersen independence test, and read clustered breaches.

    8-minute read

  • How to Build an Efficient Frontier

    Build an efficient frontier: estimate expected returns and the covariance matrix, solve minimum-variance portfolios, and handle estimation error.

    8-minute read

  • How to Calibrate Probability Forecasts

    Calibrate probability forecasts: score with Brier and log loss, read a reliability diagram, apply Platt or isotonic recalibration, confirm the fix.

    8-minute read

  • How to Choose a Risk-Adjusted Return Metric

    Choose a risk-adjusted return metric by matching what it penalizes to the risk you care about: Sharpe, Sortino, Calmar, Omega, information ratio.

    8-minute read

  • How to Choose Between Sharpe and Sortino

    Choose between Sharpe and Sortino by matching the metric to your returns: Sharpe for symmetric returns, Sortino when downside is the concern.

    7-minute read

  • How to Estimate Drawdown Recovery Time

    Estimate drawdown recovery time from a strategy's return moments: run a Cornish-Fisher Monte Carlo, read the recovery percentiles, plan for the tail.

    8-minute read

  • How to Read Options Greeks

    Read the options Greeks in plain terms: delta, gamma, theta, vega, and rho, what each measures, how they interact, and how to manage a position.

    8-minute read

  • How to Size Positions with Kelly Under Uncertainty

    Size positions with the Kelly criterion when your edge is uncertain: estimate edge and variance, apply fractional Kelly, and stress-test the drawdown.

    9-minute read

Backtesting & validation 6

  • How to Avoid Backtest Overfitting

    Avoid backtest overfitting with a practical workflow: limit trials, hold out data, measure the probability of overfitting, prefer robust rules.

    8-minute read

  • How to Compute a Deflated Sharpe Ratio

    Compute a deflated Sharpe ratio step by step: gather the inputs, count trials, adjust for skew and kurtosis, and read the probability the edge is real.

    8-minute read

  • How to Generate Synthetic Market Data for Testing

    Generate synthetic market data for testing: choose a process that captures fat tails and volatility clustering, then use it without overfitting.

    8-minute read

  • How to Run Walk-Forward Validation

    Run walk-forward validation: choose anchored or rolling windows, set fit and test lengths, re-optimize per window, and aggregate out-of-sample results.

    8-minute read

  • How to Test a Pair for Cointegration

    Test a pair for cointegration with Engle-Granger: estimate the hedge ratio, run an ADF test on the residual, measure the half-life, validate it.

    9-minute read

  • How to Validate a Trading Strategy

    A step-by-step process for validating a trading strategy without fooling yourself: out-of-sample testing, trial accounting, deflated Sharpe, and a VaR backtest.

    8-minute read

Market microstructure 2

  • How to Backtest with Realistic Slippage

    Backtest with realistic slippage: model the spread, temporary and permanent market impact, latency, and partial fills so paper returns survive live.

    9-minute read

  • How to Choose a Market Data Vendor

    Choose a market data vendor by matching coverage, resolution, and history to your strategy, then comparing total cost of ownership across vendors.

    9-minute read

AI in markets 17

See also: Checklists, All tools, Research.