Get performance information for a specific timeframe
Deprecated. Returns performance information (contributions, dividends, rate of return, etc) for a specific timeframe. Please note that Total Equity Timeframe and Rate of Returns are experimental features. Please contact support@snaptrade.com if you notice any inconsistencies.
Query parameters
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
Date used to specify timeframe for a reporting call (in YYYY-MM-DD format). These dates are inclusive.
Comma separated list of account IDs
Optional comma separated list of account IDs used to filter the request on specific accounts
Optional, increases frequency of data points for the total value and contribution charts if set to true
Optional frequency for the rate of return chart (defaults to monthly). Possible values are weekly, monthly, quarterly, yearly.
Optional frequency for the rate of return chart (defaults to monthly). Possible values are daily, weekly, monthly, quarterly, yearly.
SnapTrade User ID. This is chosen by the API partner and can be any string that is a) unique to the user, and b) immutable for the user. It is recommended to NOT use email addresses for this property because they are usually not immutable.
SnapTrade User Secret. This is a randomly generated string and should be stored securely. If compromised, please rotate it via the rotate user secret endpoint.
Response
Successfully retrieved performance data
Example response
{
"totalEquityTimeframe": [
{
"date": "2022-01-24",
"value": 52.74,
"currency": "CAD"
}
],
"contributions": {
"date": "2022-01-24",
"contributions": 524.74,
"currency": "CAD"
},
"contributionTimeframe": [
{
"date": "2022-01-24",
"value": 52.74,
"currency": "CAD"
}
],
"contributionTimeframeCumulative": [
{
"date": "2022-01-24",
"value": 52.74,
"currency": "CAD"
}
],
"withdrawalTimeframe": [
{
"date": "2022-01-24",
"value": 52.74,
"currency": "CAD"
}
],
"contributionStreak": 5,
"contributionMonthsContributed": 10,
"contributionTotalMonths": 13,
"dividends": [
{
"symbol": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"symbol": "VAB.TO",
"raw_symbol": "VAB",
"description": "VANGUARD CDN AGGREGATE BOND INDEX ETF",
"currency": {
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
},
"exchange": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "TSX",
"mic_code": "XTSE",
"name": "Toronto Stock Exchange",
"timezone": "America/New_York",
"start_time": "09:30:00",
"close_time": "16:00:00",
"suffix": ".TO"
},
"type": {
"id": "2bcd7cc3-e922-4976-bce1-9858296801c3",
"code": "cs",
"description": "Common Stock",
"is_supported": true
},
"figi_code": "BBG000B9XRY4",
"figi_instrument": {
"figi_code": "BBG000B9Y5X2",
"figi_share_class": "BBG001S5N8V8"
},
"currencies": [
{
"id": "87b24961-b51e-4db8-9226-f198f6518a89",
"code": "USD",
"name": "US Dollar"
}
]
},
"amount": 165.05,
"currency": "USD"
}
],
"dividendIncome": 135.97,
"monthlyDividends": 26.37,
"badTickers": [
"MAW105"
],
"dividendTimeline": [
{
"date": "2022-01-24",
"dividends": [
{
"symbol": "AAPL",
"amount": 6.82,
"currency": "CAD"
}
]
}
],
"commissions": 3.26,
"forexFees": 5.26,
"fees": 2.72,
"rateOfReturn": 0.082312367452,
"returnRateTimeframe": [
{
"periodStart": "2022-01-24",
"periodEnd": "2022-01-24",
"rateOfReturn": 0.012312367452
}
]
}