summaryrefslogtreecommitdiff
path: root/shared/alembic
AgeCommit message (Collapse)Author
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
16 hoursstyle: auto-fix lint violations from enhanced ruff rulesTheSiahxyz
16 hoursfeat: add missing DB indexes for signals, orders, trades, snapshotsTheSiahxyz
17 hoursstyle: fix lint and formatting issues across news collector and sharedTheSiahxyz
18 hoursfeat: add Alembic migration for news and sentiment tablesTheSiahxyz
37 hoursfix: resolve final 3 issues for production readinessTheSiahxyz
- Fix API strategies endpoint path resolution (use STRATEGIES_DIR env var) - Add DATABASE_URL env var override in alembic env.py - Move risk config fields to shared Settings base class - Remove duplicate fields from ExecutorConfig
39 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.