Skip to main content

Deals

Version: v1

GET /api/futures/deals

Summary:

Deal history

Request Parameters
NameLocated inDescriptionRequiredSchema
CurrencyPairqueryNostring
PagequeryNointeger
PageSizequeryNointeger
DateFromqueryNodateTime
DateToqueryNodateTime
Response model
{
"totalCount": 0,
"items": [
{
"timestamp": "2024-04-26T04:32:10.057Z",
"price": 0,
"amount": 0,
"currencyPairCode": "string",
"isLong": true,
"orderSide": 1
}
]
}
Response codes
CodeDescription
200Success

GET /api/futures/deals/user

Summary:

User deal history

Request Parameters
NameLocated inDescriptionRequiredSchema
CurrencyPairqueryNostring
PagequeryNointeger
PageSizequeryNointeger
DateFromqueryNodateTime
DateToqueryNodateTime
Response model
{
"totalCount": 0,
"items": [
{
"id": 0,
"timestamp": "2024-04-26T04:32:36.127Z",
"price": 0,
"amount": 0,
"currencyPairCode": "string",
"isLong": true,
"fee": 0,
"feeAsset": "string",
"realizedPnl": 0,
"tradeType": 10,
"orderId": 0,
"orderSide": 1
}
]
}
Response codes
CodeDescription
200Success