Response fields
object
Performance Custom Response Object
totalEquityTimeframe
array of objects
date
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
value
number
currency
string
contributions
object
date
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
contributions
number or null
currency
string
contributionTimeframe
array of objects
date
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
value
number
currency
string
contributionTimeframeCumulative
array of objects
date
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
value
number
currency
string
withdrawalTimeframe
array of objects
date
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
value
number
currency
string
contributionStreak
number or null
Current streak of cosecutive months where contributions were made
contributionMonthsContributed
number or null
Number of months in the timeframe with contributions
contributionTotalMonths
number or null
Total months in timeframe
dividends
array of objects
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
- ADRbnd
- Bondcs
- Common Stockcef
- Closed End Fundcrypto
- Cryptocurrencyet
- ETFoef
- Open Ended Fundps
- Preferred Stockrt
- Rightstruct
- Structured Productut
- Unitwi
- When Issuedwt
- 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.
amount
number or null
currency
string
dividendIncome
number or null
Total dividends received over the timeframe
monthlyDividends
number or null
Average dividends received per month over the timeframe
badTickers
array of strings
list of tickers which may not be supported or may not have accurate price data
string or null
dividendTimeline
array of objects
date
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
dividends
array of objects
symbol
string or null
The ticker of the symbol that the dividend came from
amount
number or null
The amount received from the dividend
currency
string
The currency of the amount
commissions
number or null
commissions incurred during the timeframe
forexFees
number or null
forex fees incurred during the timeframe
fees
number or null
other fees incurred during the timeframe
rateOfReturn
number or null
The return rate over the timeframe. Annualized if timeframe is longer than 1 year
returnRateTimeframe
array of objects
periodStart
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
periodEnd
string (format: date)
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
rateOfReturn
number or null
The return rate for the given period
detailedMode
boolean
Whether the user has detailed mode enabled (more frequent data points for totalEquity and contribution timeframes)
1{2"totalEquityTimeframe": [3{4"date": "2022-01-24",5"value": 52.74,6"currency": "CAD"7}8],9"contributions": {10"date": "2022-01-24",11"contributions": 524.74,12"currency": "CAD"13},14"contributionTimeframe": [15{16"date": "2022-01-24",17"value": 52.74,18"currency": "CAD"19}20],21"contributionTimeframeCumulative": [22{23"date": "2022-01-24",24"value": 52.74,25"currency": "CAD"26}27],28"withdrawalTimeframe": [29{30"date": "2022-01-24",31"value": 52.74,32"currency": "CAD"33}34],35"contributionStreak": 5,36"contributionMonthsContributed": 10,37"contributionTotalMonths": 13,38"dividends": [39{40"symbol": {41"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",42"symbol": "VAB.TO",43"raw_symbol": "VAB",44"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",45"currency": {46"id": "87b24961-b51e-4db8-9226-f198f6518a89",47"code": "USD",48"name": "US Dollar"49},50"exchange": {51"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",52"code": "TSX",53"mic_code": "XTSE",54"name": "Toronto Stock Exchange",55"timezone": "America/New_York",56"start_time": "09:30:00",57"close_time": "16:00:00",58"suffix": ".TO"59},60"type": {61"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",62"code": "cs",63"description": "Common Stock",64"is_supported": true65},66"figi_code": "BBG000B9XRY4",67"figi_instrument": {68"figi_code": "BBG000B9Y5X2",69"figi_share_class": "BBG001S5N8V8"70},71"currencies": [72{73"id": "87b24961-b51e-4db8-9226-f198f6518a89",74"code": "USD",75"name": "US Dollar"76}77]78},79"amount": 165.05,80"currency": "USD"81}82],83"dividendIncome": 135.97,84"monthlyDividends": 26.37,85"badTickers": [86"MAW105"87],88"dividendTimeline": [89{90"date": "2022-01-24",91"dividends": [92{93"symbol": "AAPL",94"amount": 6.82,95"currency": "CAD"96}97]98}99],100"commissions": 3.26,101"forexFees": 5.26,102"fees": 2.72,103"rateOfReturn": 0.082312367452,104"returnRateTimeframe": [105{106"periodStart": "2022-01-24",107"periodEnd": "2022-01-24",108"rateOfReturn": 0.012312367452109}110],111"detailedMode": true112}