Some checks are pending
CI Pipeline / changes (push) Waiting to run
CI Pipeline / core (push) Blocked by required conditions
CI Pipeline / trading-backend (push) Blocked by required conditions
CI Pipeline / trading-data-service (push) Blocked by required conditions
CI Pipeline / trading-frontend (push) Blocked by required conditions
CI Pipeline / erp-core (push) Blocked by required conditions
CI Pipeline / erp-mecanicas (push) Blocked by required conditions
CI Pipeline / gamilit-backend (push) Blocked by required conditions
CI Pipeline / gamilit-frontend (push) Blocked by required conditions
Core: - Add catalog reference implementations (auth, payments, notifications, websocket, etc.) - New agent profiles: Database Auditor, Integration Validator, LLM Agent, Policy Auditor, Trading Strategist - Update SIMCO directives and add escalation/git guidelines - Add deployment inventory and audit execution reports Projects: - erp-suite: DevOps configs, Dockerfiles, shared libs, vertical enhancements - gamilit: Test structure, admin controllers, service refactoring, husky/commitlint - trading-platform: MT4 gateway, auth controllers, admin frontend, deployment scripts - platform_marketing_content: Full DevOps setup, tests, Docker configs - betting-analytics/inmobiliaria-analytics: Initial app structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
185 lines
4.4 KiB
YAML
185 lines
4.4 KiB
YAML
# Configuración de Agentes de Trading
|
|
# OrbiQuant IA Trading Platform
|
|
# Cada agente tiene su propio terminal MT4 y configuración de riesgo
|
|
|
|
agents:
|
|
# ==========================================
|
|
# AGENT 1: Atlas - Conservative Strategy
|
|
# ==========================================
|
|
agent_1:
|
|
id: "agent_1"
|
|
name: "Atlas"
|
|
description: "Conservative AMD strategy focused on gold"
|
|
enabled: true
|
|
|
|
# Conexión MT4
|
|
mt4:
|
|
host: "localhost"
|
|
port: 8081
|
|
auth_token: "secret_agent_1"
|
|
|
|
# Cuenta (referencia)
|
|
account:
|
|
login: "22437"
|
|
server: "EBCFinancialGroupKY-Demo02"
|
|
broker: "EBC"
|
|
type: "demo"
|
|
|
|
# Estrategia
|
|
strategy:
|
|
type: "amd"
|
|
description: "AMD Phase Detection + Range Prediction"
|
|
timeframe: "5m"
|
|
pairs:
|
|
- "XAUUSD"
|
|
min_confidence: 0.70
|
|
min_rr_ratio: 2.0
|
|
|
|
# Risk Management
|
|
risk:
|
|
initial_balance: 200
|
|
target_balance: 1000
|
|
max_risk_per_trade: 0.01 # 1% = $2 max loss per trade
|
|
max_daily_loss: 0.05 # 5% = $10 max daily loss
|
|
max_weekly_loss: 0.10 # 10% = $20 max weekly loss
|
|
max_drawdown: 0.15 # 15% = $30 max drawdown
|
|
max_open_positions: 1
|
|
default_lot_size: 0.01
|
|
max_lot_size: 0.02
|
|
|
|
# Trading hours (UTC)
|
|
trading_hours:
|
|
enabled: true
|
|
sessions:
|
|
- name: "london"
|
|
start: "07:00"
|
|
end: "16:00"
|
|
- name: "newyork"
|
|
start: "12:00"
|
|
end: "21:00"
|
|
avoid_news: true
|
|
|
|
# ==========================================
|
|
# AGENT 2: Orion - Moderate Strategy
|
|
# ==========================================
|
|
agent_2:
|
|
id: "agent_2"
|
|
name: "Orion"
|
|
description: "Moderate ICT strategy for forex majors"
|
|
enabled: false # Habilidar cuando tenga segunda cuenta
|
|
|
|
mt4:
|
|
host: "localhost"
|
|
port: 8082
|
|
auth_token: "secret_agent_2"
|
|
|
|
account:
|
|
login: "XXXXX" # Completar con segunda cuenta
|
|
server: "EBCFinancialGroupKY-Demo02"
|
|
broker: "EBC"
|
|
type: "demo"
|
|
|
|
strategy:
|
|
type: "ict"
|
|
description: "ICT Concepts + Liquidity Hunt"
|
|
timeframe: "15m"
|
|
pairs:
|
|
- "EURUSD"
|
|
- "GBPUSD"
|
|
min_confidence: 0.65
|
|
min_rr_ratio: 2.0
|
|
|
|
risk:
|
|
initial_balance: 500
|
|
target_balance: 2000
|
|
max_risk_per_trade: 0.015
|
|
max_daily_loss: 0.05
|
|
max_weekly_loss: 0.10
|
|
max_drawdown: 0.15
|
|
max_open_positions: 2
|
|
default_lot_size: 0.02
|
|
max_lot_size: 0.05
|
|
|
|
trading_hours:
|
|
enabled: true
|
|
sessions:
|
|
- name: "overlap"
|
|
start: "12:00"
|
|
end: "16:00"
|
|
avoid_news: true
|
|
|
|
# ==========================================
|
|
# AGENT 3: Nova - Aggressive Strategy
|
|
# ==========================================
|
|
agent_3:
|
|
id: "agent_3"
|
|
name: "Nova"
|
|
description: "Aggressive multi-pair strategy"
|
|
enabled: false # Habilidar cuando tenga tercera cuenta
|
|
|
|
mt4:
|
|
host: "localhost"
|
|
port: 8083
|
|
auth_token: "secret_agent_3"
|
|
|
|
account:
|
|
login: "YYYYY" # Completar con tercera cuenta
|
|
server: "EBCFinancialGroupKY-Demo02"
|
|
broker: "EBC"
|
|
type: "demo"
|
|
|
|
strategy:
|
|
type: "mixed"
|
|
description: "Combined AMD + ICT + Order Flow"
|
|
timeframe: "5m"
|
|
pairs:
|
|
- "XAUUSD"
|
|
- "EURUSD"
|
|
- "GBPUSD"
|
|
- "USDJPY"
|
|
min_confidence: 0.60
|
|
min_rr_ratio: 1.5
|
|
|
|
risk:
|
|
initial_balance: 1000
|
|
target_balance: 5000
|
|
max_risk_per_trade: 0.02
|
|
max_daily_loss: 0.05
|
|
max_weekly_loss: 0.10
|
|
max_drawdown: 0.20
|
|
max_open_positions: 3
|
|
default_lot_size: 0.05
|
|
max_lot_size: 0.10
|
|
|
|
trading_hours:
|
|
enabled: false # Trade 24/5
|
|
|
|
# ==========================================
|
|
# Global Configuration
|
|
# ==========================================
|
|
global:
|
|
# ML Engine connection
|
|
ml_engine:
|
|
url: "http://localhost:8000"
|
|
timeout: 5
|
|
|
|
# Database
|
|
database:
|
|
url: "postgresql://orbiquant_user:orbiquant_dev_2025@localhost:5432/orbiquant_trading"
|
|
|
|
# Logging
|
|
logging:
|
|
level: "INFO"
|
|
file: "logs/mt4_gateway.log"
|
|
|
|
# Risk management global
|
|
risk:
|
|
emergency_stop_all: false
|
|
max_total_exposure: 0.10 # 10% de balance total
|
|
correlation_limit: 0.5 # Limita pares correlacionados
|
|
|
|
# Monitoring
|
|
monitoring:
|
|
health_check_interval: 30 # segundos
|
|
alert_webhook: "" # Webhook para alertas
|