How clement-bbier/apex works
APEX is an autonomous quantitative trading system. Its principal workflow takes market data through signal generation, regime assessment, fusion, risk approval, and execution; analytics, macro context, feedback, and monitoring support that trading loop. The README documents the service sequence, while the source index confirms several internal service dependencies and shared infrastructure. The graph also preserves the documented backtesting capability. Some service internals and cross-service transport details were not sampled, so edges show only documented relationships rather than inferred call chains.
Main entry points: fusion_engine/service.py Fusion engine · data_ingestion Data ingestion · pipeline.py Signal engine · risk_manager/service.py Risk manager
Components 20
Market data
- Data ingestion
services/data_ingestion - Timescale data
core/data/timescale_repository.py - Data panels
services/data/panels/service.py
Trading workflow
- Signal engine
services/signal_engine/pipeline.py - Regime detector
services/regime_detector/regime_engine.py - Strategies
services/strategies - Fusion engine
services/fusion_engine/service.py - Strategy allocator
services/portfolio/strategy_allocator/service.py - Risk manager
services/risk_manager/service.py - Execution
services/execution/order_manager.py
Research and analytics
- Quant analytics
services/quant_analytics/service.py - Macro intelligence
services/macro_intelligence/service.py - Trade feedback
services/feedback_loop/service.py
Platform and operations
- Operator console
services/command_center/console/app.py - Messaging and state
core/base_service.py - Monitoring
services/command_center/alert_engine.py
Backtesting
- Backtesting
backtesting/engine.py - Backtest reports
backtesting/metrics/report.py
Other components
- Operator
- Market sources
Connections 18
- Market sources → Data ingestion: provide data
- Data ingestion → Signal engine: feeds workflow
README.md - Data ingestion → Timescale data: persists data
services/data_ingestion/serving/app.py - Timescale data → Data panels: supplies data
- Signal engine → Regime detector: precedes
README.md - Regime detector → Fusion engine: precedes
README.md - Strategies → Fusion engine: feeds workflow
- Fusion engine → Risk manager: precedes
README.md - Strategy allocator → Risk manager: supports allocation
- Risk manager → Execution: precedes
README.md - Quant analytics → Fusion engine: supports workflow
README.md - Macro intelligence → Fusion engine: supports workflow
README.md - Execution → Trade feedback: feeds feedback
README.md - Operator → Operator console: operates
README.md - Operator console → Monitoring: views operations
- Signal engine → Messaging and state: uses shared services
- Operator → Backtesting: runs backtests
README.md - Backtesting → Backtest reports: produces reports