summaryrefslogtreecommitdiff
path: root/services/portfolio-manager
AgeCommit message (Collapse)Author
12 hoursstyle: auto-fix lint violations from enhanced ruff rulesTheSiahxyz
12 hoursrefactor: specialize exception handling across all servicesTheSiahxyz
12 hoursfeat: add graceful shutdown with SIGTERM/SIGINT handlers to all servicesTheSiahxyz
12 hoursfeat: optimize Dockerfiles with multi-stage builds, non-root user, .dockerignoreTheSiahxyz
12 hoursfeat: add config validation, SecretStr for secrets, API security fieldsTheSiahxyz
17 hoursrefactor: purge all remaining crypto/Binance referencesTheSiahxyz
- Replace BTCUSDT/SOLUSDT/ETHUSDT with AAPL/MSFT in all test files - Update backtester default symbol to AAPL - Update strategy-engine default symbols to US stocks - Update project description and CLI help text - Remove empty superpowers docs directory - Zero crypto references remaining in codebase
34 hoursfix: lint cleanup after medium priority tasksTheSiahxyz
34 hoursfeat(broker): add Redis consumer groups for reliable message processingTheSiahxyz
34 hoursfeat(portfolio): track realized PnL on sell ordersTheSiahxyz
34 hoursfix: lint cleanup after critical and high priority fixesTheSiahxyz
34 hoursfix: snapshot delay, env fields, alembic creds, API healthcheck and error ↵TheSiahxyz
handling
34 hoursfix: lint cleanup for API, combined strategy, and formattingTheSiahxyz
35 hoursfeat(security): add bearer token auth for health/metrics endpointsTheSiahxyz
35 hoursfeat(portfolio): add periodic portfolio snapshots and daily Telegram summaryTheSiahxyz
35 hoursfix: clean up backtester strategy loading and update DockerfilesTheSiahxyz
36 hoursfix: resolve lint issues and final integration fixesTheSiahxyz
- Fix ambiguous variable name in binance_rest.py - Remove unused volumes variable in volume_profile_strategy.py - Fix import ordering in backtester main.py and test_metrics.py - Auto-format all files with ruff
36 hoursfeat(services): integrate structlog, healthcheck, metrics, and TelegramTheSiahxyz
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().
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