API reference
Get multiple daily analyses
GET | QUERY
https://api.tradesync.com/analyses/{account_id}/dailiesReturn a paginated list of an account's daily analysis. The account must have connected.
Last updated
Path parameters
- account_idType: integer
- Tradesync account ID belonging to the authenticated user
Filters
Only the shared pagination parameters are supported; there are no endpoint-specific filters.
Response example
{
"result": "success",
"status": 200,
"meta": {
"count": 1,
"limit": 1000,
"order": "desc",
"last_id": 89
},
"data": [
{
"id": 89,
"created_at": "2021-03-10T09:45:30.000000Z",
"updated_at": "2021-03-17T11:06:04.000000Z",
"date": "2021-03-10",
"running_balance": 277.35,
"profit_loss": 2.7,
"running_profit_loss": 27.35,
"running_growth": 10.94,
"lots": 0.03
}
]
}
Response fields
Each item in data contains these fields. A nullable statistic is returned as null when unavailable. The lots field is always returned as a number.
| Field | Type | Description |
|---|---|---|
| id | integer | Resource ID |
| created_at | string | Creation timestamp in UTC |
| updated_at | string | Update timestamp in UTC |
| date | string | Analysis date (YYYY-MM-DD) |
| running_balance | number or null | Running balance |
| profit_loss | number or null | Profit or loss for the day |
| running_profit_loss | number or null | Cumulative profit or loss |
| running_growth | number or null | Cumulative growth |
| lots | number | Trade volume in Tradesync lots |