通過orderId獲取訂單詳情

此接口,可以通過訂單id獲取單個訂單信息。

HTTP請求

GET /api/v3/oco/order/details/{orderId}

請求示例

GET /api/v3/oco/order/details/6572fdd65723280007deb5e0

{
    "orderId": "6572fdd65723280007deb5e0",
    "symbol": "FRM-USDT",
    "clientOid": "9a05f706a39eff673045b89foco1",
    "orderTime": 1702034902724,
    "status": "NEW",
    "orders": [
        {
            "id": "vs9hqpbivnb5e8p8003ttdf1",
            "symbol": "FRM-USDT",
            "side": "sell",
            "price": "1.00000000000000000000",
            "stopPrice": "1.00000000000000000000",
            "size": "25.00000000000000000000",
            "status": "NEW"
        },
        {
            "id": "vs9hqpbivnb5e8p8003ttdf2",
            "symbol": "FRM-USDT",
            "side": "sell",
            "price": "3.00000000000000000000",
            "stopPrice": "0.06000000000000000000",
            "size": "25.00000000000000000000",
            "status": "NEW"
        }
    ]
}
API權限

此接口需要通用權限

請求URL

此接口支持現貨URL

頻率限制

現貨类权重:2

請求參數
請求參數 類型 是否必須 含義
orderId String 路徑參數,訂單Id 唯一標識
返回值
字段 含義
orderId 訂單id,訂單唯一標識
symbol 交易對
clientOid 客戶端生成的標識
orderTime 下單時間,毫秒
status 订单状态:NEW:新建,DONE:已完成,TRIGGERED:已触发,CANCELLED:已取消
orders 子訂單信息