Get Active Order Value Calculation
You can query this endpoint to get the the total number and value of the all your active orders.
HTTP REQUEST
GET /api/v1/openOrderStatistics
Example
GET /api/v1/openOrderStatistics
{
"code": "200000",
"data": {
"openOrderBuySize": 20, //Total number of the unexecuted buy orders
"openOrderSellSize": 0, //Total number of the unexecuted sell orders
"openOrderBuyCost": "0.0025252525", //Value of all the unexecuted buy orders
"openOrderSellCost": "0", //Value of all the unexecuted sell orders
"settleCurrency": "XBT" //settlement currency
}
}
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Futures URL
REQUEST RATE LIMIT
Futures weight
:10
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | String | Yes | Symbol of the contract |
RESPONSES
Param | Description |
---|---|
openOrderBuySize | Total number of the unexecuted buy orders |
openOrderSellSize | Total number of the unexecuted sell orders |
openOrderBuyCost | Value of all the unexecuted buy orders |
openOrderSellCost | Value of all the unexecuted sell orders |
settleCurrency | settlement currency |