summaryrefslogtreecommitdiff
path: root/services/order-executor/src
AgeCommit message (Collapse)Author
14 hoursfeat: add config validation, SecretStr for secrets, API security fieldsTheSiahxyz
19 hoursrefactor: complete US stock migrationTheSiahxyz
- Data collector: Alpaca REST polling (replaces Binance WebSocket) - Order executor: Alpaca submit_order (replaces ccxt) - Claude stock screener: daily MOC candidate analysis - Remove ccxt/websockets dependencies - Default universe: AAPL, MSFT, GOOGL, AMZN, TSLA + 28 more - 399 tests passing, lint clean
19 hoursrefactor: update data-collector and order-executor for Alpaca APITheSiahxyz
20 hoursfeat: add market sentiment filters (Fear & Greed, CryptoPanic, CryptoQuant)TheSiahxyz
- SentimentProvider: fetches Fear & Greed Index (free, no key), CryptoPanic news sentiment (free key), CryptoQuant exchange netflow (free key) - SentimentData: aggregated should_buy/should_block logic - Fear < 30 = buy opportunity, Greed > 80 = block buying - Negative news < -0.5 = block buying - Exchange outflow = bullish, inflow = bearish - Integrated into Asian Session RSI strategy as entry filter - All providers optional — disabled when API key missing - 14 sentiment tests + 386 total tests passing
21 hoursfeat(risk): add portfolio exposure, correlation risk, and VaR checksTheSiahxyz
36 hoursfix: resolve final 3 issues for production readinessTheSiahxyz
- Fix API strategies endpoint path resolution (use STRATEGIES_DIR env var) - Add DATABASE_URL env var override in alembic env.py - Move risk config fields to shared Settings base class - Remove duplicate fields from ExecutorConfig
36 hoursfix: lint cleanup after medium priority tasksTheSiahxyz
36 hoursfeat(broker): add Redis consumer groups for reliable message processingTheSiahxyz
36 hoursfix: lint cleanup after critical and high priority fixesTheSiahxyz
36 hoursfix: WS factory, backtester config, CI docker builds, health port docsTheSiahxyz
36 hoursfix: lint cleanup for API, combined strategy, and formattingTheSiahxyz
36 hoursfeat(risk): add trailing stop, volatility sizing, and position limitsTheSiahxyz
36 hoursfeat: add multi-exchange support via ccxt factoryTheSiahxyz
36 hoursfeat(security): add bearer token auth for health/metrics endpointsTheSiahxyz
37 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
37 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().
38 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