v4

latestOpenAPI 3.0.02026-08-04103181301.4 KB
portfolio

Create Subaccount

Creates a new subaccount for the authenticated user. This endpoint is available to all users on the Advanced API tier and above. Subaccounts are numbered sequentially starting from 1. Maximum 63 numbered subaccounts per user (64 including the primary account).

post/portfolio/subaccounts

Request body

exchange_indexinteger

Identifier for an exchange shard. Defaults to 0 if unspecified.

Response

Subaccount created successfully

subaccount_numberinteger required

The sequential number assigned to this subaccount (1-63).