51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
# OrbiQuant IA - ML Engine Configuration
|
|
# ======================================
|
|
|
|
# Server Configuration
|
|
HOST=0.0.0.0
|
|
PORT=8002
|
|
DEBUG=false
|
|
LOG_LEVEL=INFO
|
|
|
|
# CORS Configuration
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:8000
|
|
|
|
# Data Service Integration (Massive.com/Polygon data)
|
|
DATA_SERVICE_URL=http://localhost:8001
|
|
|
|
# Database Configuration (for historical data)
|
|
# DATABASE_URL=mysql+pymysql://user:password@localhost:3306/orbiquant
|
|
|
|
# Model Configuration
|
|
MODELS_DIR=models
|
|
MODEL_CACHE_TTL=3600
|
|
|
|
# Supported Symbols
|
|
SUPPORTED_SYMBOLS=XAUUSD,EURUSD,GBPUSD,USDJPY,BTCUSD,ETHUSD
|
|
|
|
# Prediction Configuration
|
|
DEFAULT_TIMEFRAME=15m
|
|
DEFAULT_RR_CONFIG=rr_2_1
|
|
LOOKBACK_PERIODS=500
|
|
|
|
# GPU Configuration (for PyTorch/XGBoost)
|
|
# CUDA_VISIBLE_DEVICES=0
|
|
# USE_GPU=true
|
|
|
|
# Feature Engineering
|
|
FEATURE_CACHE_TTL=60
|
|
MAX_FEATURE_AGE_SECONDS=300
|
|
|
|
# Signal Generation
|
|
SIGNAL_VALIDITY_MINUTES=15
|
|
MIN_CONFIDENCE_THRESHOLD=0.55
|
|
|
|
# Backtesting
|
|
BACKTEST_DEFAULT_CAPITAL=10000
|
|
BACKTEST_DEFAULT_RISK=0.02
|
|
|
|
# Logging
|
|
LOG_FILE=logs/ml-engine.log
|
|
LOG_ROTATION=10 MB
|
|
LOG_RETENTION=7 days
|