Balances

The return from the /balances endpoint

Response

{
    "balances": {
        "option_short_value": 0,
        "total_equity": 17798.360000000000000000000000,
        "account_number": "VA00000000",
        "account_type": "margin",
        "close_pl": -4813.000000000000000000,
        "current_requirement": 2557.00000000000000000000,
        "equity": 0,
        "long_market_value": 11434.50000000000000000000,
        "market_value": 11434.50000000000000000000,
        "open_pl": 546.900000000000000000000000,
        "option_long_value": 8877.5000000000000000000,
        "option_requirement": 0,
        "pending_orders_count": 0,
        "short_market_value": 0,
        "stock_long_value": 2557.00000000000000000000,
        "total_cash": 6363.860000000000000000000000,
        "uncleared_funds": 0,
        "pending_cash": 0,

        // if type is 'margin'
        "margin": {
            "fed_call": 0,
            "maintenance_call": 0,
            "option_buying_power": 6363.860000000000000000000000,
            "stock_buying_power": 12727.7200000000000000,
            "stock_short_value": 0,
            "sweep": 0
        },

        // if type is 'cash'
        "cash": {
            "cash_available": 4343.38000000,
            "sweep": 0,
            "unsettled_funds": 1310.00000000
        },

        // if type is 'pdt'
        "pdt": {
            "fed_call": 0,
            "maintenance_call": 0,
            "option_buying_power": 6363.860000000000000000000000,
            "stock_buying_power": 12727.7200000000000000,
            "stock_short_value": 0
        }
    }
}

Definitions

FieldDescription
option_short_valueValue of short option positions in the account
total_equityTotal account value
account_numberAccount number
account_typeType of the account
close_plGain/Loss of current session's closed positions
current_requirementAccount's maintenance margin
equityEquity value
long_market_valueLong market value
market_valueMarket value
open_plTotal gain/loss of current account's positions
option_long_valueValue of long option positions
option_requirementAccount's total option requirement
pending_orders_countCount of all pending/open orders
short_market_valueShort market value
stock_long_valueValue of long equity positions
total_cashTotal cash in the account
uncleared_fundsCash unavailable for trading in the account
pending_cashAmount of cash being held for open orders

If type is "margin"

FieldDescription
margin.fed_callAmount that the account is in deficit for trades that have occurred but not been paid for
margin.maintenance_callThe amount that the account is under the minimum equity required to support the current positions
margin.option_buying_powerAmount of funds available to purchase non-marginable securities
margin.stock_buying_poweramount of funds available to purchase fully marginable securities
margin.stock_short_valueValue of short stocks
margin.sweep

If type is "cash"

FieldDescription
cash.cash_available
cash.sweepSweep
cash.unsettled_fundsCash that is in the account from recent stock or option sales, but has not yet settled; cash from stock sales occurring during the last 2 trading days or from option sales occurring during the previous trading day

If type is "pdt"

FieldDescription
pdt.fed_callAmount that the account is in deficit for trades that have occurred but not been paid for
pdt.maintenance_callAmount that the account is under the minimum equity required in the account to support the current positions
pdt.option_buying_powerAmount of funds available to purchase non-marginable securities
pdt.stock_buying_powerAmount of funds available to purchase fully marginable securities
pdt.stock_short_valueValue of short stocks