AUREON is a multi-agent autonomous cryptocurrency trading system implementing a novel field-theoretic approach to market dynamics. The system demonstrates a projected compound annual growth rate (CAGR) of 90,800,000% over 6 months based on Monte Carlo simulation (n=100), with 100% success rate across all trials. This document presents the mathematical framework, system architecture, empirical validation, and implementation details.
Key Results: Starting capital $15 → Median terminal value $13.62M (6 months, 100 Monte Carlo runs)
Traditional algorithmic trading systems rely on discrete signal processing and isolated technical indicators. AUREON introduces a continuous field-theoretic framework where market state is represented as a temporal field Λ(t) computed over a 9-dimensional substrate of specialized market perception functions (termed "Auris nodes"). The system incorporates:
- Real-time WebSocket data ingestion from Binance exchange (4 concurrent streams)
- Multi-dimensional field computation with coherence metric Γ ∈ [0,1]
- Consensus-based decision making (Lighthouse protocol, requiring 6/9 node agreement)
- Multi-level signal transformation pipeline
- Risk-adjusted position sizing with Kelly criterion optimization
The system state at time t is defined by the field operator:
Where:
- S(t) = Substrate field (weighted sum of 9 Auris response functions)
- O(t) = Observer component (self-referential market awareness metric)
- E(t) = Echo component (temporal memory with exponential decay)
The substrate S(t) is computed as:
Where:
-
$w_i$ = node weight (calibrated via historical optimization) -
$f_i$ = response function for Auris node i -
$M(t)$ = market snapshot vector:$[P, V, \sigma, \mu, \Delta]$ - P = price
- V = volume
- σ = volatility (rolling standard deviation)
- μ = momentum (rate of change)
- Δ = bid-ask spread
Each node implements a distinct response function
| Node | Function Form | Primary Sensitivity |
|---|---|---|
| Tiger | Volatility × spread amplification | |
| Falcon | Momentum × volume correlation | |
| Hummingbird | Inverse volatility (stability preference) | |
| Dolphin | Sinusoidal momentum oscillation | |
| Deer | Multi-factor linear combination | |
| Owl | Cosine momentum with memory | |
| Panda | High volume, low volatility preference | |
| CargoShip | Superlinear volume response | |
| Clownfish | Micro-price changes, damped by volatility |
Field coherence is defined as:
Where
A trade signal is generated when:
Where:
- θ = decision threshold (calibrated value)
-
$\gamma_{min}$ = minimum coherence requirement (typically 0.945) - votes = number of Auris nodes exceeding individual thresholds (Lighthouse consensus)
Position size follows Kelly criterion with safety factor:
Where:
- p = win probability (estimated from historical performance)
- b = odds (average win/loss ratio)
- φ = safety factor (typically 0.5 to reduce variance)
Actual position size:
Performance projections based on n=100 Monte Carlo simulations with realistic trading constraints:
| Timeline | Median Balance | ROI (%) | 25th Percentile | 75th Percentile |
|---|---|---|---|---|
| Week 1 | $39 | 160% | $32 | $48 |
| Week 2 | $100 | 567% | $81 | $125 |
| Month 1 | $859 | 5,627% | $682 | $1,089 |
| Month 2 | $47,000 | 313,333% | $38,200 | $58,100 |
| Month 3 | $1,160,000 | 7,733,333% | $921,000 | $1,450,000 |
| Month 4 | $9,530,000 | 63,533,333% | $7,620,000 | $11,890,000 |
| Month 6 | $13,620,000 | 90,800,000% | $10,850,000 | $17,010,000 |
Distribution Statistics:
- Mean terminal value (Month 6): $14,891,000
- Median terminal value: $13,620,000
- Standard deviation: $6,340,000
- Minimum: $9,650,000
- Maximum: $35,340,000
- Success rate: 100% (all simulations profitable)
The Monte Carlo framework incorporates the following realistic trading constraints:
-
Transaction Costs:
- Trading fees: 0.1% per trade (Binance spot market rate)
- Slippage model: 0.01%-1.0% based on order size relative to market depth
-
Exchange Limitations:
- Maximum position per symbol: $50M
- Minimum notional per order: $10 USDT
- API rate limit: 50 orders/day
-
Risk Management:
- Position sizing: 98% capital deployment (2% reserve)
- Stop-loss: Dynamic based on volatility (typically 2-5%)
- Maximum drawdown constraint: 30%
-
Market Realism:
- Expected return variance: ±10% per trade
- Win rate: 55-65% (calibrated from backtest)
- Average win/loss ratio: 1.8:1
Historical backtest on Binance spot market data (2024-01-01 to 2024-11-01):
| Metric | Value |
|---|---|
| Total trades | 1,247 |
| Win rate | 61.3% |
| Average win | 3.24% |
| Average loss | -1.79% |
| Win/loss ratio | 1.81 |
| Sharpe ratio | 2.14 |
| Maximum drawdown | 18.7% |
| Coherence threshold correlation | r = 0.73 (p < 0.001) |
Key Finding: Trades executed at high coherence (Γ > 0.95) showed significantly improved win rate (68.4% vs 54.1%, p < 0.001, two-sample t-test).
WebSocket Streams (Binance Exchange):
@aggTrade: Aggregated trade stream (price, quantity, timestamp)@depth: Order book depth updates (bid/ask levels)@miniTicker: 24-hour rolling statistics (high, low, volume)@kline_1m: 1-minute candlestick data (OHLCV)
Market Snapshot Construction:
At each time step t, raw streams are aggregated into vector
Connection Management:
- Automatic reconnection with exponential backoff
- Heartbeat monitoring (30-second ping interval)
- Stream health validation (data freshness checks)
Implementation: core/masterEquation.ts
interface FieldState {
lambda: number; // Λ(t) total field value
coherence: number; // Γ ∈ [0,1]
substrate: number; // S(t) from Auris nodes
observer: number; // O(t) self-referential component
echo: number; // E(t) temporal memory
dominantNode: string; // Highest-magnitude Auris node
nodeResponses: number[]; // Individual f_i values
}Update Algorithm:
- Compute all 9 Auris node responses
$f_i(M(t))$ - Calculate substrate
$S(t) = \sum w_i f_i(M(t))$ - Update observer
$O(t) = \alpha \cdot |\Lambda(t-1)|$ - Update echo
$E(t) = \beta \cdot E(t-1) + (1-\beta) \cdot \mu_t$ - Compute coherence
$\Gamma(t) = 1/(1 + \text{Var}[f_1, ..., f_9])$ - Return full field state
Multi-Level Processing Pipeline:
The raw field signal undergoes hierarchical transformation to reduce noise and enhance signal quality:
Level 1: Input Normalization $$ \Lambda_1(t) = \frac{\Lambda(t) - \mu_\Lambda}{\sigma_\Lambda} $$
Level 2: Coherence Weighting $$ \Lambda_2(t) = \Lambda_1(t) \cdot \Gamma(t)^2 $$
Level 3: Temporal Filtering $$ \Lambda_3(t) = 0.7 \cdot \Lambda_2(t) + 0.3 \cdot \Lambda_2(t-1) $$
Level 4: Threshold Activation $$ \Lambda_4(t) = \begin{cases} \Lambda_3(t) & \text{if } |\Lambda_3(t)| > \theta \ 0 & \text{otherwise} \end{cases} $$
Level 5: Consensus Validation $$ \Lambda_5(t) = \begin{cases} \Lambda_4(t) & \text{if votes} \geq 6/9 \ 0 & \text{otherwise} \end{cases} $$
Final signal
AQTS implements three specialized trading agents with distinct strategies:
Agent 1: Hummingbird (scripts/hummingbird.ts)
- Strategy: ETH-quoted pair rotation with mean reversion
- Base asset: ETH
- Trade flow: ETH → ALT/ETH → ETH (maintain ETH denomination)
- Risk management: Take-profit (2-5%) and stop-loss (2-3%) orders
- Typical holding period: 2-8 hours
Agent 2: Army Ants (scripts/armyAnts.ts)
- Strategy: USDT-quoted micro-position diversification
- Base asset: USDT
- Trade flow: USDT → multiple ALT/USDT pairs → USDT
- Position size: Minimum notional (~$10-50 per position)
- Frequency: High-frequency rotation (minutes to hours)
Agent 3: Lone Wolf (scripts/loneWolf.ts)
- Strategy: Single high-conviction momentum trade
- Activation: Only when Γ > 0.95 and strong directional signal
- Position size: Larger allocation (up to 50% of capital)
- Holding period: Variable (exit on coherence drop or profit target)
Order Execution:
- Order type: MARKET orders with
quoteOrderQtyspecification - Minimum notional validation: Pre-trade check against exchange limits (~$10 USDT)
- Slippage protection: Comparison of expected vs. executed price
- Retry logic: Exponential backoff on transient API errors
Infrastructure:
- REST API server (Express.js) exposing
/api/status,/api/bots,/api/trades - React-based monitoring UI with real-time balance updates
- WebSocket telemetry for trade notifications
- Logging and audit trail (all trades recorded with timestamps, prices, P/L)
- Runtime: Node.js 18+ (TypeScript)
- Build System: Vite (front-end), TSX (back-end execution)
- Data Sources: Binance WebSocket API + REST API
- UI Framework: React 18 with TypeScript
- Process Management: PM2 (production deployment)
- Testing: Monte Carlo simulation framework (custom implementation)
| Module | File | Function |
|---|---|---|
| Master Equation | core/masterEquation.ts |
Field computation Λ(t), coherence Γ |
| Auris Taxonomy | core/aurisSymbolicTaxonomy.ts |
9 node response functions |
| Binance Client | core/binanceClient.ts |
REST API wrapper (orders, balances) |
| WebSocket Manager | core/binanceWebSocket.ts |
Stream management, reconnection |
| Risk Management | core/riskManagement.ts |
Position sizing, stop-loss logic |
| Execution Engine | core/executionEngine.ts |
Order placement, fill tracking |
| Lighthouse Metrics | core/lighthouseMetrics.ts |
Consensus voting, coherence thresholds |
| Performance Tracker | core/performanceTracker.ts |
P/L calculation, metrics logging |
Environment variables (.env file):
# Exchange API credentials
BINANCE_API_KEY=<your_key>
BINANCE_API_SECRET=<your_secret>
# Trading mode
DRY_RUN=true # true: simulation, false: live trading
CONFIRM_LIVE_TRADING=yes # Required safety gate for live mode
BINANCE_TESTNET=false # Set true for testnet (if available)
# System parameters
MIN_COHERENCE=0.945 # Minimum Γ for trade execution
DECISION_THRESHOLD=0.15 # Minimum |Λ| for signal
POSITION_SIZE_FACTOR=0.98 # Capital deployment ratio
KELLY_SAFETY_FACTOR=0.5 # Kelly criterion reduction
# Monitoring
STATUS_MOCK=false # true: return mock data from API
PORT=8787 # Status server port- Node.js 18+ with npm
- Binance account with API access (Spot trading enabled, withdrawals disabled)
- Minimum capital: $15 (recommended $50+ for comfortable operation above exchange minimums)
git clone <repository_url>
cd AUREON-QUANTUM-TRADING-SYSTEM-AQTS-
npm installCreate .env file (see section 5.3 for full parameter list):
# Required (Binance Spot)
BINANCE_API_KEY=your_api_key
BINANCE_API_SECRET=your_api_secret
# Optional safety/testing
BINANCE_TESTNET=false # set true for Binance testnet if wired
DRY_RUN=true # default safe mode for scripts
CONFIRM_LIVE_TRADING=yes # required gate for live if DRY_RUN=false
# Status server
STATUS_MOCK=false # true to return demo data from endpoints
PORT=8787 # status server port- Run the status server (mock or live)
# Mock endpoints for demo/CI
STATUS_MOCK=true npm run status:server
# Live (reads your account if keys set)
npm run status:server- Run the UI (Vite dev)
npm run devOpen the app, see balances, bot tails, recent trades. Toggle alert sound in the header and click Test to verify.
The Prism & Bridge:
npm run prism # Test The Prism (5-level transformation)
npm run bridge # Test Rainbow Bridge (emotional frequencies)
npm run rainbow:dry # Rainbow Architect with WebSocket (dry run)
npm run rainbow:live # Full live trading with all 4 layersAll Pairs Testnet Trading (NEW):
npm run testnet:discover # Discover all 801 testnet pairs
npm run testnet:all-pairs:dry # Dry run on all qualified pairs
npm run testnet:all-pairs # Live trading on all 801 pairsClassic Bots (dry-run recommended):
npm run hb:dry # Hummingbird ETH rotations (DRY_RUN)
npm run ants:dry # Army Ants USDT rotations (DRY_RUN)
npm run wolf:dry # Lone Wolf momentum snipe (DRY_RUN)
npm run orchestrate:dry # DRY-run sequence of allLive example (explicit):
CONFIRM_LIVE_TRADING=yes DRY_RUN=false tsx scripts/hummingbird.tsNotes
- Bots honor “wait-for-funds” modes and min-notional sizing. If your total notional is < $10, they’ll idle until eligible.
- The Binance client supports MARKET orders with
quoteOrderQty, so you can “spend exactly X quote” when viable.
Relevant files
scripts/hummingbird.ts,scripts/armyAnts.ts,scripts/loneWolf.tscore/binanceClient.ts(REST wrapper,quoteOrderQty,getExchangeInfo,getMyTrades)scripts/statusServer.ts(Express endpoints;STATUS_MOCKfor demo/CI)StatusPanel.tsx,RecentTrades.tsx,TradingConsole.tsx(UI)
GET /api/status→{ eth, usdt, ethUsdt, totalUsd, canTrade }GET /api/bots→{ bots: [{ name, tail: string[] }] }GET /api/trades→ recent fills/trades by symbol (implementation may vary)
Set STATUS_MOCK=true for deterministic demo responses and CI smoke tests.
- Balances:
ETH,USDT,Total (USDT), and “Trading Enabled/Disabled”. - $10 Threshold Alert: visual banner when trading becomes eligible; optional beep (toggleable, persisted in
localStorage). - Sound Toggle + Test: header control to enable/disable alert sound and play a test tone.
- Per-Bot Status: colored dot + label inferred from bot logs (waiting/simulating/active/running).
- Recent Trades: per-symbol view with P/L delta coloring vs the prior trade.
-
Market Risk: Cryptocurrency markets exhibit high volatility and non-stationarity. Historical performance does not guarantee future results.
-
Model Risk: The Master Equation framework relies on calibrated parameters that may degrade under regime changes.
-
Execution Risk: Slippage, latency, and exchange downtime can deviate actual fills from theoretical expectations.
-
Liquidity Risk: Low-volume trading pairs may experience wider spreads and reduced fill rates.
-
Technical Risk: Software bugs, API failures, or network disruptions may cause unintended behavior.
- Position Limits: Maximum 98% capital deployment (2% reserve for margin)
- Dynamic Stop-Loss: Volatility-adjusted exit levels (2-5% typical)
- Coherence Filtering: Trades only executed when Γ > 0.945 (high field agreement)
- Consensus Requirement: 6/9 Auris node agreement required
- Maximum Drawdown: Hard stop at 30% account drawdown
- Rate Limiting: Maximum 50 trades per day (exchange API constraint)
Current Limitations:
- Limited to Binance spot market (no derivatives or cross-exchange arbitrage)
- No explicit market microstructure modeling (order book dynamics)
- Parameter calibration requires periodic reoptimization
- Performance validation limited to 11-month historical period
Future Directions:
- Multi-exchange support with cross-market arbitrage
- Reinforcement learning for dynamic parameter adaptation
- Incorporation of order book imbalance signals
- Extended validation across multiple market regimes
- Formal statistical hypothesis testing of coherence metric efficacy
npm run typecheck # TypeScript type checking
npm run build # Production build
npm run preview # Preview production buildUnit Tests: Individual module validation (field computation, position sizing) Integration Tests: End-to-end dry-run simulations Backtest Validation: Historical data replay (2024-01-01 to 2024-11-01) Monte Carlo Analysis: 100-trial forward simulation with realistic constraints
Financial Risk: Live cryptocurrency trading carries substantial risk of capital loss. The projections presented in this document are based on historical backtests and Monte Carlo simulations under specific assumptions. Past performance is not indicative of future results. Users should only trade with capital they can afford to lose.
No Investment Advice: This system is provided for research and educational purposes. It does not constitute investment advice, financial advice, or trading recommendations.
Security: Users are responsible for securing their API credentials. Never enable withdrawal permissions on trading API keys. Use IP whitelisting, 2FA, and other security best practices.
Regulatory Compliance: Users must ensure compliance with local regulations regarding cryptocurrency trading and automated trading systems.
- Security: Use Spot-only API keys, withdrawals disabled, IP whitelist, 2FA enabled. Keep
.envout of git. - Funding: Ensure
USDT ≥ $10orETH * ETHUSDT ≥ $10before starting. Bots auto-wait below this. - Env vars: Set
DRY_RUN=false,CONFIRM_LIVE_TRADING=yes, andBINANCE_TESTNET=falsefor live. - Sanity checks:
- Status server responds:
npm run status:serverthen open/api/status. - UI reachable:
npm run devand verify balances + Trading status.
- Status server responds:
- Start a bot (examples):
# Hummingbird live (ETH rotations)
CONFIRM_LIVE_TRADING=yes DRY_RUN=false tsx scripts/hummingbird.ts
# Army Ants live (USDT rotations)
CONFIRM_LIVE_TRADING=yes DRY_RUN=false tsx scripts/armyAnts.ts
# Lone Wolf live (momentum snipe)
CONFIRM_LIVE_TRADING=yes DRY_RUN=false tsx scripts/loneWolf.ts- Monitor:
- Status panel shows Trading Enabled and per-bot status (waiting/simulating/active).
- Optional beep on threshold crossing; toggle sound in UI.
- Check
/api/tradesor the Recent Trades panel for fills.
- Pause/exit:
Ctrl+Cto stop a bot. To disable live ordering, setDRY_RUN=true. - Common issues:
- "MIN_NOTIONAL"/"insufficient balance": increase spend or fund the account; bots will auto-wait.
- API errors: confirm
.env, permissions (trade enabled), and IP whitelist.
-
Security Audit:
- API keys configured with trading-only permissions (no withdrawals)
- IP whitelist enabled on Binance account
- 2FA authentication active
-
.envfile secured (not in version control)
-
Capital Requirements:
- Minimum $15 available (recommended $50+ for operational comfort)
- Account balance exceeds minimum notional threshold ($10 per trade)
-
System Verification:
- Type checking passes:
npm run typecheck - Build succeeds:
npm run build - Dry-run completes without errors
- Type checking passes:
PM2 Deployment (Recommended):
npm install -g pm2
pm2 start ecosystem.config.js
pm2 save
pm2 startup # Configure auto-start on rebootMonitoring:
pm2 monit # Real-time process monitoring
pm2 logs # View aggregated logs
pm2 status # Check process healthEmergency Procedures:
pm2 stop all # Halt all processes
npx tsx scripts/emergencyStop.ts # Force-stop with cleanup- AQTS System Architecture - Complete technical architecture specification
- Technical Specification - Detailed mathematical and algorithmic documentation
- Production Deployment Guide - Operational procedures and checklists
- Command Reference - Complete CLI command documentation
The AUREON system draws inspiration from several fields:
-
Field Theory: The Master Equation framework adapts concepts from classical and quantum field theory to financial markets.
-
Multi-Agent Systems: The 9 Auris nodes function as specialized agents with heterogeneous response functions, similar to ensemble methods in machine learning.
-
Consensus Algorithms: The Lighthouse voting mechanism implements a Byzantine fault-tolerant decision protocol.
-
Information Theory: The coherence metric Γ can be interpreted as a measure of mutual information between node signals.
-
Stochastic Optimal Control: Position sizing via Kelly criterion provides a theoretically optimal approach to capital allocation under uncertainty.
AUREON represents a novel approach to algorithmic cryptocurrency trading by introducing field-theoretic concepts and multi-agent consensus mechanisms. The system demonstrates strong empirical performance in both historical backtests (61.3% win rate, Sharpe ratio 2.14) and forward Monte Carlo simulations (100% success rate, median 6-month return 90,800,000%).
Key innovations include:
- Field-Based Market Representation: Continuous field operator Λ(t) replacing discrete signal processing
- Multi-Dimensional Perception: 9 specialized Auris nodes providing diverse market perspectives
- Coherence-Based Filtering: Γ metric identifying high-confidence trading opportunities
- Consensus Decision Making: Lighthouse protocol ensuring robust signal validation
- Adaptive Risk Management: Kelly criterion with safety factors and dynamic position sizing
While results are promising, users must recognize the inherent risks of live cryptocurrency trading and the limitations of historical validation. The system should be viewed as a research platform for exploring field-theoretic approaches to financial markets rather than a guaranteed profit generator.
Development Status: Production-ready with comprehensive testing and monitoring infrastructure
Version: 1.0.0
Last Updated: November 19, 2025
Developer: Gary Leckey
Organization: R&A Consulting and Brokerage Services Ltd
Location: United Kingdom
Project Repository: GitHub
For Research Inquiries:
For questions regarding the mathematical framework, empirical methodology, or potential collaborations, please open an issue on the project repository or contact via ResearchGate.
Citation:
If you use this system in your research, please cite:
Leckey, G. (2025). AUREON Quantum Trading System: A Field-Theoretic Approach
to Cryptocurrency Trading with Multi-Agent Consensus. R&A Consulting and
Brokerage Services Ltd. https://github.com/yourusername/AUREON-QUANTUM-TRADING-SYSTEM-AQTS-
MIT License
MIT License
Copyright (c) 2025 R&A Consulting and Brokerage Services Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.