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 <noreply@anthropic.com>
This commit is contained in:
Adrian Flores Cortes 2026-01-25 05:51:39 -06:00
parent 9c2fce0083
commit ffee1900f9
2 changed files with 43 additions and 7 deletions

View File

@ -2,15 +2,43 @@
# DATABASE_INVENTORY.yml - Trading Platform Trading Platform # DATABASE_INVENTORY.yml - Trading Platform Trading Platform
# ============================================================================ # ============================================================================
# Proposito: Inventario consolidado de todos los objetos de base de datos # Proposito: Inventario consolidado de todos los objetos de base de datos
# Ultima actualizacion: 2025-12-05 # Ultima actualizacion: 2026-01-25
# Version: 2.0.0 # Version: 2.1.0
# ============================================================================ # ============================================================================
version: "2.0.0" version: "2.1.0"
project: "Trading Platform" project: "Trading Platform"
database: "trading_platform" database: "trading_platform"
engine: "PostgreSQL 16" 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 # RESUMEN EJECUTIVO

View File

@ -1,13 +1,21 @@
# ML_INVENTORY.yml - Inventario de Componentes ML Engine # ML_INVENTORY.yml - Inventario de Componentes ML Engine
# Trading Platform Trading Platform # Trading Platform Trading Platform
# Ultima actualizacion: 2026-01-07 # Ultima actualizacion: 2026-01-25
metadata: metadata:
version: "2.1.0" version: "2.2.0"
last_updated: "2026-01-07" last_updated: "2026-01-25"
epic: "OQI-006" epic: "OQI-006"
description: "Inventario de modelos, features y servicios del ML Engine" description: "Inventario de modelos, features y servicios del ML Engine"
changelog: 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" - version: "2.1.0"
date: "2026-01-07" date: "2026-01-07"
changes: changes: