Deals
Version: v1
GET /api/futures/deals
Summary:
Deal history
Request Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
CurrencyPair | query | No | string | |
Page | query | No | integer | |
PageSize | query | No | integer | |
DateFrom | query | No | dateTime | |
DateTo | query | No | dateTime |
Response model
{
"totalCount": 0,
"items": [
{
"timestamp": "2024-04-26T04:32:10.057Z",
"price": 0,
"amount": 0,
"currencyPairCode": "string",
"isLong": true,
"orderSide": 1
}
]
}
Response codes
Code | Description |
---|---|
200 | Success |
GET /api/futures/deals/user
Summary:
User deal history
Request Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
CurrencyPair | query | No | string | |
Page | query | No | integer | |
PageSize | query | No | integer | |
DateFrom | query | No | dateTime | |
DateTo | query | No | dateTime |
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
Code | Description |
---|---|
200 | Success |