Rest operations

GET accounts/:id/balances

Retrieves per-currency and combined balances for a specified account.

Request parameters
Parameter Type Description
id String Account number.
Can occur in the 'location' header only.
Response properties
Property Type Description
perCurrencyBalances Complex List of Balance records.
Balance Complex See below.
combinedBalances Complex List of Balance records.
Balance Complex See below.
sodPerCurrencyBalances Complex List of Balance records.
Balance Complex See below.
sodCombinedBalances Complex List of Balance records.
Balance Complex
currency Enumeration Currency of the balance figure(e.g., "USD" or "CAD").
See Currency section for all allowed values.
cash Double Balance amount.
marketValue Double Market value of all securities in the account in a given currency.
totalEquity Double Equity as a difference between cash and marketValue properties.
buyingPower Double Buying power for that particular currency side of the account.
maintenanceExcess Double Maintenance excess for that particular side of the account.
isRealTime Boolean Whether real-time data was used to calculate the above values.

Sample request

GET https://api01.iq.questrade.com/v1/accounts/26598145/balances

Sample JSON response

{
	"perCurrencyBalances": [
		{
			"currency": "CAD", 
			"cash": 243971.7,
			"marketValue": 6017,
			"totalEquity": 249988.7, 
			"buyingPower": 496367.2,
			"maintenanceExcess": 248183.6,
			"isRealTime": false
		},
		{
			"currency": "USD", 
			"cash": 198259.05, 
			"marketValue": 53745, 
			"totalEquity": 252004.05, 
			"buyingPower": 461013.3, 
			"maintenanceExcess": 230506.65,
			"isRealTime": false
		}
	],
	"combinedBalances": [
		...
	],
	"sodPerCurrencyBalances": [
		...
	],
	"sodCombinedBalances": [
		...
	]
}