Query the current pending order
GET: /v1/spot/open-order
Parameters
Parameter | Type | mandatory | Default | Description | Ranges |
---|---|---|---|---|---|
symbol | string | false | Trading pair, if not filled in, represents all | ||
bizType | enum | false | SPOT, LEVER | ||
side | enum | false | BUY,SELL |
Limit Flow Rules
10/s/apikey
Response
{
"code": 200,
"msg": "string",
"msgInfo": [
{}
],
"data": [ //For field information, refer to the Get single interface
{
"symbol": "BTC_USDT",
"orderId": "6216559590087220004",
"clientOrderId": "16559590087220001",
"baseCurrency": "string",
"quoteCurrency": "string",
"side": "BUY",
"type": "LIMIT",
"timeInForce": "GTC",
"price": "40000",
"origQty": "2",
"origQuoteQty": "48000",
"executedQty": "1.2",
"leavingQty": "string",
"tradeBase": "2",
"tradeQuote": "48000",
"avgPrice": "42350",
"fee": "string",
"feeCurrency": "string",
"nftId": "string",
"symbolType": "string",
"state": "NEW",
"deductServices":[
{ //Fee deduction list (if set JU deduction fee and the deduction occurs, use this field to represent the trade fee. Otherwise, use the original fee and feeCurrency fields to represent the trade fee).
"fee":"0.1",
"feeCurrency":"ju"
},
{
"fee":"0.001",
"feeCurrency":"btc"
}
],
"closed": true,
"time": 1655958915583,
"ip": "127.0.0.1",
"updatedTime": 1655958915583
}
]
}