// INFRASTRUCTURE

System Architecture

A distributed trading engine spanning 3 servers, 8 AI agents, and sub-second execution on Hyperliquid.

Server Infrastructure

Three geographically distributed nodes, each purpose-built for its role.

Hostinger

AI Hub

Kaleo AI orchestration layer. 8 specialized agents with memory, learning, and LLM routing. Discord + WhatsApp integration.

Kaleo Agents LLM Router n8n Pulse

InterServer

Live Trading

Production execution environment. Runs all live strategies against Hyperliquid with real capital. Sub-second order placement.

Trade Engine Risk Engine Position Mgr

Contabo

Fast Assistant

Low-latency compute node for auxiliary services, email management, and fast data processing tasks.

Email Ops Data Sync Fast Compute

Risk Framework

Institutional-grade risk management. Every trade passes through multiple safety layers before execution.

Kelly Criterion Sizing

Fractional Kelly at 25% of raw Kelly output. Calculates mathematically optimal position size based on edge and win rate. Negative Kelly = zero allocation.

Kelly fraction 1-5% per trade
Hard stop 2% max loss

Circuit Breakers

Statistical circuit breakers using binomial distribution to detect when losses exceed normal variance. 5% daily loss limit triggers a global stop across all strategies.

Daily loss limit 5% of equity
Detection Binomial dist.

TP:SL Validation

Win-rate-aware take profit to stop loss ratios. Every order is validated against minimum TP:SL thresholds derived from historical win rate. Inverted ratios are blocked.

ATR stops Preferred
Trailing +0.5% activate, 2% trail

Tech Stack

Purpose-selected tools. No bloat, no frameworks for the sake of frameworks.

Python
Core engine
SvelteKit
This site
Three.js
3D visuals
GSAP
Animations
Hyperliquid
Exchange
SQLite
Data store
Discord
Alerts + ops
WhatsApp
Mobile alerts