mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-17 20:18:06 +00:00
Phase 1: Event-driven backtester, 5 strategies, and baseline results
- Built event-driven backtesting engine with spread/slippage modeling, 3-TP partial closes, trailing stops, and rich trade logging (20+ features) - Implemented 5 strategy signal generators (MA Breakout, VWAP Reversal, Key Level Breakout, EMA Ribbon Scalp, Momentum Exhaustion) - Full indicator library (EMA, SMA, RSI, ATR, MACD, ADX, Stochastic, Session VWAP bands, swing points, key levels, RSI divergence) - Data pipeline: Dukascopy download, validation, 70/30 train/test split - Baseline results: all 5 strategies generate 200+ trades on training data (Jan 2021 - Aug 2023), best profit factors 0.82-0.96 on select pairs - Trade logs and reports saved for Phase 3 ML feature engineering Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5d7f6c60a9
commit
dce54845c2
+19
-1
@@ -6,12 +6,22 @@ brokers:
|
||||
type: oanda_v20
|
||||
enabled: true
|
||||
instruments:
|
||||
- GBP_AUD
|
||||
- EUR_AUD
|
||||
- EUR_CAD
|
||||
- EUR_NZD
|
||||
- GBP_USD
|
||||
- EUR_USD
|
||||
- GBP_JPY
|
||||
- USD_JPY
|
||||
- EUR_GBP
|
||||
- GBP_CAD
|
||||
data:
|
||||
candle_count: 200
|
||||
candle_granularities:
|
||||
- M5
|
||||
- M15
|
||||
- H1
|
||||
- H4
|
||||
tick_export: false
|
||||
features:
|
||||
sma_windows:
|
||||
@@ -19,12 +29,20 @@ features:
|
||||
- 20
|
||||
- 50
|
||||
- 100
|
||||
- 200
|
||||
ema_windows:
|
||||
- 20
|
||||
- 50
|
||||
- 100
|
||||
- 200
|
||||
rsi_period: 14
|
||||
atr_period: 14
|
||||
vwap_window: 20
|
||||
volatility_window: 20
|
||||
macd: [12, 26, 9]
|
||||
adx_period: 14
|
||||
stochastic: [5, 3, 3]
|
||||
session_vwap_bands: true
|
||||
ai:
|
||||
model: local-ensemble
|
||||
confidence_threshold: 0.75
|
||||
|
||||
Reference in New Issue
Block a user