List Gains
Tax
List Gains
Permissions required: Subaccount
List subaccount’s gains for a period breakdown to short term, long term and total
GET
List Gains
Authorizations
An API key associated with a security role
Path Parameters
The ID of the subaccount
Query Parameters
ISO-8601 formatted date as a filter start date.
ISO-8601 formatted date as a filter end date.
Response
Successfully returned the gains
Breakdown of tax gains into short term, long term and total
Example:
{
"shortTerm": {
"assetType": "USD",
"quantity": "20204.23"
},
"longTerm": {
"assetType": "USD",
"quantity": "200304.1"
},
"total": {
"assetType": "USD",
"quantity": "220308.33"
}
}
