Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Subaccounts

Last updated: Feb 24, 2026

What is a subaccount?

A subaccount is a trading account linked to your wallet. It holds your collateral balance, open positions, and order history. All trading activity happens within a subaccount.

You can create multiple subaccounts under a single wallet — useful for:

  • Separating trading strategies
  • Isolating risk between different books of positions
  • Running automated strategies independently of manual trading

Creating a subaccount

From the Account menu in the app, click New Subaccount. You will be prompted to sign a transaction to create the account on-chain.

Each subaccount has a unique ID. Subaccounts are stored on-chain and persist indefinitely.

Switching subaccounts

Use the subaccount selector in the top navigation to switch between accounts. Balances, positions, and history are all scoped to the active subaccount.

Collateral isolation

Each subaccount has its own collateral pool. Assets in one subaccount do not affect the margin or liquidation risk of another. If you want to move funds between subaccounts, you must withdraw from one and deposit into another.

API access

Subaccounts are identified by their on-chain ID when using the API. See Get Subaccount for how to query subaccount state programmatically.