From ffee1900f977e6b44ab85be9149cb1ab1a7032a3 Mon Sep 17 00:00:00 2001 From: Adrian Flores Cortes Date: Sun, 25 Jan 2026 05:51:39 -0600 Subject: [PATCH] docs: Update inventories for PostgreSQL data migration - DATABASE_INVENTORY: Added data_status section with 469K+ bars loaded - ML_INVENTORY: Documented MySQL deprecation and PostgreSQL migration - 6 tickers loaded with 365 days of 5-minute data from Polygon API Co-Authored-By: Claude Opus 4.5 --- .../inventarios/DATABASE_INVENTORY.yml | 36 ++++++++++++++++--- .../inventarios/ML_INVENTORY.yml | 14 ++++++-- 2 files changed, 43 insertions(+), 7 deletions(-) diff --git a/docs/90-transversal/inventarios/DATABASE_INVENTORY.yml b/docs/90-transversal/inventarios/DATABASE_INVENTORY.yml index cdc1561..4847d82 100644 --- a/docs/90-transversal/inventarios/DATABASE_INVENTORY.yml +++ b/docs/90-transversal/inventarios/DATABASE_INVENTORY.yml @@ -2,15 +2,43 @@ # DATABASE_INVENTORY.yml - Trading Platform Trading Platform # ============================================================================ # Proposito: Inventario consolidado de todos los objetos de base de datos -# Ultima actualizacion: 2025-12-05 -# Version: 2.0.0 +# Ultima actualizacion: 2026-01-25 +# Version: 2.1.0 # ============================================================================ -version: "2.0.0" +version: "2.1.0" project: "Trading Platform" database: "trading_platform" engine: "PostgreSQL 16" -last_updated: "2025-12-05" +last_updated: "2026-01-25" + +# ============================================================================ +# DATA STATUS (2026-01-25) +# ============================================================================ +data_status: + polygon_api_key: "Configured in apps/data-service/.env" + data_source: "Polygon.io" + last_sync: "2026-01-25" + tickers_loaded: + - symbol: XAUUSD + bars: 70071 + range: "2025-01-26 to 2026-01-23" + - symbol: EURUSD + bars: 73783 + range: "2025-01-26 to 2026-01-23" + - symbol: BTCUSD + bars: 105107 + range: "2025-01-24 to 2026-01-24" + - symbol: GBPUSD + bars: 73493 + range: "2025-01-26 to 2026-01-23" + - symbol: USDJPY + bars: 73587 + range: "2025-01-26 to 2026-01-23" + - symbol: AUDUSD + bars: 73176 + range: "2025-01-26 to 2026-01-23" + total_bars: 469217 # ============================================================================ # RESUMEN EJECUTIVO diff --git a/docs/90-transversal/inventarios/ML_INVENTORY.yml b/docs/90-transversal/inventarios/ML_INVENTORY.yml index 79e21f2..23a79bb 100644 --- a/docs/90-transversal/inventarios/ML_INVENTORY.yml +++ b/docs/90-transversal/inventarios/ML_INVENTORY.yml @@ -1,13 +1,21 @@ # ML_INVENTORY.yml - Inventario de Componentes ML Engine # Trading Platform Trading Platform -# Ultima actualizacion: 2026-01-07 +# Ultima actualizacion: 2026-01-25 metadata: - version: "2.1.0" - last_updated: "2026-01-07" + version: "2.2.0" + last_updated: "2026-01-25" epic: "OQI-006" description: "Inventario de modelos, features y servicios del ML Engine" changelog: + - version: "2.2.0" + date: "2026-01-25" + changes: + - "Database migration: MySQL deprecated, now using PostgreSQL exclusively" + - "Added src/data/database.py module for PostgreSQL access" + - "Created .env with PostgreSQL credentials" + - "Updated config/database.yaml to mark MySQL as deprecated" + - "Data loaded from Polygon API into local PostgreSQL (6 tickers, 365 days)" - version: "2.1.0" date: "2026-01-07" changes: