Trading Bots
Overview
System Architecture
┌─────────────────────────────────────────────────────────────┐
│ Trading Bot (Node.js) │
│ ┌─────────────┐ ┌──────────────┐ ┌──────────────────┐ │
│ │ Bot.ts │─▶│ Helper.ts │─▶│ Strategies.sol │ │
│ │ (Orchestr.) │ │ (Route Logic)│ │ (Smart Contract) │ │
│ └─────────────┘ └──────────────┘ └──────────────────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌──────────────────────────────────────────────────┐ │
│ │ Shared Data Layer (Cached) │ │
│ │ • Prices • Flashloan Data • Pool State │ │
│ └──────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────┘
│
┌─────────────────┼─────────────────┐
▼ ▼ ▼
┌───────────┐ ┌────────────┐ ┌──────────┐
│ Ethereum │ │ Price │ │ BetterSt.│
│ RPC │ │ API │ │ Logging │
└───────────┘ └────────────┘ └──────────┘Arbitrage Strategies
Route 1: MONZA (Nested Flashloan Arbitrage)
Route 2: SUZUKA (Single Token Arbitrage)
Route 3: MUGELLO (Unwanted Token Disposal)
Route 4: SPA (Premium Flashloan Strategy)
Route 5: ASSEN (Aave Deposit-and-Swap)
Route 6: PHILLIP ISLAND (Aave Buy-and-Redeem)
Bot Runtime
Property
Value
Dependencies
Performance Metrics
Metric
Value
Deployment
Bot Output Example
Last updated
