Lesson 6 of 10 0% complete
Lesson 6 12 min read

Advanced Risk Models

VaR, Monte Carlo simulation, stress testing, and correlation risk

The 1-2% rule is a good start. It keeps beginners alive long enough to learn. But as you scale — more capital, more strategies, more positions running simultaneously — you need risk models that capture the full picture. Institutional risk management doesn't rely on simple percentage rules. It uses mathematical frameworks that quantify probability, account for correlation, and stress-test against extreme scenarios. Here's how to bring those tools into your trading.

Value at Risk (VaR)

Value at Risk answers a specific question: "What's the maximum I can expect to lose over a given period, with a given level of confidence?" It's the foundational metric in institutional risk management.

A VaR calculation might tell you: "There's a 95% probability that my portfolio won't lose more than $5,000 in a single day." The remaining 5% is where things go really wrong — VaR doesn't say what happens there, just that you're outside normal expectations.

Three methods for calculating VaR:

1. Historical VaR: Take your actual returns over a historical period (say, 500 trading days). Sort them from worst to best. The 5th percentile worst day is your 95% VaR. If your worst 25 days (5% of 500) all showed losses exceeding $3,000, your daily 95% VaR is $3,000.

Advantage: uses real data, captures fat tails and non-normal distributions. Disadvantage: assumes the future resembles the past. If you're using 2019 data but we're in a 2020-style pandemic, your VaR is going to be too optimistic.

2. Parametric (Variance-Covariance) VaR: Assumes returns follow a normal distribution. You calculate the mean return and standard deviation of your portfolio, then use statistical tables to find the loss at your confidence level. For a 95% VaR: Mean - (1.645 × Standard Deviation).

Advantage: fast to calculate, easy to update. Disadvantage: normal distributions underestimate tail risk. Forex returns have fatter tails than a normal distribution predicts, meaning extreme events happen more frequently than the model expects. The 2015 SNB event, for example, was a 20+ standard deviation move — essentially "impossible" under normal distribution assumptions.

3. Monte Carlo VaR: Generates thousands of random scenarios based on your portfolio's statistical properties (mean, volatility, correlations). Each scenario produces a hypothetical return. After running 10,000 simulations, you sort the outcomes and find the 5th percentile worst case.

Advantage: handles complex portfolios with multiple positions and non-linear instruments (options). Can incorporate non-normal distributions. Disadvantage: computationally intensive and sensitive to the assumptions built into the simulation.

Implementing VaR for Your Trading

You don't need a quantitative finance PhD to use VaR. Here's a practical approach:

  1. Export your daily P&L history from your broker (at least 100 trading days, preferably 250+)
  2. Calculate the daily percentage return of your equity curve
  3. Sort returns from worst to best
  4. Your 95% daily VaR is the return at the 5th percentile
  5. Multiply by your current account equity to get the dollar VaR

Example: You have a $50,000 account. Your 5th percentile daily return over the past year was -2.3%. Your daily 95% VaR is $50,000 × 2.3% = $1,150. On 95% of days, you should lose less than $1,150. If you're uncomfortable with that number, you need to reduce position sizes or the number of concurrent positions.

Scaling VaR across time periods: Daily VaR can be approximated to weekly or monthly VaR using the square root of time rule: Weekly VaR ≈ Daily VaR × √5. Monthly VaR ≈ Daily VaR × √22. This approximation works reasonably well for moderate timeframes but breaks down for longer periods.

Monte Carlo Simulation in Practice

Monte Carlo simulation is powerful for answering "what if" questions about your trading system:

  • What's the probability of a 20% drawdown over the next year?
  • If I increase position sizes by 50%, how does my worst-case scenario change?
  • What's the range of outcomes for my strategy over 1,000 trades?

Building a basic Monte Carlo simulation:

  1. Take your historical trade results (net P&L per trade)
  2. Randomly sample trades with replacement to create a simulated equity curve
  3. Repeat 1,000-10,000 times, each time creating a different random sequence
  4. Analyse the distribution of outcomes: median return, worst-case drawdown, probability of ruin

The insight from Monte Carlo: the same strategy, with the same win rate and average win/loss, can produce wildly different equity curves depending on the sequence of wins and losses. Your backtest might show a smooth equity curve, but Monte Carlo reveals that a different order of the same trades could have produced a devastating drawdown in the middle.

Tools for running Monte Carlo simulations: Excel (with VBA or built-in random functions), Python (numpy and pandas make this straightforward), R, or dedicated tools like Edgewonk and StrategyQuant. Even a Google Sheets random sampling formula can work for basic simulations.

Stress Testing

