OBELIQ stands for Open Book Execution · Liquid markets. The system walks the live Hyperliquid order book on every fill — no estimates, no synthetic prices. It is structurally complete across all six layers — live market feed, autonomous decision engine, paper-trading, real-account mirroring infrastructure, public landing page, and operator visibility. It runs at 2 Hz (twice per second), ten teams of ten quant agents trade in parallel at maximum leverage, and a Master Trader synthesizes their votes into a $100k portfolio. Real Hyperliquid orderbook depth drives every fill. Real fees, real funding, real slippage.
What's not yet wired: the auto-trader's live order placement (agent key generated but trades are mocked), a permanent persistence layer (everything lives in JSON on the container disk and resets on redeploy), and on-chain proof-of-trade linking. None of these block tonight's launch — they're polish for the post-launch window.
OBE = Open Book Execution. Every fill in this system walks the live Hyperliquid order book (subscribed via WebSocket l2Book) — accumulating size across as many price levels as the trade consumes, computing a real VWAP fill, returning realized slippage in basis points. No estimates. No simulated mid-price fills. The book IS the engine.
The acronym has a secondary, intentional reading — Out of Body Experience. Same letters. Both true. Mechanical layer for the technical reader; mystical layer for the long-term holder. LIQ stands for Liquid markets, and is the $LIQ access token on Solana.
wss://api.hyperliquid.xyz/ws
Subscribed channels per asset (BTC / ETH / SOL): trades, candle (1m), l2Book. Plus the global allMids channel for instant mid-price updates across the universe.
Refreshes funding rate, open interest, mark price, oracle price, and 24h volume from metaAndAssetCtxs.
The Auto Trader card at the bottom of the page polls your real Hyperliquid balance every 5 seconds.
| Parameter | Current | Reasoning |
|---|---|---|
| Tick rate | 500ms (2 Hz) | Every team votes twice per second on every asset |
| Margin deployment | 99% of cash | Maximum aggressive — wins compound fast, losses bite hard |
| Team leverage | MAX (asset cap) | BTC 40x · ETH 25x · SOL 20x — Hyperliquid's actual limits |
| Master leverage | MAX (asset cap) | Same — full risk on every conviction trade |
| Team open threshold | confidence > 0.42 | Lowered from 0.5 — agents fire on weaker signals |
| Master open threshold | confidence > 0.55 | Lowered from 0.7 — more frequent master trades |
| Agent decisiveness | FORCED | WAIT votes are rare — agents must pick a side per tick |
| Trailing stop activation | +0.4% profit | Lock in gains aggressively once green |
| Trailing step | 0.3% behind high-water | Tight trailing — capture more of each move |
Every trade pays the actual Hyperliquid taker fee on both legs (entry + exit). Here's the math for a typical $30,000 notional 10x trade:
Why the realized number changes by less than the position's apparent PnL: the entry fee was already paid at open (cash dropped by $13.50 then). On close, only the exit fee gets booked. So a "+$300 trade" actually settles your account by +$286.36 net of the closing fee, and your realized total grew by $272.86 once you account for the entry cost paid earlier.
The trade-history row now shows the gross, both fees, and the true net in its hover tooltip — and the displayed P&L on every closed row is the round-trip net (gross minus both fees).
Each tick, all 100 agents (10 teams × 10 variants) vote on every asset. We aggregate as follows:
The bar visualizes pressure outward from the middle: middle is 0 (no conviction), each end is 100% in that direction. When pressure crosses 70 with confirming counts, the dominant side bursts gold and the matching button morphs to ⚡ ENTER.
Every 30 minutes the engine:
Total evolution cycles run is shown in the hero strip as EVOLUTION CYCLES.
The accounting model is "Option B" — margin is conceptual, not deducted from cash. Only fees move cash on the trade leg; P&L changes cash on close. This means:
This matches what any professional paper-trading platform uses. There is no double-count. The previous version had a bug where margin was added back on close without being deducted on open — that bug is fixed across the team logic, the master logic, and the visitor paper-account logic.
The OPERATOR_ADDRESS env var is set to your EVM wallet. Public visitors see your real Hyperliquid balance, positions, and recent fills at the bottom of the page (the Auto Trader card).
Code paths exist for: Phantom EVM connect, agent keypair generation, EIP-712 typed-data signing of agent approval, encrypted at-rest storage, order placement via signL1Action. None of this is currently active for the operator account — your wallet hasn't approved an agent yet, so no real orders fire.
To activate: click CONNECT PHANTOM in the header, sign the agent approval once, then flip LIVE TRADING on. The Master Trader's decisions will then mirror to your real Hyperliquid account at the risk caps you configure.
The gate is currently in pre-launch mode: OBELIQ_PRELAUNCH=true. All features are open to everyone. When you launch the project token, set:
Visitors will then need ≥ $500 of the token in their Phantom wallet to unlock manual paper trading and live mirroring. Read-only viewing of the algorithm remains free for everyone (public proof).
| Component | Status | Notes |
|---|---|---|
| Elevator-pitch landing | SHIPPED | Positive framing only — "we built the algorithm" |
| Hero metric strip · 8 cards | SHIPPED | P&L · Runtime · Trades · Win Rate · DD · Compound · Evolution · Tick Rate |
| Three asset chart panels | SHIPPED | 3D tilt, transparent entry/stop/TP overlay, L2 depth ladder, pressure bars |
| Master Trader neural-core card | SHIPPED | Active-position block replaces old rationale; pos/neg coloring throughout |
| Banker Vault | FIXED | Ring now 200px container, proper text fit, no clipping |
| Your Paper Account | SHIPPED | Multi-position, per-card leverage, per-card vote consensus, gold flash, fee transparency |
| Voting cards · pressure halves | REDESIGNED | Middle is 0, ends are 100% — fills outward from center |
| Public leaderboard | SHIPPED | Top 25 paper traders by equity |
| 10-team arena | SHIPPED | All trading max leverage, all firing on confidence > 0.42 |
| Live vote stream + Master decision banner | SHIPPED | |
| Evolution timeline | SHIPPED | Horizontal scrollable cycles · plus counter in hero strip |
| Global command feed | SHIPPED | Every entry, exit, liquidation, loan, evolution event — public ledger |
| Auto Trader (operator real money) | SHIPPED | Live Hyperliquid state · $81.66 currently sitting in wallet |
| Phantom connect modal | SHIPPED | 3-step flow · EVM auto-detect · agent approval EIP-712 |
Right now everything (paper accounts, agent ledgers, evolution log) lives in ./data/*.json on the Railway container. This resets on every redeploy. To survive launch traffic and ongoing development, swap to a managed database:
Agent-key signing is built and tested. The mirror loop is built. What's not wired: the actual live order fire. To activate, set OPERATOR_ENABLE_TRADING=true and approve the agent through the Phantom flow.
Until then the Auto Trader card shows your real balance and any positions you manually open on Hyperliquid — but the algorithm doesn't yet auto-place orders for you.
Server-side enforcement of maxDailyLossPct (default 15%). Snapshots account equity at start of each UTC day, monitors drawdown on every mirror tick, and on breach: disables live mode, sets killSwitch=true, and closes all open positions via reduce-only IOC orders at 200bp slippage. Telegram alert fires on trigger. Resets at midnight UTC.
Server-side webhook hook fires for: Master Trader opens, daily-loss circuit triggers, smoke-test completions. Set TELEGRAM_WEBHOOK_URL env var on Railway to your bot's /sendMessage URL — no integration code needed.
Every fill in the Auto Trader card now has a ↗ link to app.hyperliquid.xyz/explorer/address/<wallet> — visitors can independently verify every trade on Hyperliquid's public block explorer.
Admin can call POST /api/admin/smoke-test (passcode header) to fire a $10 BTC LONG via the operator's approved agent, auto-close after 30 seconds, and confirm the full live-trading pipeline. Tells you within 35 seconds whether the agent → Hyperliquid path works end-to-end.
| Metric | Value |
|---|---|
| Server tick rate | 2 Hz (500ms) |
| Browser poll rate | ~1.4 Hz (700ms) |
| Per-tick work (100 agents × 3 assets) | ~2ms compute |
| State payload | ~14 KB JSON per response |
| WebSocket connection | persistent · auto-reconnect on drop |
| Memory footprint | < 80 MB resident |
| Railway plan needed | Hobby ($5/mo) sufficient at < 100 concurrent visitors |
OPERATOR_ENABLE_TRADING=true · master mirrors to your accountAll seven items are achievable in < 90 minutes once you give the green light.
The system is launch-ready as a public demo today. Every public-facing element is functional, every metric is honestly computed, every data source is live. The algorithm trades 24/7 against real Hyperliquid prices with real fees and real fills walked through the real order book.
What it isn't yet: a production financial product running real-money auto-execution for paying customers. That's two clicks and one env var away once you're ready to flip the switch — but for tonight's "watch us trade" launch, you're already there. Ship the URL, watch the visitors, then convert them with the token gate when the contract is deployed.