跳到主要内容

查询未触发条件单

查询未触发条件单

查询当前账户下所有未触发的条件单

限频:每秒 1 次

请求地址

GET /deepcoin/trade/trigger-orders-pending

请求参数

字段名是否必填类型字段描述
instTypestring产品类型
币币: SPOT
合约: SWAP
instIdstring产品 ID,如 BTC-USDT-SWAP
orderTypestring触发订单类型
限价单: limit
市价单: market
limitinteger分页返回的结果集数量,最大为 100,不填默认返回 100 条,取值范围:1-100

响应参数

字段名类型字段描述
instTypestring产品类型,如 SWAP
instIdstring产品 ID,如 BTC-USDT-SWAP
ordIdstring订单 ID
triggerPxstring触发价格
ordPxstring委托价格
szstring委托数量
ordTypestring订单类型
市价单: market
限价单: limit
sidestring订单方向
买: buy
卖: sell
posSidestring持仓方向
多头: long
空头: short
tdModestring交易模式
全仓: cross
逐仓: isolated
triggerOrderTypestring触发订单类型
TPSL: 止盈止损
Conditional: 条件单
Serial: 连续下单
Indicator: 指标单
Complex: 组合指标
Tracking: 追踪出场
Line: 画线委托
triggerPxTypestring触发价类型
最新价: last
指数价: index
标记价: mark
leverstring杠杆倍数
slPricestring止损价格
slTriggerPricestring止损触发价格
tpPricestring止盈价格
tpTriggerPricestring止盈触发价格
closeSLTriggerPricestring开仓止损价格
closeTPTriggerPricestring开仓止盈价格
cTimestring订单创建时间,Unix 时间戳的毫秒数格式
uTimestring订单状态更新时间,Unix 时间戳的毫秒数格式

响应示例

{
"code": "0",
"msg": "",
"data": [
{
"instType": "SWAP",
"instId": "BTC-USDT-SWAP",
"ordId": "1000595888037394",
"triggerPx": "0",
"ordPx": "0",
"sz": "0",
"ordType": "",
"side": "sell",
"posSide": "long",
"tdMode": "cross",
"triggerOrderType": "TPSL",
"triggerPxType": "last",
"lever": "11",
"slPrice": "0",
"slTriggerPrice": "110001",
"tpPrice": "0",
"tpTriggerPrice": "170001",
"closeSLTriggerPrice": "",
"closeTPTriggerPrice": "",
"cTime": "1758028926000",
"uTime": "1758028926000"
},
{
"instType": "SWAP",
"instId": "BTC-USDT-SWAP",
"ordId": "1000595888000274",
"triggerPx": "150001",
"ordPx": "130001",
"sz": "201",
"ordType": "",
"side": "buy",
"posSide": "long",
"tdMode": "cross",
"triggerOrderType": "Conditional",
"triggerPxType": "last",
"lever": "11",
"slPrice": "130001",
"slTriggerPrice": "150001",
"tpPrice": "0",
"tpTriggerPrice": "0",
"closeSLTriggerPrice": "",
"closeTPTriggerPrice": "",
"cTime": "1758026859000",
"uTime": "1758026859000"
},
{
"instType": "SWAP",
"instId": "BTC-USDT-SWAP",
"ordId": "1000595887990299",
"triggerPx": "150000",
"ordPx": "130000",
"sz": "200",
"ordType": "",
"side": "buy",
"posSide": "long",
"tdMode": "cross",
"triggerOrderType": "Conditional",
"triggerPxType": "last",
"lever": "11",
"slPrice": "",
"slTriggerPrice": "",
"tpPrice": "",
"tpTriggerPrice": "",
"closeSLTriggerPrice": "110000",
"closeTPTriggerPrice": "160000",
"cTime": "1758026306000",
"uTime": "1758026306000"
}
]
}