Skip to main content

Get subaccounts

GET 

/subaccounts

Return information about subaccounts, including balances and UIDs.

Responses

Schema
    oneOf
    masterAccountUid string

    Master account UID

    subaccounts object[]

    The sub-accounts.

  • Array [
  • accountUid string

    The account UID

    email string

    The email associated with the account

    fullName stringnull

    The name of the account

    holdingAccounts object[]

    Structure containing structures with holding accounts information for a specific holding account asset.

  • Array [
  • currency string

    The currency of the account. All figures shown in this currency.

    amount number

    The amount of currency in the holding account.

  • ]
  • futuresAccounts object[]

    Structure containing structures with single-collateral accounts information for a specific futures account asset.

  • Array [
  • name string

    The name of the futures account as the account pair.

    availableMargin number

    The amount of currency in the holding account in the quote currency of the name pair.

  • ]
  • flexAccount object

    Multi-collateral account structure.

    currencies object[]
  • Array [
  • currency string

    The name of the currency.

    quantity number

    The amount of currency in the multi-collateral account.

    value number

    The value of the currency quantity.

    collateral number

    The collateral value of the currency quantity (value * haircut).

    available number

    The available currency (quantity - margin requirement)

  • ]
  • initialMargin number

    The total initial margin for the multi-collateral account in USD.

    initialMarginWithOrders number

    The total initial margin of open positions without the margin held by open orders for the multi-collateral account in USD.

    maintenanceMargin number

    The total maintenance margin for the multi-collateral account in USD.

    balanceValue number

    The total balance value for the multi-collateral account in USD.

    portfolioValue number

    The total value of the portfolio in USD (Balance Value + Total Unrealised Profit/Loss).

    collateralValue number

    The USD value of balances in account usable for margin [(Balance Value * (1-Haircut)].

    pnl number

    The unrealised pnl for the multi-collateral account.

    unrealizedFunding number

    The total unrealised funding for the multi-collateral account in USD.

    totalUnrealized number

    Total unrealised Profit/Loss and unrealised funding of open positions in USD (Unrealised Position(s) Profit/Loss + Unrealised Funding Rate Profit/Loss) * USD rate.

    totalUnrealizedAsMargin number

    Unrealised Profit/Loss and unrealised funding that is usable as margin (Unrealised Profit/Loss + Unrealised Funding Rate) * Haircut - Conversion Fee.

    availableMargin number

    Account-wide margin available to create new orders (Margin Equity - Total Initial Margin).

    marginEquity number

    The Balance Value multiplied by the dollar rate and with haircuts applied to non-USD currencies, plus unrealised profit or loss as Margin.

    [Balance Value in USD * (1-Haircut)] + (Total Unrealised Profit/Loss as Margin in USD)

  • ]
  • result stringrequired

    Possible values: [success]

    serverTime date-timerequired

    Server time in Coordinated Universal Time (UTC)

Loading...