Skip to main content
Requires authentication.
The Account resource provides access to your account balances and financial information.

Methods

MethodEndpointDescription
balances()GET /v1/account/balancesGet account balances

balances

Retrieve your current account balances, buying power, and pending withdrawals.
balances = client.account.balances()

print(f"Current Balance: ${balances['currentBalance']}")
print(f"Buying Power: ${balances['buyingPower']}")
print(f"Open Orders: ${balances['openOrders']}")

Response Fields

FieldTypeDescription
currentBalancefloatCurrent fiat currency balance
currencystrCurrency code (e.g., “USD”)
buyingPowerfloatCapital available for trading
assetNotionalfloatTotal notional value of positions
assetAvailablefloatAvailable collateral value
openOrdersfloatValue tied up in open orders
unsettledFundsfloatUnsettled funds not yet available
marginRequirementfloatRequired margin for positions
pendingWithdrawalslistActive withdrawal requests

Buying Power

The buyingPower field represents unencumbered capital available for trading:
buyingPower = currentBalance + assetAvailable - openOrders - marginRequirement
For real-time balance updates, use the WebSocket with SUBSCRIPTION_TYPE_ACCOUNT_BALANCE instead of polling.