Trades history (Security)
GET/md/stats/:exchange/:portfolio/history/trades/:symbol
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
The request returns the list of all transactions related to the specified security for the past days. A maximum of 1000 entries can be returned in a single query.
Anonymous execution of this command is prohibited. Provide the valid Access token as the value of the mandatory token
parameter.
System test environment address is used in the request description as the default. The reason for this is to protect users from accidental operations with real data. Keep this in mind when using interactive description and copying code samples.
You can change the environment in the Request window. Learn more about environments in related article.
When using unified monetary position, the orderByTradeDate
parameter must be true
to sort the results correctly. Trades belonging to different markets may have different ID
lengths, so standard sorting by ID
may return results in an incorrect sequence
Request
Responses
- 200
- 401
- 403
Request processed successfully
Failed to authorize request — JWT
is not specified in the request header, it has expired, or it belongs to a different system environment
Insufficient rights. Check that provided values are correct