Files
fx-quant/results/phase2/kelly_sizing.json
T
Brent Neale 072ac0f245 Phase 2: Live paper trading engine + extended backtesting analytics
Track A — Live paper trading system:
- Extract PositionManager from backtester into shared src/position_manager.py
- Refactor backtester/engine.py to delegate to PositionManager
- New src/live/ package: data_feed (OANDA polling), executor (paper/live orders),
  engine (LiveEngine orchestrator with 5 strategy slots), run.py entry point
- Add phase2 config to system.yaml (S7_Tight, S9, S9_Filtered, S4F, S3)

Track B — Extended backtesting analytics:
- Regime analysis: per-year (2021-2023) breakdown shows 4/5 strategies trending UP
- Correlation analysis: S7+S3 GBP_JPY overlap=16.9% (moderate), S9 pairs=12% (low)
- Kelly sizing: S9_Filtered half-Kelly=7.3%, S4F=2.4%, S3=1.6% with Monte Carlo DD

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 14:46:51 +10:00

82 lines
1.7 KiB
JSON

{
"S7_Tight_GBP_JPY": {
"trades": 98,
"win_rate": 59.2,
"avg_win_pips": 42.8,
"avg_loss_pips": 62.3,
"avg_win_loss_ratio": 0.69,
"kelly_full_pct": 0,
"kelly_half_pct": 0,
"monte_carlo_half_kelly": {
"p50_dd": 0,
"p75_dd": 0,
"p95_dd": 0,
"p99_dd": 0,
"ruin_pct": 0
}
},
"S9_GBP_USD": {
"trades": 285,
"win_rate": 53.7,
"avg_win_pips": 29.3,
"avg_loss_pips": 41.7,
"avg_win_loss_ratio": 0.7,
"kelly_full_pct": 0,
"kelly_half_pct": 0,
"monte_carlo_half_kelly": {
"p50_dd": 0,
"p75_dd": 0,
"p95_dd": 0,
"p99_dd": 0,
"ruin_pct": 0
}
},
"S9_Filtered_GBP_AUD": {
"trades": 66,
"win_rate": 60.6,
"avg_win_pips": 49.5,
"avg_loss_pips": 57.9,
"avg_win_loss_ratio": 0.85,
"kelly_full_pct": 14.53,
"kelly_half_pct": 7.26,
"monte_carlo_half_kelly": {
"p50_dd": 2.5,
"p75_dd": 3.3,
"p95_dd": 4.8,
"p99_dd": 6.3,
"ruin_pct": 0.0
}
},
"S4F_EUR_AUD": {
"trades": 95,
"win_rate": 45.3,
"avg_win_pips": 38.8,
"avg_loss_pips": 28.7,
"avg_win_loss_ratio": 1.35,
"kelly_full_pct": 4.7,
"kelly_half_pct": 2.35,
"monte_carlo_half_kelly": {
"p50_dd": 0.7,
"p75_dd": 1.0,
"p95_dd": 1.5,
"p99_dd": 1.9,
"ruin_pct": 0.0
}
},
"S3_GBP_JPY": {
"trades": 150,
"win_rate": 50.7,
"avg_win_pips": 43.5,
"avg_loss_pips": 41.9,
"avg_win_loss_ratio": 1.04,
"kelly_full_pct": 3.11,
"kelly_half_pct": 1.56,
"monte_carlo_half_kelly": {
"p50_dd": 0.9,
"p75_dd": 1.2,
"p95_dd": 1.9,
"p99_dd": 2.4,
"ruin_pct": 0.0
}
}
}