summaryrefslogtreecommitdiff
path: root/shared/alembic/versions
AgeCommit message (Collapse)Author
14 hoursfix: add session lock in StockSelector, remove unused HEALTH_PORT_OFFSET, ↵HEADmasterTheSiahxyz
lint fixes - Add asyncio.Lock to StockSelector._ensure_session() to prevent race condition - Remove unused HEALTH_PORT_OFFSET constant from news-collector - Auto-fix import sorting and formatting from ruff
15 hoursfix: add TradeRow ORM model, SignalRow missing columns, guard Event.from_dictTheSiahxyz
- Add TradeRow ORM model matching existing trades migration table - Add conviction, stop_loss, take_profit columns to SignalRow + migration 004 - Persist conviction/stop_loss/take_profit in insert_signal() - Guard Event.from_dict against malformed data with ValueError instead of KeyError
15 hoursstyle: auto-fix lint violations from enhanced ruff rulesTheSiahxyz
15 hoursfeat: add missing DB indexes for signals, orders, trades, snapshotsTheSiahxyz
16 hoursstyle: fix lint and formatting issues across news collector and sharedTheSiahxyz
17 hoursfeat: add Alembic migration for news and sentiment tablesTheSiahxyz
38 hoursfix: resolve critical deployment blockersTheSiahxyz
- Add Alembic initial migration (6 tables: candles, signals, orders, trades, positions, portfolio_snapshots) - Expose health ports (8080-8083) in docker-compose with healthchecks - Add numpy dependency to strategy-engine pyproject.toml
39 hoursfeat: add SQLAlchemy ORM models and Alembic migration setupTheSiahxyz
Add SA 2.0 declarative models (CandleRow, SignalRow, OrderRow, TradeRow, PositionRow, PortfolioSnapshotRow) mirroring existing asyncpg tables. Set up Alembic with async PostgreSQL support and add migrate/migrate-down/ migrate-new Makefile targets. Update shared dependencies with sqlalchemy, alembic, structlog, prometheus-client, pyyaml, aiohttp, and rich.