Overview
Reversion is a trading terminal for perpetual futures on decentralized exchanges. It combines manual trading, a visual algorithm builder, backtesting, and AI-powered agents in a single platform — all connected to Hyperliquid.
What You Can Do
Section titled “What You Can Do”A full-featured trading terminal with real-time charts, orderbook, 7 order types (market, limit, stop loss, take profit, TWAP), position management, leverage up to 50x, and a customizable mosaic panel layout.
A visual algorithm builder for creating rule-based strategies without code. Define entry/exit conditions using 40+ technical indicators, backtest against historical data, and optimize parameters with Bayesian search.
Connect AI agents (Claude Desktop, Cursor, VS Code) to the platform via the Model Context Protocol. 46 tools for market data, trading, charting, algorithms, backtesting, and optimization — all accessible through natural language.
Indicators
Section titled “Indicators”A library of 40+ technical indicators across trend, momentum, volatility, and volume categories. Used in both the chart UI and the algorithm builder.
Architecture
Section titled “Architecture”Browser (React SPA) ↕ HTTP / WebSocketReversion Backend (Node.js) ↕ HTTP (API wallet)Hyperliquid (on-chain exchange)- Frontend — React single-page app with TradingView Lightweight Charts, mosaic panel layout, and CCXT Pro for real-time market data
- Backend — Node.js API gateway handling authentication, algorithm execution, backtesting, and trade routing
- Exchange — Hyperliquid perpetual futures and HIP-3 XYZ DEX perpetual markets for tradfi assets
The platform uses an API wallet model — a separate encrypted keypair created on the backend that executes trades on your behalf. Your personal wallet is only used for authentication (SIWE sign-in). Private keys are never exposed to the frontend or MCP server.
Authentication
Section titled “Authentication”Reversion uses wallet-based authentication:
- Connect your wallet (MetaMask, Rabby, Phantom, or WalletConnect)
- Sign a message (SIWE — Sign-In With Ethereum) to prove ownership
- The backend creates an API wallet for trade execution
- You approve the API wallet on Hyperliquid (one-time builder fee approval)
No passwords, no email accounts — your wallet is your identity.
Supported Exchanges
Section titled “Supported Exchanges”| Exchange | Markets | Status |
|---|---|---|
| Hyperliquid | Perpetual futures (all listed pairs) | Live |
| Hyperliquid HIP-3 | XYZ DEX perpetual markets for tradfi assets | Live |
Platform Modes
Section titled “Platform Modes”The interface has four modes, selectable from the header:
| Mode | Purpose |
|---|---|
| Trade | Manual trading — charts, orderbook, order forms, positions |
| Build | Algorithm builder — design, backtest, and deploy strategies |
| Agent | AI assistant — natural language trading and analysis |
| Portfolio | Account overview — balances, positions, P&L summary |
API Tokens
Section titled “API Tokens”For AI agent access, generate scoped API tokens from the web app:
| Scope | Access |
|---|---|
read | Account overview, watchlist, market data, economic calendar |
trade | Order placement, position management, leverage & margin |
algo | Algorithms, charting, backtesting, optimization |
Tokens are SHA-256 hashed in the database, support optional expiry, and can be revoked at any time. See Agent → Reversion MCP for setup.