Get Historical Account Value
Last updated
Last updated
The endpoint allows you to retrieve the historical values of a particular trading account over the specified period.
The start and end date are represented in the following format "2022-07-28T09:04:43.3512813Z". It is an ISO 8601 timestamp representing a date and time in Coordinated Universal Time (UTC).
GET
baseURL/v{version}/accounts/{accountId}/history
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
apiVersion*
The version of API. By default, set it to 1.0
.
accountId*
integer
Internal AutoShares ID of the trading account.
startDate *
date-time
The start date of the target period.
endDate*
date-time
The end date of the target period.
step*
integer
Set 1 as a default step.
Authorization*
String
This is the authorization token from the token request. The value of this header must have the following format: Bearer BQ898r9fefi
(Bearer
+ 1 space + the token).