mirror of
https://github.com/BrentNeale1/fx-quant.git
synced 2026-08-06 15:17:45 +00:00
ef950f25dd
Dockerize the order executor with python:3.11-slim, add docker-compose with config volume mount for hot-reload of system.yaml settings. Integrate AI ensemble validation into order execution pipeline and add configurable interval loop (default 60s) to replace container restart cycling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
58 lines
1.1 KiB
YAML
58 lines
1.1 KiB
YAML
general:
|
|
project_name: "fx-quant"
|
|
timezone: "UTC"
|
|
|
|
brokers:
|
|
- name: "oanda"
|
|
type: "oanda_v20"
|
|
enabled: true
|
|
instruments:
|
|
- "EUR_USD"
|
|
- "USD_JPY"
|
|
|
|
data:
|
|
candle_count: 200
|
|
candle_granularities:
|
|
- "M1"
|
|
- "M5"
|
|
tick_export: false # true to capture raw ticks
|
|
|
|
features:
|
|
sma_windows: [3, 20]
|
|
ema_windows: [20]
|
|
rsi_period: 14
|
|
atr_period: 14
|
|
vwap_window: 20
|
|
volatility_window: 20
|
|
|
|
ai:
|
|
model: "local-ensemble"
|
|
confidence_threshold: 0.85
|
|
retriever_enabled: true
|
|
retriever_source: "supabase"
|
|
ensemble_models: ["logistic_regression", "random_forest", "gradient_boosting"]
|
|
backtest_validation_window: 50
|
|
sanity_checks:
|
|
rsi_overbought: 80
|
|
rsi_oversold: 20
|
|
volatility_multiplier: 3.0
|
|
|
|
strategy:
|
|
rule: "sma_cross" # human-readable name of the rule
|
|
params:
|
|
short: 3
|
|
long: 20
|
|
trade_size_pct_of_equity: 0.01
|
|
max_drawdown_pct: 0.05
|
|
|
|
execution:
|
|
paper_mode: true
|
|
canary_size_pct: 0.01
|
|
max_positions: 3
|
|
interval_seconds: 60
|
|
|
|
supabase:
|
|
url: "https://<your>.supabase.co"
|
|
key_env_name: "SUPABASE_KEY" # key stored in .env
|
|
table: "fx_candles"
|