VaR tells you about normal conditions. Stress testing tells you about abnormal ones — the events that VaR specifically doesn't capture.

Historical stress testing: Apply past crisis scenarios to your current portfolio. How would your positions perform during:

  • The 2015 SNB shock (EUR/CHF dropped 30% in minutes)
  • The 2016 Brexit vote (GBP/USD dropped 1,800 pips overnight)
  • The March 2020 COVID crash (wild swings across all asset classes)
  • The 2022 UK gilt crisis (GBP/USD flash crash)
  • The 2023 banking crisis (SVB, Credit Suisse)

Take the price movements from these events and calculate the impact on your specific positions. If the answer is "I'd lose 50% of my account," your risk management needs adjustment — even if normal VaR says you're fine.

Hypothetical stress testing: Invent scenarios that haven't happened yet but could. What if the Fed raised rates by 100bps in an emergency meeting? What if a major broker defaulted? What if your primary pair's daily range tripled overnight? Model these extreme scenarios and check your exposure.

Reverse stress testing: Start with the outcome and work backwards. "What scenario would cause me to lose 30% of my account in a day?" This helps identify your hidden vulnerabilities — the positions, correlations, or concentrations that could blow up under specific conditions.

Correlation Risk

One of the most dangerous blind spots in risk management is assuming your positions are independent. They're not. Currency pairs are correlated, and those correlations can intensify during crises.

Understanding correlation:

  • Correlation of +1.0: two pairs move perfectly in sync
  • Correlation of -1.0: two pairs move perfectly opposite
  • Correlation of 0: no relationship

EUR/USD and GBP/USD typically show +0.80 to +0.90 correlation. If you're long both, you effectively have double the exposure to USD weakness. What feels like two independent trades is really one trade with twice the risk.

EUR/USD and USD/CHF typically show -0.85 to -0.95 correlation. Going long on both is nearly hedged — profits on one roughly offset losses on the other. This isn't a trade; it's an expensive way to earn the spread difference.

Correlation breakdown during crises: Historically stable correlations can collapse during market stress. Pairs that normally move independently might suddenly become correlated as all markets sell off together (the "everything correlates to 1" phenomenon during panics). Your risk models should account for this by using stress-period correlations, not just normal-period ones.

Practical correlation management:

  • Calculate correlation matrices for your traded pairs using at least 60 days of daily returns
  • Treat highly correlated positions (|r| > 0.7) as a single risk unit when calculating total exposure
  • Limit total portfolio heat (sum of all position risks) to 5-6% maximum, adjusted for correlation
  • Recalculate correlations monthly — they shift over time

Expected Shortfall (CVaR)

VaR has a critical flaw: it tells you the threshold of the worst 5% of days but nothing about how bad those days actually are. Your 95% daily VaR might be $1,000, but the average loss on those worst 5% days could be $3,000 or $10,000.

Expected Shortfall (also called Conditional VaR or CVaR) fills this gap. It's the average loss in the tail — the mean of all losses that exceed the VaR threshold. If your 95% VaR is $1,000 and your Expected Shortfall is $2,500, it means that when things go wrong beyond VaR, they tend to go $2,500 wrong on average.

Expected Shortfall is considered a superior risk measure by regulators (Basel III requires it for banks) because it captures tail severity, not just tail probability. Calculate it alongside VaR for a more complete risk picture.

Building Your Risk Dashboard

Professional risk management isn't a one-time calculation — it's an ongoing monitoring system. Build a dashboard (spreadsheet or custom tool) that tracks:

  • Daily VaR (rolling 250-day historical)
  • Current exposure (total position size as % of equity)
  • Correlation matrix of open positions
  • Maximum drawdown (rolling 30/60/90 days)
  • Sharpe ratio (risk-adjusted return, target > 1.5)
  • Win rate and average R:R (rolling 50/100 trades)
  • Concentration risk (% of exposure in any single pair or correlated group)

Review it daily. When metrics drift outside your comfort zone — drawdown exceeding 15%, VaR spiking, concentration in one pair exceeding 40% — reduce risk before waiting for the market to punish you.

Advanced risk models don't replace judgment — they inform it. The goal isn't to optimise risk to zero (that would mean not trading) but to understand precisely how much risk you're taking and whether you're being compensated for it.

Next lesson: building custom tools — APIs, automated alerts, and bespoke dashboards that give you an informational edge.

💡

Key Takeaway

VaR, Monte Carlo simulation, and stress testing move your risk management from rules of thumb to quantitative rigour. Correlation risk is the biggest blind spot — highly correlated positions multiply your exposure even when they look like separate trades.