Response fields
array of objects
object
Describes a single stock/ETF/crypto/mutual fund position in an account.
symbol
object
Uniquely describes a security for the position within an account. The distinction between this and the symbol
child property is that this object is specific to a position within an account, while the symbol
child property is universal across all brokerage accounts. The caller should rely on the symbol
child property for most use cases.
symbol
object
Uniquely describes a single security + exchange combination across all brokerages.
id
string (format: uuid)
Unique identifier for the symbol within SnapTrade. This is the ID used to reference the symbol in SnapTrade API calls.
symbol
string
The security's trading ticker symbol. For example "AAPL" for Apple Inc. We largely follow the Yahoo Finance ticker format(click on "Yahoo Finance Market Coverage and Data Delays"). For example, for securities traded on the Toronto Stock Exchange, the symbol has a '.TO' suffix. For securities traded on NASDAQ or NYSE, the symbol does not have a suffix.
raw_symbol
string
The raw symbol is symbol
with the exchange suffix removed. For example, if symbol
is "VAB.TO", then raw_symbol
is "VAB".
description
string or null
A human-readable description of the security. This is usually the company name or ETF name.
currency
object
The currency in which the security is traded.
id
string (format: uuid)
Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
code
string
The ISO-4217 currency code for the currency.
name
string
A human-friendly name of the currency.
exchange
object
The exchange on which the security is listed and traded.
id
string (format: uuid)
Unique ID for the exchange in SnapTrade.
code
string
A short name for the exchange. For standardized exchange code, please us the mic_code
field.
mic_code
string
The Market Identifier Code (MIC) for the exchange.
name
string
The full name of the exchange.
timezone
string
The timezone for the trading hours (start_time
and close_time
) of the exchange.
start_time
string
The time when the exchange opens for trading.
close_time
string
The time when the exchange closes for trading.
suffix
string or null
The suffix to be appended to the symbol when trading on this exchange. For example, the suffix for the Toronto Stock Exchange is .TO
. See UniversalSymbol->symbol
and UniversalSymbol->raw_symbol
for more detail.
type
object
The type of security. For example, "Common Stock" or "ETF".
id
string (format: uuid)
Unique identifier for the security type within SnapTrade. This is the ID used to reference the security type in SnapTrade API calls.
code
string
A short code representing the security type. For example, "cs" for Common Stock. Here are some common values: ad - ADR bnd - Bond cs - Common Stock cef - Closed End Fund et - ETF oef - Open Ended Fund ps - Preferred Stock rt - Right struct - Structured Product ut - Unit wi - When Issued wt - Warrant
description
string
A human-readable description of the security type. For example, "Common Stock" or "ETF".
is_supported
boolean
This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
figi_code
string or null
This identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information. This value should be the same as the figi_code
in the figi_instrument
child property.
figi_instrument
object or null
Financial Instrument Global Identifier (FIGI) information for the security. See OpenFIGI for more information.
figi_code
string or null
This identifier is unique per security per trading venue. See section 1.4.1 of the FIGI Standard for more information.
figi_share_class
string or null
This enables users to link multiple FIGIs for the same security in order to obtain an aggregated view across all countries and all exchanges. For example, AAPL
has a different FIGI for each exchange/trading venue it is traded on. The figi_share_class
is the same for all of these FIGIs. See section 1.4.3 of the FIGI Standard for more information.
currencies
array of objects
This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
id
string (format: uuid)
Unique identifier for the currency. This is the UUID used to reference the currency in SnapTrade.
code
string
The ISO-4217 currency code for the currency.
name
string
A human-friendly name of the currency.
id
string (format: uuid)
A unique ID for the security within SnapTrade, scoped to the brokerage account that the security belongs to. This is a legacy field and should not be used. Do not rely on this being a stable ID as it can change.
description
string
This field is deprecated and the caller should use the symbol
child property's description
instead.
local_id
string or null
This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
is_quotable
boolean
This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
is_tradable
boolean
This field is deprecated and should not be used. Please reach out to SnapTrade support if you have a valid usecase for this.
units
number or null
The number of shares of the position. This can be fractional or integer units.
price
number or null
Last known market price for the symbol. The freshness of this price depends on the brokerage. Some brokerages provide real-time prices, while others provide delayed prices. It is recommended that you rely on your own third-party market data provider for most up to date prices.
open_pnl
number or null
The profit or loss on the position since it was opened. This is calculated as the difference between the current market value of the position and the total cost of the position. It is recommended to calculate this value using the average purchase price and the current market price yourself, instead of relying on this field.
average_purchase_price
number or null
Cost basis per share of this position.
fractional_units
number or null
Deprecated, use the units
field for both fractional and integer units going forward
1[2{3"symbol": {4"symbol": {5"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",6"symbol": "VAB.TO",7"raw_symbol": "VAB",8"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",9"currency": {10"id": "87b24961-b51e-4db8-9226-f198f6518a89",11"code": "USD",12"name": "US Dollar"13},14"exchange": {15"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",16"code": "TSX",17"mic_code": "XTSE",18"name": "Toronto Stock Exchange",19"timezone": "America/New_York",20"start_time": "09:30:00",21"close_time": "16:00:00",22"suffix": ".TO"23},24"type": {25"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",26"code": "cs",27"description": "Common Stock",28"is_supported": true29},30"figi_code": "BBG000B9XRY4",31"figi_instrument": {32"figi_code": "BBG000B9Y5X2",33"figi_share_class": "BBG001S5N8V8"34},35"currencies": [36{37"id": "87b24961-b51e-4db8-9226-f198f6518a89",38"code": "USD",39"name": "US Dollar"40}41]42},43"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",44"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",45"local_id": "3291231",46"is_quotable": true,47"is_tradable": true48},49"units": 40,50"price": 113.15,51"open_pnl": 0.44,52"average_purchase_price": 108.3353,53"fractional_units": 1.4454}55]