System Architecture

A high-performance pipeline from raw exchange data to autonomous trade execution.

🖥️
1. Presentation Layer
Dashboard UI
Modern glassmorphic interface built with vanilla HTML/JS/CSS for zero-overhead rendering.
Feature Heatmaps
Real-time visualizations of 28 distinct market features fed into the AI.
⚙️
2. API & Orchestration
Flask Server
High-concurrency Python backend serving REST endpoints and managing state locks.
Ensemble Routing
Aggregates signals from PPO Brain and deterministic technical indicators.
Live Rewards
Tracks total PnL, win rates, and Sharpe ratio continuously during live trading.
🧠
3. Intelligence Layer
PPO Neural Network
Proximal Policy Optimization model using PyTorch to output Q-values and action probabilities.
Feature Extraction
Transforms 1,500 rows of raw 1m candles into 28 normalized features per market.
🏦
4. Exchange Integrations
Kraken API
Direct REST execution with secure, local API key signing for order placement and wallet syncing.
Binance Data Feed
Fetches high-volume historical and live candle data to fuel the AI's predictions.