How victorh-silveira/aether-quantum-engine works
Aether Quantum Engine is an asynchronous quantitative trading system for Deriv Rise/Fall contracts. Its operational path starts with engine configuration and authentication, consumes market streams, evaluates indicator and trading signals, sizes and gates orders, then submits trades and tracks settlement. Training, pullback research, and deep-learning services are separate capabilities alongside live execution. The graph emphasizes relationships visible in the sampled files and SOURCE INDEX; unsampled subsystem links are omitted where their callers could not be verified.
Main entry points: execution_manager_execute.py Order Sizing · trade_handler.py Trade Handler · engine_session.py Engine Bootstrap · websocket_manager.py WebSocket Client
Components 27
Engine Control
- Engine Bootstrap
src/application/services/orchestrator/engine_session.py - Deriv Authentication
src/application/services/auth_manager.py - Engine Modes
src/application/services/orchestrator/engine_mode.py - Execution Manager
src/application/services/orchestrator/execution_manager.py
Market Data
- Market Stream
src/infrastructure/handlers/stream_handler.py - WebSocket Client
src/infrastructure/api/websocket_manager.py - Market Models
src/domain/models/market_data.py
Signals and Models
- Indicator Service
src/indicator/service.py - Indicator Model
src/indicator/model.py - Pullback Research
src/indicator/research_pipeline.py - Deep Learning
src/application/services/deep_learning - Indicator Consensus
src/application/services/indicator_consensus.py
Trading and Risk
- Order Sizing
src/application/services/orchestrator/execution_manager_execute.py - Risk Manager
src/domain/risk/risk_manager.py - Stake Sizing
src/domain/risk/stake_sizing.py - Trade Handler
src/infrastructure/handlers/trade_handler.py - Quote EV Guard
src/application/services/rise_fall_quote_guard.py - Trade Contracts
src/domain/models/trade.py
State and Infrastructure
- Deriv REST Client
src/infrastructure/api/deriv_rest_client.py - State Manager
src/infrastructure/state/state_manager.py - Persistence Manager
src/infrastructure/state/persistence_manager.py - Redis State Pipeline
src/infrastructure/state/redis_state_pipeline.py - Timescale Writer
src/infrastructure/market/timescale_writer.py
Other components
- Operator
- Deriv API
- Redis
- TimescaleDB
Connections 25
- Operator → Engine Bootstrap: starts
README.md - Engine Bootstrap → Deriv Authentication: creates auth
src/application/services/orchestrator/engine_session.py - Engine Bootstrap → Engine Modes: applies mode
src/application/services/orchestrator/engine_session.py - Engine Bootstrap → Risk Manager: validates config
src/application/services/orchestrator/engine_session.py - Deriv Authentication → Deriv REST Client: creates client
src/application/services/auth_manager.py - Deriv REST Client → Deriv API: requests account
README.md - Execution Manager → Order Sizing: delegates orders
src/application/services/orchestrator/execution_manager.py - Order Sizing → Indicator Consensus: reads consensus
src/application/services/orchestrator/execution_manager_execute.py - Order Sizing → Stake Sizing: sizes stake
src/application/services/orchestrator/execution_manager_execute.py - Order Sizing → Quote EV Guard: checks quote
src/application/services/orchestrator/execution_manager_execute.py - Order Sizing → Trade Contracts: uses trade types
src/application/services/orchestrator/execution_manager_execute.py - Market Stream → WebSocket Client: receives stream
src/infrastructure/handlers/stream_handler.py - Market Stream → Market Models: builds market data
src/infrastructure/handlers/stream_handler.py - WebSocket Client → Deriv API: connects
README.md - Indicator Service → Indicator Model: uses model
src/indicator/service.py - Indicator Model → Pullback Research: supports research
src/indicator/research_pipeline.py - Indicator Consensus → Timescale Writer: writes evidence
src/application/services/indicator_consensus.py - Execution Manager → Risk Manager: uses risk state
src/application/services/orchestrator/execution_manager.py - Trade Handler → WebSocket Client: submits trades
src/infrastructure/handlers/trade_handler.py - Trade Handler → Quote EV Guard: checks quote EV
src/infrastructure/handlers/trade_handler.py - Trade Handler → Trade Contracts: returns contract
src/infrastructure/handlers/trade_handler.py - Trade Handler → Deriv API: may use REST
README.md - State Manager → Persistence Manager: delegates persistence
src/infrastructure/state/state_manager.py - Redis State Pipeline → Redis: writes state
README.md - Timescale Writer → TimescaleDB: persists market data
README.md