Skip to content

Account model

One wallet owns Main and its sub-accounts, controlled by an owner key that moves money and instruction keys that only trade.

On this page

Your wallet owns an account tree: a Main account and any sub-accounts you create. Each account has its own address, balances and margin. Your owner key moves money and decides who may act, and instruction keys place and cancel orders on the accounts they are bound to.

  • Use an EVM wallet (EOA), plain or MPC; smart-contract wallets aren't supported.
  • Collateral on one account never backs a position on another.

The account tree

Main sits at your wallet address and works like every sub-account; every account trades spot and perps. The owner key starts as your wallet's key. In the API: list a wallet's accounts.

Anyone can deposit to your address; until a deposit or transfer arrives, its key's signatures are refused. The first signature, normally Enable Trading, opens the wallet with any funds waiting there and makes that key the owner key. See Deposits.

Two kinds of key

A key you give a bot or app can never move funds out, and the owner key can stay in cold storage.

Owner keyInstruction key
SignsEnable Trading, sub-account creation, binding and removing keys, the wallet's self-trade prevention level, rotating itself, transfers to any account, withdrawalsOrders, cancels, mass cancels and the dead-man switch on the account it is bound to. With Full scope, also isolated margin moves, transfers between your own accounts, stake and unstake
TradesOnly where you bind it as an instruction keyYes, within its scope
Can'tTrade unless boundWithdraw, transfer to another wallet, create accounts or bind keys

An account holds up to 25 instruction keys, and one key can serve several accounts. The owner key can also be a group of co-signing keys (Multi-sig). See Instruction keys, including what to do if a key leaks.

Enable Trading

A wallet can't trade until its owner key signs Enable Trading. Signed once, it turns on Main and every sub-account, including later ones.

It binds your app's key and accepts the Atlas Terms of Use in force, and is free and safe to sign again. Signing up through a builder's app stamps that app's Builder ID on your wallet, unless it already holds a valid one.

Your wallet is pending before Enable Trading and active after. ATLAS can also set a wallet to exit-only: it can reduce, exit, withdraw and move funds between its own accounts, but not add risk or transfer to another wallet. In the API: enable trading.

Account addresses

Main's address stays your wallet address after you rotate the owner key (address format). An address isn't a credential, and account data on ATLAS is public.

What is per account and what is shared

Per accountShared across the tree
Balances, positions, margin and liquidationYes
Cross and isolated positionsYes, both modes on any account
AddressYes
Instruction key bindingsYes, each with its own scope and caps
Wallet state (pending, active, exit-only)Yes
Trading volume and fee tierYes
Builder ID stampYes
Owner keyYes
Self-trade prevention levelYes

Each account holds at most one position per instrument, cross or isolated.

Self-trade prevention across your accounts

By default your accounts can trade with each other. To stop that, the owner key sets the wallet's self-trade prevention level to cover the whole wallet, so an incoming order cancels any resting order of your accounts it would cross. In the API: set the level.

Sub-accounts

Your owner key creates sub-accounts, and can bind an instruction key to one in the same signature. Creating one costs nothing and needs no trading volume.

  • You can have 10 sub-accounts on the Standard tier and 30 on the High tier. Main doesn't count.
  • A sub-account can't be closed, and its slot is never returned.

Create and bind

A new sub-account can receive deposits and transfers at once. It trades once your wallet is active and an instruction key is bound to it. In the API: create a sub-account.

A deposit sent to a sub-account's address before it exists waits there, and nobody can move it until the sub-account is created, which you can't do while at your allowance. Funds sent early are at your own risk.

When create is rejected

Nothing opens if no deposit or transfer has reached your wallet address yet, you are at your allowance, the owner key didn't sign, or a binding in the request fails, such as a builder fee cap out of range.

Your allowance

Every wallet starts on the Standard tier; higher trading volume or staking tiers (see Trading fees) move it to the High tier. Tiers are recomputed every hour. If your tier falls, you keep every sub-account you have, but can't create another until you are below your allowance again.

Using a sub-account

  • Fund it by depositing to its address or by transfer from another of your accounts.
  • PnL doesn't net between your accounts.

Some actions stop at one account:

ActionScope
Mass cancelOne account and one market per request. There is no tree-wide mass cancel
Dead-man switchOne account. Arm it on each account separately
Closing positionsPer account. Flatten each account separately