- Create TASK-2026-01-25-NOTIFICACIONES-COMPLETAS with full CAPVED docs - Update DATABASE_INVENTORY with auth.notifications, auth.user_push_tokens, investment.distribution_history, investment.distribution_runs tables - Update BACKEND_INVENTORY with push-token endpoints, firebase.client, and unit tests - Update FRONTEND_INVENTORY with notification components, store, service - Update MASTER_INVENTORY with updated totals - Update _INDEX.yml with new task entry Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
248 lines
6.6 KiB
YAML
248 lines
6.6 KiB
YAML
# MASTER INVENTORY - Trading Platform Trading Platform
|
|
# Generado: 2025-12-08
|
|
# Actualizado: 2026-01-25
|
|
# Sistema: NEXUS + SIMCO v2.2.0
|
|
# NOTA: Inventarios consolidados en docs/90-transversal/inventarios/ (2026-01-07)
|
|
|
|
proyecto:
|
|
nombre: Trading Platform - Trading Platform
|
|
codigo: trading-platform
|
|
nivel: 2A (Standalone)
|
|
estado: En Desarrollo
|
|
version: 0.2.0
|
|
path: C:/Empresas/ISEM/workspace-v2/projects/trading-platform
|
|
|
|
resumen_general:
|
|
total_schemas: 9 # +1 auth
|
|
total_tablas: 81 # +4 (notifications, user_push_tokens, distribution_history, distribution_runs)
|
|
total_servicios_backend: 15 # +1 firebase.client
|
|
total_servicios_python: 4 # ML Engine, Data Service, MT4 Gateway, LLM Agent
|
|
total_componentes_frontend: 53 # +5 notification components
|
|
total_pages: 29 # +2 notification pages
|
|
total_background_jobs: 1 # Distribution Job
|
|
total_unit_tests: 2 # notification.service.spec, distribution.job.spec
|
|
test_coverage: TBD
|
|
ultima_actualizacion: 2026-01-25
|
|
nota_consolidacion: "Inventarios consolidados en docs/90-transversal/inventarios/"
|
|
|
|
epicas:
|
|
- codigo: OQI-001
|
|
nombre: Fundamentos y Auth
|
|
sp: 50
|
|
estado: Completado
|
|
progreso: 100%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-002
|
|
nombre: Modulo Educativo
|
|
sp: 45
|
|
estado: Parcial
|
|
progreso: 60%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-003
|
|
nombre: Trading y Charts
|
|
sp: 55
|
|
estado: En Desarrollo
|
|
progreso: 40%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-004
|
|
nombre: Cuentas de Inversion
|
|
sp: 57
|
|
estado: En Desarrollo
|
|
progreso: 30%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-005
|
|
nombre: Pagos y Stripe
|
|
sp: 40
|
|
estado: Parcial
|
|
progreso: 50%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-006
|
|
nombre: Senales ML
|
|
sp: 40
|
|
estado: ML Engine listo
|
|
progreso: 70%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-007
|
|
nombre: LLM Strategy Agent
|
|
sp: 55
|
|
estado: Nuevo
|
|
progreso: 20%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-008
|
|
nombre: Portfolio Manager
|
|
sp: 65
|
|
estado: Nuevo
|
|
progreso: 10%
|
|
doc_frontend: true
|
|
|
|
- codigo: OQI-009
|
|
nombre: Trading Execution (MT4 Gateway)
|
|
sp: 45
|
|
estado: En Desarrollo
|
|
progreso: 30%
|
|
descripcion: "Multi-agente MT4 execution system"
|
|
doc_frontend: true
|
|
|
|
capas:
|
|
database:
|
|
inventario: docs/90-transversal/inventarios/DATABASE_INVENTORY.yml
|
|
total_objetos: 90 tablas + 19 funciones + 8 schemas
|
|
estado: Completo
|
|
|
|
backend:
|
|
inventario: docs/90-transversal/inventarios/BACKEND_INVENTORY.yml
|
|
total_objetos: 12 modulos + 85 archivos
|
|
estado: En Desarrollo
|
|
|
|
frontend:
|
|
inventario: docs/90-transversal/inventarios/FRONTEND_INVENTORY.yml
|
|
total_objetos: 40 componentes + 15 paginas
|
|
estado: En Desarrollo
|
|
|
|
ml_engine:
|
|
inventario: docs/90-transversal/inventarios/ML_INVENTORY.yml
|
|
total_objetos: 15+ modelos + pipelines
|
|
estado: Completo
|
|
|
|
servicios_externos:
|
|
# NOTA: Puertos actualizados 2026-01-07 para alinear con ports.registry.yml
|
|
- nombre: ML Engine
|
|
tipo: Python/FastAPI
|
|
puerto: 3083 # Actualizado de 8000
|
|
estado: Listo (100%)
|
|
path: apps/ml-engine/
|
|
inventario: docs/90-transversal/inventarios/ML_INVENTORY.yml
|
|
descripcion: "Modelos de predicción AMD, Range, TPSL, ICT/SMC"
|
|
|
|
- nombre: Data Service
|
|
tipo: Python/FastAPI
|
|
puerto: 3084 # Actualizado de 8001
|
|
estado: Completo (100%)
|
|
path: apps/data-service/
|
|
inventario: docs/90-transversal/inventarios/DATA_SERVICE_INVENTORY.yml
|
|
descripcion: "Sincronización Polygon API, market data"
|
|
integraciones:
|
|
- Polygon.io API
|
|
- PostgreSQL (trading_platform)
|
|
- Redis cache
|
|
|
|
- nombre: LLM Agent
|
|
tipo: Python/FastAPI
|
|
puerto: 3085 # Actualizado de 8002
|
|
estado: Completo (100%)
|
|
path: apps/llm-agent/
|
|
integracion: Claude API / Ollama
|
|
descripcion: "Agente IA para predicciones y backtesting"
|
|
|
|
- nombre: Trading Agents
|
|
tipo: Python/FastAPI
|
|
puerto: 3086 # Nuevo servicio
|
|
estado: Base (60%)
|
|
path: apps/trading-agents/
|
|
descripcion: "Agentes de auto-trading"
|
|
|
|
- nombre: MT4 Gateway
|
|
tipo: Python/FastAPI
|
|
puerto: 8090 # Pendiente migrar a 3087+
|
|
estado: En Desarrollo (30%)
|
|
path: apps/mt4-gateway/
|
|
inventario: docs/90-transversal/inventarios/MT4_GATEWAY_INVENTORY.yml
|
|
descripcion: "Gateway multi-agente para terminales MT4"
|
|
agentes:
|
|
- id: agent_1
|
|
nombre: Atlas
|
|
puerto_mt4: 8081
|
|
enabled: true
|
|
- id: agent_2
|
|
nombre: Orion
|
|
puerto_mt4: 8082
|
|
enabled: false
|
|
- id: agent_3
|
|
nombre: Nova
|
|
puerto_mt4: 8083
|
|
enabled: false
|
|
|
|
infraestructura:
|
|
database: PostgreSQL 15+
|
|
cache: Redis 7
|
|
auth: JWT + OAuth
|
|
payments: Stripe
|
|
broker: EBC Financial Group (MT4)
|
|
data_provider: Polygon.io / Massive.com
|
|
|
|
# ============================================
|
|
# CREDENCIALES Y CONEXIONES (Referencia)
|
|
# ============================================
|
|
conexiones:
|
|
polygon_api:
|
|
api_key: "Configurado en .env"
|
|
rate_limit: "5 req/min (free tier)"
|
|
status: "Verificado OK"
|
|
|
|
mt4_demo:
|
|
broker: "EBC Financial Group"
|
|
server: "EBCFinancialGroupKY-Demo02"
|
|
login: "22437"
|
|
status: "Configurado"
|
|
|
|
# ============================================
|
|
# MAPA DE PUERTOS (Sincronizado con control-plane/registries/ports.registry.yml)
|
|
# Fuente de verdad: /home/isem/workspace-v1/control-plane/registries/ports.registry.yml
|
|
# Actualizado: 2026-01-07
|
|
# ============================================
|
|
puertos:
|
|
# Servicios principales (ports.registry.yml - trading)
|
|
- servicio: "Frontend React"
|
|
puerto: 3080
|
|
healthcheck: "/health"
|
|
- servicio: "Backend Express"
|
|
puerto: 3081
|
|
healthcheck: "/health"
|
|
- servicio: "WebSocket Server"
|
|
puerto: 3082
|
|
protocol: "ws"
|
|
- servicio: "ML Engine"
|
|
puerto: 3083
|
|
healthcheck: "/health"
|
|
- servicio: "Data Service"
|
|
puerto: 3084
|
|
healthcheck: "/health"
|
|
- servicio: "LLM Agent"
|
|
puerto: 3085
|
|
healthcheck: "/health"
|
|
- servicio: "Trading Agents"
|
|
puerto: 3086
|
|
healthcheck: "/health"
|
|
# Infraestructura
|
|
- servicio: "PostgreSQL"
|
|
puerto: 5432
|
|
- servicio: "Redis"
|
|
puerto: 6379
|
|
# MT4 Gateway (servicios adicionales)
|
|
- servicio: "MT4 Gateway"
|
|
puerto: 8090
|
|
nota: "Pendiente migrar a rango 3087+"
|
|
- servicio: "MT4 Agent 1 (Atlas)"
|
|
puerto: 8081
|
|
enabled: true
|
|
- servicio: "MT4 Agent 2 (Orion)"
|
|
puerto: 8082
|
|
enabled: false
|
|
- servicio: "MT4 Agent 3 (Nova)"
|
|
puerto: 8083
|
|
enabled: false
|
|
|
|
referencias:
|
|
docs: docs/
|
|
orchestration: orchestration/
|
|
contexto: orchestration/00-guidelines/CONTEXTO-PROYECTO.md
|
|
arquitectura_mt4: docs/01-arquitectura/ARQUITECTURA-MULTI-AGENTE-MT4.md
|
|
setup_mt4: docs/90-transversal/setup/SETUP-MT4-TRADING.md
|