Trader
Management key
Opens, funds, and labels every subaccount. Can’t place orders.
Subaccount A
Trading key
Subaccount B
Trading key
Each trading key reaches only its own subaccount, and that never changes.
Scopes
Each key has one scope, fixed when you create it.managementopens, funds, and labels subaccounts, and creates and revokes keys. It also reads whatmanagement::readreads.management::readlists keys and subaccounts, and reads any balance, ledger, order, fill, and position.tradingplaces and cancels orders on its subaccount, and reads the catalog.trading::readreads its subaccount’s orders, fills, positions, and balance, and the catalog.
Address a subaccount by its trading key
Routes that act on a subaccount take its trading key ID as{keyId}, as in GET /v3/account/subaccounts/{keyId}/balance.
- A management key ID isn’t an address, because it doesn’t point at one subaccount. It returns a 400.
- A revoked trading key’s ID still works as an address. Your management key can still reach the subaccount through it.
- The subaccount list has one row per live subaccount. Each row’s
keyIdis that subaccount’s trading key.
Read every wallet with a management key
Amanagement or management::read key reads the same REST routes as a trading::read key.
It still can’t place or cancel an order. Those routes return 403 SCOPE_INSUFFICIENT.
The catalog and the market and event history look the same to every key.
Routes that read your own orders, fills, and positions return an object keyed by key ID instead.
Each value is the body a trading key gets for that wallet.
GET /v3/portfolio/positions for a trader with one subaccount.
- Your cash wallet appears under the ID of the management key that signed the request.
- Each subaccount appears under its
tradingkey ID. - If you revoked that
tradingkey, the subaccount appears under its oldest live key instead. - If you revoked every key of a subaccount, it appears under its newest revoked key.
- A closed subaccount still appears, so you can read its orders, fills, and positions.
- The subaccount list and
GET /v3/account/subaccounts/{keyId}/balancestill leave a closed subaccount out. - A trading key’s response doesn’t change. It’s never wrapped in an object.
Read one wallet
Add?keyId= to read one wallet. The response is the same object, with one entry.
- The ID of the key that signed the request reads your cash wallet.
- Any key ID of a subaccount reads that subaccount, even a revoked key or a closed subaccount’s key.
- An unknown key ID, or another trader’s, returns 404
SUBACCOUNT_NOT_FOUND. - A trading key that sends
keyIdgets 403SCOPE_INSUFFICIENT.
Pages, single items, and snapshots
- To read past the first page, send
keyIdwithafter. When the read covers more than one wallet,afterwithoutkeyIdreturns 400AFTER_NEEDS_KEY_ID. GET /v3/orders/{id}andGET /v3/history/positions/{id}return one entry: the wallet that holds the ID.GET /v3/account/ordersandGET /v3/account/positionssend noETagto a management key, and ignoreIf-None-Match.- The WebSocket at
GET /v3/wsstill takes only atradingortrading::readkey.
Recommended setup
- Use one subaccount per strategy, so a cancel-all stops only that strategy.
- Use one subaccount per process, so you can revoke a compromised host without stopping the others.
- Keep your one management key in a secret manager, never in a running process. It’s the only key that moves money.

