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:
| Layer | Function |
|---|---|
| Plan | Decompose complex market situations into structured sub-problems |
| Execute | Each sub-problem is handled by a specialized reasoning chain |
| Aggregate | Sub-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:
| Component | Options |
|---|---|
| DEX Account | Any Hyperliquid account |
| LLM Model | DeepSeek, Claude, GPT, Gemini, Qwen, Grok |
| Strategy | Configurable 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:
| Layer | Control | Description |
|---|---|---|
| 1 | Single Trade Limit | Maximum position size per trade |
| 2 | Total Position Cap | Maximum aggregate exposure |
| 3 | Daily Loss Circuit Breaker | Auto-stops trading after daily loss threshold |
| 4 | Auto Stop-Loss / Take-Profit | Per-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 Source | Signal Type |
|---|---|
| Roma News (via Inference Engine) | High-importance event signals |
| Roma Predict | Smart money verification, propagation gap alerts |
| Probability Graph | Event-asset impact estimates |
| User Configuration | Manual 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
| Feature | Details |
|---|---|
| Markets | BTC, ETH, SOL, BNB, DOGE, XRP perpetual futures |
| Leverage | Configurable per trade (1x–50x) |
| Order Types | Market, limit, stop-loss, take-profit |
| Multi-Agent | Run multiple agents simultaneously with independent strategies |
| Monitoring | Real-time P&L, position tracking, agent leaderboard |
| Notifications | Telegram alerts for trades, risk events, daily summaries |