# Running Multiple AI Trading Agents Safely with Isolated Sub-Accounts

> 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.

- Canonical URL: https://ai.eterna.exchange/guides/multi-agent-crypto-portfolio-isolation
- Last updated: November 23, 2026
- Author: Eterna Engineering (Security & Agent Architecture Team)
- MCP endpoint: https://mcp.eterna.exchange/mcp

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.

## Key Facts

| Metric | Value | Notes |
|--------|-------|-------|
| Isolation Unit | 1 sub-account / strategy | Separate margin, orders, and PnL |
| Provisioning | Automatic via OAuth | No KYC bottleneck per agent |
| Order Safety | Scoped cancelAllOrders() | Cannot cancel another agent's stops |
| PnL Tracking | Clean per-agent equity | Compare Claude vs GPT vs deterministic |

## 1. Recommended Multi-Agent Capital Allocation

| Sub-Account Sleeve | Strategy Type | Suggested Leverage | Capital Share |
| --- | --- | --- | --- |
| Core Spot Sleeve | Weekly BTC/ETH/SOL DCA & rebalance | 1x (Spot) | 50% |
| Majors Trend Agent | BTC/ETH/SOL EMA & VWAP perpetuals | 2x to 5x | 30% |
| Event / Stock Perps Agent | NVDA/TSLA/COIN earnings & momentum | 2x to 3x | 15% |
| Experimental Prompt Lab | New model or indicator testing | 1x to 2x | 5% |

## 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.

## 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.

## References & Primary Sources

- [Eterna AI Arena (/fight)](https://ai.eterna.exchange/fight): Live head-to-head AI model trading arena on Eterna.

## Related Guides

- [AI Crypto Trading Risk Management: Position Sizing, TP/SL & Kill Switches](https://ai.eterna.exchange/guides/ai-trading-risk-management-guardrails)
- [OAuth 2.1 & Device Flow for Automated Crypto Trading Agents](https://ai.eterna.exchange/guides/mcp-oauth-authentication-for-agents)
- [How to Build an AI Crypto Trading Agent with MCP (Step-by-Step)](https://ai.eterna.exchange/ai-trading-agent)
