Skip to content

Reversion Agent

Reversion Agent is Reversion’s AI trading assistant. It connects to the Reversion platform through the MCP server and lets you analyze markets, build algorithmic strategies, run backtests, and manage positions — all through natural language conversation.

Reversion Agent has access to the full tool suite exposed by Reversion MCP. In a single conversation, you can:

  • Analyze markets — pull live prices, funding rates, orderbooks, and generate charts with technical indicators
  • Build strategies — explore indicators against real data, then create algorithm configs with entry/exit rules
  • Backtest & optimize — run backtests, view equity curves, perform rolling cross-validation, and optimize parameters with Bayesian optimization
  • Trade — place market/limit/stop/TWAP orders, manage positions, set leverage and margin modes
  • Monitor — check account balances, open orders, positions, and upcoming economic events

Sign in to the Reversion web app with your wallet (MetaMask, WalletConnect, etc.). Then create an API token from the settings page:

  • Name: Give it a descriptive name (e.g., reversion-agent)
  • Scopes: Select read, trade, and algo for full access
  • Expiry: Optional — set an expiry date or leave it permanent

Save the token (rvt_...) — it’s only shown once.

Add the Reversion MCP server to your AI app. The simplest setup uses the npm package:

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
"mcpServers": {
"reversion": {
"command": "npx",
"args": ["-y", "reversion-mcp"],
"env": {
"REVERSION_API_TOKEN": "rvt_your_token_here",
"REVERSION_BACKEND_URL": "https://api.reversion.trade"
}
}
}
}

Restart your app after saving. The Reversion tools should appear in the tool list.

Try asking:

“Generate a 4h chart for BTC/USDC with RSI and Bollinger Bands”

If everything is configured correctly, you’ll see a candlestick chart with indicators rendered inline.

"What's the current funding rate and open interest for ETH?"
"Show me a 1h chart for SOL with MACD and volume"
"Search for all available markets on Hyperliquid"
"List available indicators"
"Explore RSI on BTC 4h with oversold threshold at 30 — show me the signals"
"Create a mean reversion algorithm for ETH using Bollinger Bands"
"Backtest my algorithm over the last 6 months"
"Plot the equity curve for that backtest"
"Run a rolling cross-validation with 30-day train and 10-day test windows"
"Optimize my RSI algorithm — try 20 trials varying the period and thresholds"
"What's the optimization status?"
"Plot the optimization trajectory"
"Buy 0.1 ETH at market"
"Place a limit buy for 1 SOL at $120"
"Set a stop loss at $3,200 for my ETH position"
"Close my BTC position"

The MCP server includes a quant_research_workflow prompt that guides structured strategy development:

  1. Market analysis — chart the asset, review indicators
  2. Signal exploration — test indicator signals against historical data
  3. Algorithm creation — define entry/exit rules with explored parameters
  4. Backtesting — validate the strategy over historical periods
  5. Cross-validation — rolling forward-walk to check robustness
  6. Optimization — Bayesian parameter search for best risk-adjusted returns

Ask the agent to “follow the quant research workflow for BTC” to run through the full pipeline.