summaryrefslogtreecommitdiff
path: root/services/strategy-engine/src/strategy_engine/main.py
AgeCommit message (Collapse)Author
14 hoursrefactor: remove all crypto/Binance code, update to US stock symbolsTheSiahxyz
15 hoursrefactor: migrate to US stocks with Alpaca APITheSiahxyz
- Replace Binance/ccxt with Alpaca REST client (paper + live) - Add MOC (Market on Close) strategy for overnight gap trading - Wire sentiment into strategy engine main loop - Add EMA + bullish candle entry filters to Asian RSI - Remove crypto-specific exchange factory - Update config: Alpaca keys replace Binance keys - 399 tests passing, lint clean
15 hoursrefactor: replace Binance/ccxt with Alpaca API client for US stocksTheSiahxyz
15 hoursfeat: wire sentiment into engine + add EMA/bullish candle entry filtersTheSiahxyz
31 hoursfix: lint cleanup after critical and high priority fixesTheSiahxyz
31 hoursfix: WS factory, backtester config, CI docker builds, health port docsTheSiahxyz
31 hoursfix(strategy-engine): process multiple symbols concurrently with asyncio.gatherTheSiahxyz
31 hoursfix: lint cleanup for API, combined strategy, and formattingTheSiahxyz
31 hoursfeat(security): add bearer token auth for health/metrics endpointsTheSiahxyz
32 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
33 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().
33 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