Skip to content

Roma Perp

AI agents that trade perpetual futures with you — or for you. Every decision transparent, every risk controlled.

What It Does

Roma Perp is a multi-agent trading engine built on DSPy that trades perpetual futures on Hyperliquid. It is Roma's execution layer — where intelligence becomes action.

This is not a toy or a demo. It is a production trading system with real capital at risk and real-time risk controls.

Core Architecture

ROMA Framework

Recursive Open Meta-Agents — a hierarchical decision-making framework:

LayerFunction
PlanDecompose complex market situations into structured sub-problems
ExecuteEach sub-problem is handled by a specialized reasoning chain
AggregateSub-results are combined into a unified trading decision

This mirrors how experienced traders think: break the situation down, analyze each factor, then synthesize a conclusion.

Account-Centric Design

Roma Perp uses a flexible binding model:

ComponentOptions
DEX AccountAny Hyperliquid account
LLM ModelDeepSeek, Claude, GPT, Gemini, Qwen, Grok
StrategyConfigurable per account

Users can run multiple agents simultaneously — each with a different model, strategy, and risk profile — and monitor them all in real time.

Risk Management

Trading with AI requires robust risk controls. Roma Perp implements a 4-layer risk system:

LayerControlDescription
1Single Trade LimitMaximum position size per trade
2Total Position CapMaximum aggregate exposure
3Daily Loss Circuit BreakerAuto-stops trading after daily loss threshold
4Auto Stop-Loss / Take-ProfitPer-position exit conditions

All four layers operate independently. If any layer triggers, the system acts regardless of what the AI recommends.

Decision Transparency

Every trade Roma Perp makes comes with a complete reasoning trace:

Decision: Long BTC-PERP
Reasoning:
  - Event detected: Fed chair signals dovish stance (importance 92/100)
  - Probability graph: "Fed dovish" → BTC positive 0.85, avg +8.2%
  - Cross-validation: Polymarket "rate cut" odds +12% in last hour
  - Perp market: BTC price flat, funding rate neutral → not yet priced in
  - Risk check: Within position limits, daily loss budget available
  - Confidence: 0.82
Action: Long BTC-PERP, 3x leverage, $500 position
  Stop-loss: -2%, Take-profit: +5%

Users can inspect exactly why the AI made each decision. This is critical for building trust and for identifying when the system's reasoning is flawed.

Signal Integration

Roma Perp receives signals from the broader Roma ecosystem:

Signal SourceSignal Type
Roma News (via Inference Engine)High-importance event signals
Roma PredictSmart money verification, propagation gap alerts
Probability GraphEvent-asset impact estimates
User ConfigurationManual triggers, conditional orders

The agent doesn't trade blindly. It synthesizes signals from multiple sources, checks them against the probability graph, validates risk constraints, and only then decides whether to act.

Trading Capabilities

FeatureDetails
MarketsBTC, ETH, SOL, BNB, DOGE, XRP perpetual futures
LeverageConfigurable per trade (1x–50x)
Order TypesMarket, limit, stop-loss, take-profit
Multi-AgentRun multiple agents simultaneously with independent strategies
MonitoringReal-time P&L, position tracking, agent leaderboard
NotificationsTelegram alerts for trades, risk events, daily summaries