Case Study 2: Stress Testing Through a Black Swan Event
Overview
This case study models the impact of an unexpected "black swan" event on a prediction market portfolio. We start with a well-diversified portfolio similar to the one constructed in Case Study 1, then simulate a major geopolitical shock that sends correlations spiking, probability estimates shifting, and markets into turmoil. We track the portfolio through the initial shock, the drawdown period, and the recovery, demonstrating how pre-committed risk management rules determine whether the trader survives.
The event is modeled on the pattern of real historical shocks: the 2016 U.S. election surprise, the onset of COVID-19, and the Brexit referendum --- events that prediction markets priced as highly unlikely until they happened.
Initial Portfolio State
Portfolio Before the Shock
The trader has been operating for 8 weeks with the following portfolio and bankroll history:
Bankroll trajectory (weeks 1-8):
| Week | Bankroll | Return | Cumulative | Status |
|---|---|---|---|---|
| 0 | $30,000 | -- | 0.0% | Start |
| 1 | $30,420 | +1.4% | +1.4% | Normal |
| 2 | $30,750 | +1.1% | +2.5% | Normal |
| 3 | $31,288 | +1.8% | +4.3% | Normal |
| 4 | $30,902 | -1.2% | +3.0% | Normal |
| 5 | $31,524 | +2.0% | +5.1% | Normal |
| 6 | $31,960 | +1.4% | +6.5% | Normal |
| 7 | $32,315 | +1.1% | +7.7% | Normal |
| 8 | $32,700 | +1.2% | +9.0% | Normal (new peak) |
The trader has achieved a 9.0% cumulative return over 8 weeks, with a smooth equity curve and no drawdown exceeding 1.2%. The drawdown monitor shows all-clear status with full position sizing.
Active Portfolio Composition (Week 8)
The portfolio holds 42 active positions (8 from the original 50 have resolved profitably and been replaced). Deployed capital: $22,890 (70% of $32,700).
Category breakdown:
| Category | Allocation | # Positions | Notes |
|---|---|---|---|
| Politics | 16.8% | 10 | Including 4 correlated election markets |
| Economics | 18.5% | 9 | GDP, employment, Fed decisions |
| Sports | 14.2% | 9 | Spread across 5 sports |
| Entertainment | 9.8% | 6 | Low correlation to everything |
| Science/Tech | 6.3% | 5 | Diverse tech markets |
| Weather | 4.4% | 3 | Seasonal markets |
| Total | 70.0% | 42 |
The Black Swan Event
Week 9: The Shock
On a Tuesday morning of Week 9, an unexpected geopolitical crisis erupts. A major international incident creates immediate and widespread uncertainty:
- A military confrontation between two major powers escalates rapidly
- Global financial markets drop 4% within hours
- Emergency government sessions are convened
- Oil prices spike 15% in a single day
- Consumer and business confidence metrics are expected to collapse
This event was not on anyone's radar. No prediction market had priced it in. The market-implied probability of such an event within this quarter was effectively zero.
Immediate Market Impact
The geopolitical shock propagates through the portfolio in three distinct waves:
Wave 1 (Hours 1-4): Direct impact on political and economic markets
The crisis directly affects government decision-making, economic expectations, and policy paths:
| Position | Pre-Shock Price | Post-Shock Price | Change | Direction |
|---|---|---|---|---|
| P7 (Bill X passes) | 0.35 | 0.22 | -0.13 | Bill delayed indefinitely |
| P8 (Bill Y passes) | 0.50 | 0.35 | -0.15 | Legislative focus shifts |
| P9 (Approval > 45%) | 0.62 | 0.55 | -0.07 | Rally-around-flag offset by fear |
| P11 (UN Resolution) | 0.48 | 0.25 | -0.23 | Security Council deadlocked |
| P12 (Treaty ratified) | 0.30 | 0.15 | -0.15 | Diplomatic channels frozen |
| E1 (GDP > 2.5%) | 0.50 | 0.38 | -0.12 | Growth expectations collapse |
| E2 (Unemployment < 4%) | 0.55 | 0.45 | -0.10 | Labor market uncertainty |
| E4 (Fed rate cut) | 0.48 | 0.62 | +0.14 | Flight to safety, rate cuts expected |
| E5 (S&P > 5000) | 0.52 | 0.35 | -0.17 | Equity markets plunge |
| E6 (Oil > $90) | 0.30 | 0.60 | +0.30 | Supply disruption fears |
| E9 (10Y > 4.5%) | 0.36 | 0.22 | -0.14 | Flight to Treasuries |
Wave 2 (Hours 4-12): Correlation contagion
Markets that have no direct connection to the geopolitical event begin moving as fear spreads and liquidity dries up:
| Position | Pre-Shock Price | Post-Shock Price | Change | Mechanism |
|---|---|---|---|---|
| S2 (Team B playoffs) | 0.60 | 0.55 | -0.05 | Liquidity withdrawal |
| S5 (Football wins) | 0.54 | 0.50 | -0.04 | General risk-off |
| N4 (Box office > $100M) | 0.50 | 0.42 | -0.08 | Consumer spending fears |
| N6 (Game sells > 10M) | 0.45 | 0.38 | -0.07 | Consumer spending fears |
| N8 (Streaming 300M subs) | 0.35 | 0.30 | -0.05 | Tech sector selloff |
| T5 (Chip shortage resolved) | 0.50 | 0.38 | -0.12 | Supply chain disruption fears |
| T6 (Self-driving approved) | 0.30 | 0.24 | -0.06 | Regulatory focus shifts |
Wave 3 (Days 2-5): Second-order effects and reassessment
Some markets partially recover as initial panic subsides, but others worsen as the full implications become clear:
| Position | Day 1 Price | Day 5 Price | Net Change from Pre-Shock | Status |
|---|---|---|---|---|
| P7 (Bill X) | 0.22 | 0.20 | -0.15 | Continued deterioration |
| E1 (GDP) | 0.38 | 0.35 | -0.15 | Worsened as data arrives |
| E4 (Fed cut) | 0.62 | 0.65 | +0.17 | Strengthened (good for long) |
| E6 (Oil > $90) | 0.60 | 0.55 | +0.25 | Partially reverted |
| S2 (Playoffs) | 0.55 | 0.58 | -0.02 | Recovered (unrelated) |
| N4 (Box office) | 0.42 | 0.44 | -0.06 | Slight recovery |
Correlation Structure During the Crisis
Before the shock, the average pairwise correlation across the portfolio was 0.06. During the crisis:
| Period | Avg Pairwise Correlation | Max Pairwise Correlation |
|---|---|---|
| Pre-shock (Weeks 1-8) | 0.06 | 0.50 |
| Shock day (Day 1) | 0.38 | 0.85 |
| Shock week (Days 1-5) | 0.29 | 0.78 |
| Recovery (Week 10) | 0.15 | 0.62 |
| New normal (Week 12) | 0.10 | 0.55 |
The "correlation spike to 0.38" confirms a key lesson from Section 17.11: during crises, the average correlation can jump by 5-6x, dramatically reducing diversification benefits.
Portfolio Impact Assessment
Mark-to-Market Loss (End of Day 1)
To calculate the mark-to-market impact, we compute the unrealized P&L for each position based on the price change and position weight:
Loss decomposition by category:
| Category | # Affected | Weighted Loss | Contribution |
|---|---|---|---|
| Politics | 10 | -4.8% | 42.9% of total loss |
| Economics | 9 | -2.7% | 24.1% |
| Entertainment | 6 | -1.2% | 10.7% |
| Science/Tech | 5 | -0.9% | 8.0% |
| Sports | 9 | -0.5% | 4.5% |
| Weather | 3 | -0.1% | 0.9% |
| Subtotal losses | -10.2% | 91.1% | |
| Positions that gained (E4, E6) | 2 | +1.0% | -8.9% (offset) |
| Net portfolio loss | -9.2% | 100% |
Bankroll After Day 1
| Metric | Value |
|---|---|
| Pre-shock bankroll | $32,700 |
| Portfolio loss (9.2% of deployed) | -$2,106 |
| Effective bankroll loss | -$2,106 |
| Post-shock bankroll | $30,594 |
| Drawdown from peak ($32,700) | 6.4% |
| Drawdown monitor status | Normal (< 10%) |
Bankroll After Week 9 (Day 5)
After the full week plays out, including second-order effects and partial recoveries:
| Metric | Value |
|---|---|
| Additional losses (Days 2-5) | -$1,240 |
| Partial recoveries (Days 2-5) | +$380 |
| Week 9 end bankroll | $29,734 |
| Drawdown from peak | 9.1% |
| Drawdown monitor status | Normal (barely; < 10%) |
The portfolio is teetering at the edge of the "Normal" zone. One more bad day could push it into the "Warning" territory (10-15%), triggering a reduction to 75% position sizing.
Decision Point: Stay the Course or Reduce?
The Trader's Dilemma
At the end of Week 9, the trader faces a critical decision. The drawdown monitor shows "Normal" status, meaning the rules say to continue trading at full size. But the trader feels nervous --- this is the worst drawdown they have experienced, and the geopolitical situation is still unresolved.
Option A: Follow the Rules (Stay at Full Size)
The pre-committed rules say to maintain full position sizing since the drawdown is still under 10%. The argument for this:
- The rules were set when thinking rationally, not in the heat of a crisis.
- Many positions moved against the trader on market sentiment, not on changed fundamentals for those specific events (sports, entertainment).
- If the crisis resolves, the positions that moved on sentiment may snap back, creating recovery profits.
- Reducing size at the bottom locks in losses and misses recovery.
Option B: Override the Rules (Reduce Proactively)
The argument for proactive reduction:
- The geopolitical situation is unprecedented and still evolving. True probabilities may have shifted more than the trader recognizes.
- The correlation spike means the portfolio is less diversified than it was, creating hidden concentration risk.
- Several probability estimates need revision, and the trader has not yet had time to re-analyze all 42 positions.
- Preserving capital to trade another day is paramount.
The Chosen Path
The trader chooses a hybrid approach, demonstrating the practical wisdom that rules need judgment:
- Follow the drawdown rules by not reducing overall sizing (the 10% threshold has not been breached).
- Re-evaluate every position and update probability estimates in light of the new information.
- Close positions where the edge has disappeared or reversed due to the crisis.
- Reduce correlated political and economic positions where the uncertainty is genuinely higher.
- Hold uncorrelated positions (sports, entertainment) where the price moved on sentiment rather than fundamentals.
Portfolio Adjustments (Week 9, Weekend)
| Action | Positions | Capital Freed | Rationale |
|---|---|---|---|
| Close (edge gone) | P7, P11, P12 | $680 | Probabilities genuinely shifted |
| Reduce by 50% | E1, E2, E5 | $450 | Uncertainty too high for full sizing |
| Hold unchanged | S1-S10, N1-N8 | -- | No fundamental change to these events |
| Increase (edge improved) | E4, E6 | -$300 (added) | Crisis improved these positions' odds |
| Net capital freed | $830 | Moved to cash reserve |
Revised portfolio: - Positions: 39 (down from 42) - Deployed capital: $21,210 (down from $22,890) - Deployment ratio: 65% (down from 70%)
The Recovery Phase
Weeks 10-12: Gradual Stabilization
The geopolitical crisis stabilizes (but does not fully resolve) over the next three weeks:
| Week | Event | Bankroll | Weekly Return | Drawdown from Peak |
|---|---|---|---|---|
| 10 | Diplomatic talks begin; markets stabilize | $30,248 | +1.7% | 7.5% |
| 11 | Ceasefire announced; partial risk recovery | $31,104 | +2.8% | 4.9% |
| 12 | New normal emerges; some markets remain shifted | $31,750 | +2.1% | 2.9% |
What Drove the Recovery
Snap-back profits (positions that moved on sentiment, not fundamentals):
| Position | Shock Price | Week 12 Price | Recovery Gain |
|---|---|---|---|
| S2 (Playoffs) | 0.55 | 0.61 | +0.06 |
| S5 (Football) | 0.50 | 0.55 | +0.05 |
| N4 (Box office) | 0.42 | 0.50 | +0.08 |
| N6 (Game sales) | 0.38 | 0.46 | +0.08 |
| T5 (Chip shortage) | 0.38 | 0.47 | +0.09 |
These positions moved against the trader on contagion fear, not because their fundamentals changed. By holding through the panic, the trader captured the mean reversion.
New opportunity profits (positions opened during the crisis):
The increased position in E4 (Fed rate cut, bought more at $0.65) and E6 (Oil > $90, increased at $0.55) both gained further as the crisis strengthened the case for these outcomes.
Permanent losses (positions closed at a loss):
P7 (Bill X), P11 (UN Resolution), and P12 (Treaty) were closed at losses totaling approximately $680 because the crisis genuinely changed the probability of these political outcomes. These losses are real and permanent --- they represent the irreducible cost of a truly unexpected event.
Week 12 Bankroll Assessment
| Metric | Value |
|---|---|
| Pre-shock peak | $32,700 |
| Post-crisis (Week 12) | $31,750 |
| Net loss from episode | -$950 (-2.9%) |
| Recovery from trough ($29,734) | +$2,016 (+6.8%) | |
| Drawdown duration | 4 weeks (Weeks 9-12) |
| Current drawdown from peak | 2.9% |
| Status | Normal |
Weeks 13-16: Full Recovery and New Peak
The trader continues with the adjusted portfolio, now operating in the "new normal" of slightly elevated correlations and revised probability estimates:
| Week | Bankroll | Weekly Return | Drawdown |
|---|---|---|---|
| 13 | $32,385 | +2.0% | 1.0% |
| 14 | $32,580 | +0.6% | 0.4% |
| 15 | $33,102 | +1.6% | 0.0% (new peak!) |
| 16 | $33,645 | +1.6% | 0.0% (new peak!) |
The portfolio achieves a new all-time high in Week 15, just 6 weeks after the black swan event. Total recovery time from trough to new peak: 6 weeks.
Counterfactual Analysis
What If the Trader Had Panicked?
Scenario: Close all positions on Day 1 and wait 4 weeks to re-enter
| Metric | Actual | Panic Scenario |
|---|---|---|
| Day 1 loss | -$2,106 (unrealized) | -$2,106 (realized) | |
| Week 12 bankroll | $31,750 | $30,294 | |
| Recovery to new peak | Week 15 | Week 19 (estimated) |
| Total cost of panic | -- | -$1,456 (-4.6%) |
Panicking and closing all positions would have locked in the Day 1 losses plus forfeited the recovery profits on sentiment-driven positions. The total cost of panic: approximately $1,456 in foregone recovery.
What If Drawdowns Had Continued?
Scenario: The crisis escalates for 4 more weeks instead of stabilizing
If the crisis had deepened, with continued correlation elevation and further probability shifts:
| Week | Bankroll (escalation scenario) | Drawdown | Monitor Status |
|---|---|---|---|
| 10 | $28,850 | 11.8% | WARNING - 75% sizing |
| 11 | $27,420 | 16.1% | SERIOUS - 50% sizing |
| 12 | $26,500 | 19.0% | SERIOUS - 50% sizing |
| 13 | $25,900 | 20.8% | SERIOUS - 50% sizing |
In this counterfactual, the drawdown rules would have kicked in automatically: - Week 10: 75% sizing limits further damage - Week 11: 50% sizing significantly slows the bleeding - Even after 4 weeks of continued crisis, the bankroll remains above $25,000 (83% of peak)
The graduated position reduction acts as a natural shock absorber, slowing losses during adverse periods while maintaining some exposure for recovery.
What If the Trader Had No Position Limits?
Scenario: Full Kelly with no caps, 100% deployment
If the trader had used full Kelly sizing with no position caps and deployed 100% of capital:
| Metric | Conservative (actual) | Aggressive |
|---|---|---|
| Pre-shock bankroll | $32,700 | $38,200 (faster growth) | |
| Day 1 loss | -$2,106 (6.4%) | -$7,640 (20.0%) | |
| Week 9 trough | $29,734 (9.1% dd) | $28,100 (26.4% dd) | |
| Monitor status at trough | Normal | CRITICAL (25% sizing) |
| Weeks to recover | 6 | 18 (estimated) |
| Risk of ruin probability | < 0.01% | 3.2% |
The aggressive approach would have produced higher returns before the shock (+27% vs +9%) but suffered a devastating 26% drawdown that triggered "Critical" status and would have required 18 weeks to recover. The risk of ruin --- the probability of the bankroll dropping below 10% of its starting value during the trading career --- jumps from negligible to 3.2%.
Lessons from the Black Swan
Lesson 1: Correlations Are Not Constants
The portfolio's base-case average correlation of 0.06 jumped to 0.38 during the shock --- a 6x increase. The diversification ratio that was 1.94 under normal conditions dropped to approximately 1.25 during the crisis. Any risk model that treats correlations as fixed will dramatically underestimate tail risk.
Practical takeaway: Always run stress tests with correlation levels 3-5x higher than your base assumptions. If the portfolio cannot survive the stressed scenario, reduce exposure.
Lesson 2: Not All Price Moves Are Informational
During the crisis, sports and entertainment positions moved down 4-8% despite having no fundamental connection to the geopolitical event. This is "contagion" --- fear-driven selling across all markets regardless of relevance. Traders who can distinguish between informational price moves (genuinely changed probabilities) and contagion moves (sentiment-driven, temporary) can profit from the recovery.
Practical takeaway: Before closing positions during a crisis, ask: "Has the true probability of this specific event actually changed?" If not, the price move is likely temporary and represents an opportunity, not a risk.
Lesson 3: Pre-Committed Rules Save You from Your Worst Instincts
The trader's pre-committed drawdown rules prevented both panic (closing everything) and denial (ignoring the crisis). The hybrid approach --- follow the rules, re-evaluate fundamentals, adjust selectively --- produced a better outcome than either extreme.
Practical takeaway: Write down your crisis response plan before a crisis occurs. Include specific triggers, specific actions, and specific criteria for determining whether a price move is informational or contagion.
Lesson 4: Recovery Time Is Asymmetric
The portfolio experienced a 9.1% drawdown in one week but required 6 weeks to recover to a new peak. This 1:6 ratio between shock duration and recovery duration is typical and has important implications for bankroll management: the longer you spend in drawdown, the more rounds of potential returns you forgo.
Practical takeaway: Recovery time is inversely proportional to your expected return per round. If you reduce sizing during the drawdown (as the rules prescribe), recovery takes even longer. Budget for recovery periods when planning your trading career.
Lesson 5: Reserves Are Insurance, Not Idle Capital
The trader's $12,500 in reserve capital was never deployed during this episode, but its existence was crucial for psychological stability. Knowing that even a worst-case scenario would not threaten survival allowed the trader to think clearly and make rational decisions.
Practical takeaway: Maintain at least 30% of total capital in reserves. View this as insurance premium --- it costs you some expected return but protects against catastrophic loss.
Lesson 6: Black Swans Are Not Black When You Prepare for Them
The trader's stress test in Case Study 1 included a "correlation spike to 0.50" scenario and a "combined adverse" scenario. The actual black swan produced a correlation spike to 0.38 --- less severe than the stress test. Because the trader had already seen (in simulation) what a correlation spike would do, the real event was shocking but not bewildering.
Practical takeaway: Run extreme stress tests regularly. Even if you never experience the exact scenario, the exercise of thinking through extreme outcomes prepares you mentally and financially for whatever does happen.
Summary Timeline
| Week | Key Event | Bankroll | Drawdown | Action |
|---|---|---|---|---|
| 0-8 | Normal trading, steady growth | $30,000 to $32,700 | 0% | Full sizing |
| 9 (Day 1) | Black swan shock | $30,594 | 6.4% | Monitor, assess |
| 9 (Day 5) | Second-order effects | $29,734 | 9.1% | Re-evaluate positions |
| 9 (Weekend) | Portfolio adjustment | $29,734 | 9.1% | Close 3, reduce 3, increase 2 |
| 10 | Stabilization begins | $30,248 | 7.5% | Hold adjusted portfolio |
| 11 | Ceasefire, recovery | $31,104 | 4.9% | Begin redeploying freed capital |
| 12 | New normal emerges | $31,750 | 2.9% | Resume normal operations |
| 13-14 | Continued recovery | $32,580 | 0.4% | Normal trading |
| 15 | New all-time high | $33,102 | 0.0% | Full sizing, new peak |
| 16 | Continued growth | $33,645 | 0.0% | Normal trading |
Bottom line: A well-constructed portfolio with disciplined risk management turned a black swan event into a 6-week detour, not a career-ending disaster. The total cost of the episode was approximately 4 weeks of foregone growth relative to the pre-shock trajectory.
The complete Python code for this case study, including the shock simulation, drawdown tracking, and counterfactual analysis, is available in code/case-study-code.py.