No description
Find a file
Viktor Barzin e2a3bd456d
feat: real data pipeline — market data, DB persistence, portfolio sync, signal-trade linkage
Wire the trading bot to real Alpaca market data and persist pipeline
state to the database so the dashboard displays live information.

- Add market-data service fetching OHLCV bars from Alpaca, publishing
  to market:bars Redis Stream; signal generator consumes bars and
  injects current_price into signals for position sizing
- Sentiment analyzer now persists Article + ArticleSentiment rows to
  DB after scoring, with duplicate and error handling
- API gateway runs a background portfolio sync task that snapshots
  Alpaca account state into PortfolioSnapshot/Position DB tables
  during market hours
- TradeSignal carries a signal_id UUID; signal generator and trade
  executor both persist their records to DB with cross-references
- 303 unit tests pass (57 new tests added)
2026-02-22 19:52:45 +00:00
.claude Add project knowledge file for Claude Code sessions 2026-02-22 17:25:27 +00:00
alembic fix: resolve 13 important issues from code review 2026-02-22 17:58:01 +00:00
backtester fix: resolve 13 important issues from code review 2026-02-22 17:58:01 +00:00
dashboard feat: dashboard trading views -- portfolio, trades, strategies, news, backtest 2026-02-22 15:54:44 +00:00
docker fix: resolve 13 important issues from code review 2026-02-22 17:58:01 +00:00
docs/plans Add sprint plan — 6 sprints with goals and acceptance criteria 2026-02-22 15:08:17 +00:00
scripts feat: integration tests, seed data, and smoke test script 2026-02-22 16:02:44 +00:00
services feat: real data pipeline — market data, DB persistence, portfolio sync, signal-trade linkage 2026-02-22 19:52:45 +00:00
shared feat: real data pipeline — market data, DB persistence, portfolio sync, signal-trade linkage 2026-02-22 19:52:45 +00:00
tests feat: real data pipeline — market data, DB persistence, portfolio sync, signal-trade linkage 2026-02-22 19:52:45 +00:00
.env.example feat: real data pipeline — market data, DB persistence, portfolio sync, signal-trade linkage 2026-02-22 19:52:45 +00:00
.gitignore feat: docker compose infrastructure — postgres+timescaledb, redis, ollama 2026-02-22 15:11:50 +00:00
alembic.ini feat: database models and alembic migrations — all tables per design 2026-02-22 15:17:07 +00:00
docker-compose.yml feat: real data pipeline — market data, DB persistence, portfolio sync, signal-trade linkage 2026-02-22 19:52:45 +00:00
pyproject.toml feat: integration tests, seed data, and smoke test script 2026-02-22 16:02:44 +00:00