Get Account's History
Get transaction history for a particular trading account
Last updated
Get transaction history for a particular trading account
Last updated
This endpoint enables you to retrieve the historical value of a particular trading account.
There are seven required parameters that must be provided in the request:
Et-App-Key (header). This is the unique key of your app that identifies your app when communicating with our service. Contact your administrator to get this key.
Authorization (header). This is the authorization token from the very first .
Trading Account Number (path). This is the numeric ID of the trading account whose historical value you'd like to retrieve. You can get the list of a user's trading accounts with .
API version (path). Unless necessary, leave it at "1.0".
startDate (query). This is the starting date from which the account value history will be retrieved.
endDate (query). This is the end date until which the account value history will be retrieved.
step (query). This is the number of items that must be retrieved.
This API request must be sent to the following URL:
In response to this request, you'll receive a JSON file with the list of account valuation throughout the specified period.
where:
Parameter
Description
Date
The precise date on the valuation
Value
The value of the account for the date
Here are some of the common mistakes that developers make when requesting the historical value of a particular trading account:
If you specify the wrong Et-App-Key parameter or fail to include it in the header altogether, you'll get the following error:
If the query parameters are missing or incorrectly specified , the following error message will be returned:
In the following article we provide in-depth coverage of the syntax for this API request.