summaryrefslogtreecommitdiff
path: root/shared/alembic
AgeCommit message (Collapse)Author
9 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
9 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
9 hoursstyle: auto-fix lint violations from enhanced ruff rulesTheSiahxyz
10 hoursfeat: add missing DB indexes for signals, orders, trades, snapshotsTheSiahxyz
11 hoursstyle: fix lint and formatting issues across news collector and sharedTheSiahxyz
11 hoursfeat: add Alembic migration for news and sentiment tablesTheSiahxyz
31 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
32 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
33 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.