How tristanodonnell/autonomous-trading-platform works
The Autonomous Trading Platform carries market data and reproducible research through strategy validation, portfolio allocation, risk/governance, and order execution; one contract chain serves backtests, paper trading, and the currently disabled live mode. The frontend exposes dashboard, portfolio, strategy, experiment, controls, and settings workflows over backend endpoints. The graph preserves README-described capabilities where source excerpts were not sampled; those links represent documented flows, not inspected call sites. Sampled ingestion and query services support the ingestion, checkpoint, and dataset-state relationships shown.
Main entry points: order_execution_service.py Order execution · storage Market data store · ingestion Data ingestion · services Experiment validation
Components 20
Operator experience
- Trading console
frontend/src/App.tsx - API services
frontend/src/services - Backend API
src/autonomous_trading_platform/api
Market data
- Data ingestion
src/autonomous_trading_platform/ingestion - Ingestion checkpoints
src/autonomous_trading_platform/ingestion/market_data/services/incremental_ingestion_checkpoint_service.py - Dataset lineage
src/autonomous_trading_platform/runtime/services/dataset_version_query_service.py - Market data store
src/autonomous_trading_platform/storage
Research and simulation
- Feature engineering
src/autonomous_trading_platform/feature_engineering - Strategy research
src/autonomous_trading_platform - Experiment validation
src/autonomous_trading_platform/application/services - Backtest and replay
src/autonomous_trading_platform/application/services/platform_backtest_service.py
Governance and portfolio
- Strategy governance
src/autonomous_trading_platform/application/services/strategy_governance_service.py - Portfolio allocation
src/autonomous_trading_platform/portfolio/portfolio_engine.py - Risk and controls
src/autonomous_trading_platform/application/services/drawdown_governance_service.py
Trading runtime
- Order execution
src/autonomous_trading_platform/execution/services/order_execution_service.py - System of record
src/autonomous_trading_platform/storage/sor - Portfolio reporting
src/autonomous_trading_platform/application/services/portfolio_analytics_service.py
Other components
- Operator
- Market data provider
- Broker
Connections 23
- Operator → Trading console: uses
- Trading console → API services: requests data
- API services → Backend API: calls endpoints
- Market data provider → Data ingestion: provides bars
- Data ingestion → Ingestion checkpoints: tracks progress
- Data ingestion → Market data store: writes market data
- Ingestion checkpoints → Market data store: persists checkpoints
- Dataset lineage → Market data store: queries lineage
- Market data store → Feature engineering: supplies datasets
- Feature engineering → Strategy research: provides features
- Strategy research → Experiment validation: evaluates candidates
- Experiment validation → Backtest and replay: validates results
- Dataset lineage → Experiment validation: selects datasets
- Backtest and replay → Strategy governance: reports performance
- Strategy governance → Portfolio allocation: qualifies strategies
- Portfolio allocation → Risk and controls: sets exposure
- Risk and controls → Order execution: authorizes orders
- Order execution → Broker: submits orders
- Broker → Order execution: returns fills
- Order execution → System of record: records trades
- System of record → Portfolio reporting: supplies account state
- Portfolio reporting → Backend API: serves metrics
- Order execution → Backtest and replay: shares contracts