| Age | Commit message (Collapse) | Author |
|
Add metrics.py with TradeRecord/DetailedMetrics dataclasses and
compute_detailed_metrics() that pairs BUY/SELL trades FIFO, computes
win/loss stats, profit factor, equity curve, max drawdown, Sharpe,
Sortino, Calmar ratios, and monthly returns.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Replace logging.basicConfig/getLogger with structlog setup_logging in all
four service entry points. Add HealthCheckServer, ServiceMetrics, and
TelegramNotifier initialization to each service. Update OrderExecutor to
accept a notifier parameter and send order notifications. Add
RedisBroker.ping() for health checks. Update executor tests with
notifier=AsyncMock().
|
|
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
|