Portfolio Architecture

Running Multiple AI Trading Agents Safely with Isolated Sub-Accounts

When two bots share one margin wallet, Agent A calling `cancelAllOrders()` wipes out Agent B's protective stops, and a bad liquidation on a memecoin drains your BTC swing margin. Sub-account isolation solves both problems cleanly.

Updated: By Eterna Engineering (Security & Agent Architecture Team)Read as Markdown
Direct Answer

Never run multiple autonomous AI agents inside one shared cross-margin balance. On Eterna AI, isolate each strategy or LLM runtime into its own OAuth-authenticated sub-account so leverage, liquidations, order cancellations (`cancelAllOrders`), and PnL attribution stay strictly compartmentalized.

Isolation Unit1 sub-account / strategySeparate margin, orders, and PnL
ProvisioningAutomatic via OAuthNo KYC bottleneck per agent
Order SafetyScoped cancelAllOrders()Cannot cancel another agent's stops
PnL TrackingClean per-agent equityCompare Claude vs GPT vs deterministic
https://mcp.eterna.exchange/mcp

1. Recommended Multi-Agent Capital Allocation

1. Recommended Multi-Agent Capital Allocation
Sub-Account SleeveStrategy TypeSuggested LeverageCapital Share
Core Spot SleeveWeekly BTC/ETH/SOL DCA & rebalance1x (Spot)50%
Majors Trend AgentBTC/ETH/SOL EMA & VWAP perpetuals2x to 5x30%
Event / Stock Perps AgentNVDA/TSLA/COIN earnings & momentum2x to 3x15%
Experimental Prompt LabNew model or indicator testing1x to 2x5%

2. Why Isolation Beats Shared-Account Tagging

  • True margin firewall: a worst-case bug in the Experimental Prompt Lab can never touch Core Spot or Majors Trend equity.
  • Unambiguous attribution: compare actual net PnL after fees across Claude, GPT, and Gemini strategies cleanly.
  • Zero order-collision bugs: each agent sees only its own `getPositions()` and `getOrders()`.
  • Instant revocation: disable one underperforming agent's OAuth session while profitable agents keep running.
FAQ

Frequently asked questions

Can I benchmark Claude vs ChatGPT vs Gemini on live crypto markets?
Yes. Give each model its own isolated Eterna sub-account with identical starting USDT and identical risk prompts so PnL, drawdown, and fee efficiency are measured cleanly.
Primary Sources

References & verification links

Start Trading via MCP

Connect your AI agent in 30 seconds

One remote MCP URL. 800+ USDT perpetuals, 380+ spot pairs, 0.014% maker / 0.035% taker, no KYC.

View on GitHub