Files
fx-quant/config/system.yaml
T
Brent Neale ef950f25dd Add Docker setup with AI ensemble integration and execution loop
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>
2026-02-16 17:19:20 +10:00

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"