summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
35 hoursfeat(shared): add structlog-based structured loggingTheSiahxyz
35 hoursfeat: rewrite database layer from asyncpg to SQLAlchemy 2.0 async ORMTheSiahxyz
Replace raw asyncpg SQL with SQLAlchemy async engine, async_sessionmaker, and ORM operations. Uses session.merge for candle upserts, session.add for signal/order inserts, update() for status changes, select() for queries. Auto-converts postgresql:// URLs to postgresql+asyncpg://. Keeps init_tables() as backward-compatible alias for connect().
35 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.
36 hoursfeat: initial trading platform implementationTheSiahxyz
Binance spot crypto trading platform with microservices architecture: - shared: Pydantic models, Redis Streams broker, asyncpg DB layer - data-collector: Binance WebSocket/REST market data collection - strategy-engine: Plugin-based strategy execution (RSI, Grid) - order-executor: Order execution with risk management - portfolio-manager: Position tracking and PnL calculation - backtester: Historical strategy testing with simulator - cli: Click-based CLI for all operations - Docker Compose orchestration with Redis and PostgreSQL - 24 test files covering all modules
36 hourschore: add .worktrees/ to gitignoreTheSiahxyz
36 hoursdocs: add implementation plan for operations and strategy expansionTheSiahxyz
16-task TDD plan covering SQLAlchemy migration, structlog, Telegram notifications, resilience patterns, Prometheus metrics, 5 new trading strategies, and enhanced backtesting with detailed metrics.
36 hoursdocs: add operations infrastructure & strategy expansion design specTheSiahxyz
Covers DB migration (SQLAlchemy 2.0 + Alembic), structured logging (structlog), Telegram notifications, error recovery with circuit breakers, Prometheus metrics, and 5 new trading strategies (MACD, Bollinger Bands, EMA Crossover, VWAP, Volume Profile) with enhanced backtesting metrics.