Viktor Barzin
e6ae4bdccd
feat: integration tests, seed data, and smoke test script
...
Add integration tests for the news pipeline (test_news_pipeline.py) and
trading flow (test_trading_flow.py) using real Redis with mocked FinBERT
and Alpaca. Add seed_strategies.py to insert default strategies (momentum,
mean_reversion, news_driven) with equal weights. Add smoke_test.sh for
end-to-end stack validation. Update pyproject.toml with integration marker
and scripts package discovery.
2026-02-22 16:02:44 +00:00
Viktor Barzin
b255b3edbe
feat: dockerfiles and full docker-compose orchestration
...
Add multi-stage Dockerfiles for Python services (Dockerfile.service) and
React dashboard (Dockerfile.dashboard + nginx.conf). Update docker-compose.yml
with all seven application services: news-fetcher, sentiment-analyzer,
signal-generator, trade-executor, learning-engine, api-gateway, and dashboard.
2026-02-22 16:02:34 +00:00
Viktor Barzin
e470055354
Merge branch 'worktree-agent-a46e78e2'
2026-02-22 15:55:29 +00:00
Viktor Barzin
8d6e666280
feat: dashboard trading views -- portfolio, trades, strategies, news, backtest
...
Add Layout with sidebar navigation and top bar (portfolio value, trading
status indicator). Implement Portfolio page with equity curve (TradingView
lightweight-charts), positions table, and metrics row. Add TradeLog with
filters, pagination, and expandable row details. Add Strategies page with
weight allocation pie chart and weight history line chart (Recharts). Add
NewsFeed with sentiment badges and ticker filtering. Add Backtest page
with config form, run submission, and results panel. Include WebSocket
hook for real-time cache invalidation and portfolio query hooks.
2026-02-22 15:54:44 +00:00
Viktor Barzin
f121f376ae
feat: dashboard setup with passkey authentication
...
Scaffold Vite + React + TypeScript project with Tailwind CSS dark theme.
Add Axios API client with JWT interceptor and auto-refresh, WebAuthn
passkey auth flow (register/login), protected route wrapper, and React
Router with public and protected routes.
2026-02-22 15:54:32 +00:00
Viktor Barzin
6fe586f722
feat: API gateway trading endpoints, controls, backtest, WebSocket
2026-02-22 15:54:20 +00:00
Viktor Barzin
e0d138c457
feat: API gateway with passkey (WebAuthn) authentication
2026-02-22 15:53:48 +00:00
Viktor Barzin
f218865872
Merge branch 'worktree-agent-ada4003e'
2026-02-22 15:43:54 +00:00
Viktor Barzin
5e5425a0f7
feat: backtesting engine — historical replay with shared strategies
2026-02-22 15:43:19 +00:00
Viktor Barzin
c089bcb92c
feat: learning engine — multi-armed bandit strategy weight adjustment
2026-02-22 15:43:11 +00:00
Viktor Barzin
1d9900838d
Merge branch 'worktree-agent-ad9ede16'
...
# Conflicts:
# shared/strategies/__init__.py
# shared/strategies/base.py
# shared/strategies/mean_reversion.py
# shared/strategies/momentum.py
# shared/strategies/news_driven.py
2026-02-22 15:37:25 +00:00
Viktor Barzin
3fef8a631c
feat: trade executor — risk management and order execution
2026-02-22 15:36:08 +00:00
Viktor Barzin
f3e5fc944d
feat: signal generator — weighted ensemble with market data
2026-02-22 15:36:04 +00:00
Viktor Barzin
60bd1ccd2a
feat: trading strategies — momentum, mean reversion, news-driven
2026-02-22 15:32:18 +00:00
Viktor Barzin
e483e9987f
Merge branch 'worktree-agent-a6b241b2'
2026-02-22 15:27:54 +00:00
Viktor Barzin
3430a28897
Merge branch 'worktree-agent-a9a67d70'
2026-02-22 15:27:52 +00:00
Viktor Barzin
6952a829ae
feat: sentiment analyzer — FinBERT + Ollama tiered analysis
2026-02-22 15:27:06 +00:00
Viktor Barzin
5696da6472
feat: brokerage abstraction layer with Alpaca implementation
2026-02-22 15:26:41 +00:00
Viktor Barzin
90b52a5144
feat: news fetcher service — RSS and Reddit sources
2026-02-22 15:25:27 +00:00
Viktor Barzin
9f46071502
chore: remove alembic versions pycache [ci skip]
2026-02-22 15:20:19 +00:00
Viktor Barzin
3560c64c33
chore: remove cached pycache files [ci skip]
2026-02-22 15:20:15 +00:00
Viktor Barzin
a0c291afad
Merge branch 'worktree-agent-a57ca109'
2026-02-22 15:20:10 +00:00
Viktor Barzin
c8277e301e
feat: pydantic schemas for all service message types
...
- shared/schemas/trading.py: OrderRequest, OrderResult, PositionInfo,
AccountInfo, TradeSignal, TradeExecution, MarketSnapshot, SentimentContext
- shared/schemas/news.py: RawArticle, ScoredArticle
- shared/schemas/learning.py: TradeOutcomeSchema, WeightAdjustment
- shared/schemas/auth.py: RegisterRequest, LoginRequest, TokenResponse
- 49 schema tests covering validation constraints, serialization round-trips,
required fields, and range checks
2026-02-22 15:19:00 +00:00
Viktor Barzin
72cb1b6fe5
feat: database models and alembic migrations — all tables per design
...
- shared/db.py: async engine + session factory
- shared/models/base.py: DeclarativeBase + TimestampMixin
- shared/models/trading.py: Strategy, Signal, Trade, Position, StrategyWeightHistory
- shared/models/news.py: Article, ArticleSentiment
- shared/models/learning.py: TradeOutcome, LearningAdjustment
- shared/models/auth.py: User, UserCredential
- shared/models/timeseries.py: MarketData, PortfolioSnapshot, StrategyMetric
- Alembic async env.py with initial migration including TimescaleDB hypertables
- 21 model tests covering enums, instantiation, metadata registration
2026-02-22 15:17:07 +00:00
Viktor Barzin
ae5b3f89d1
feat: project foundation — monorepo setup, shared config, redis streams, telemetry
...
- pyproject.toml with core deps and optional dep groups per service
- shared/config.py: Pydantic BaseSettings with TRADING_ env prefix
- shared/redis_streams.py: StreamPublisher/StreamConsumer wrappers
- shared/telemetry.py: OpenTelemetry + Prometheus metric export
- tests for Redis Streams helpers (5 passing)
2026-02-22 15:13:26 +00:00
Viktor Barzin
75c8d5d203
feat: docker compose infrastructure — postgres+timescaledb, redis, ollama
2026-02-22 15:11:50 +00:00
Viktor Barzin
0ac9884b89
Add sprint plan — 6 sprints with goals and acceptance criteria
...
[ci skip]
2026-02-22 15:08:17 +00:00
Viktor Barzin
9d9f291889
Add trading bot implementation plan — 18 tasks across 7 phases
...
Covers: foundation, docker infra, models, schemas, broker abstraction,
news pipeline, sentiment analysis, strategies, signal generation,
trade execution, learning engine, backtesting, API gateway with
passkey auth, React dashboard, containerization, and integration tests.
[ci skip]
2026-02-22 15:03:58 +00:00
Viktor Barzin
ab0c932287
Add observability and authentication sections to trading bot design
...
Add OpenTelemetry instrumentation plan with /metrics endpoints for
external Prometheus scraping, and passkey/WebAuthn authentication flow
with JWT sessions.
[ci skip]
2026-02-22 14:41:38 +00:00
Viktor Barzin
bd3ff169e3
Add trading bot design document
...
Event-driven microservices architecture for a news sentiment + technical
strategy trading bot with continuous learning via strategy weight adjustment.
2026-02-22 13:53:57 +00:00