请求接口

/Trade/batchCancelOrder

参数 是否必传 类型 说明
order_ids string 订单ID,用英文逗号分隔 例如 123,456

说明:接口只返回撤单成功的订单数据


{
  "status": 200, //成功码
  "source": "API",
  "msg": "OK", //status为200时返回OK 否则返回FAIL
  "data": [{
    "order_id": 13050984, //订单ID
    "user_id": 10000006050, //用户ID
    "symbol": "btc_usdt", //交易对名称
    "side": "sell", //方向
    "price":30000, //价格
    "total": "39380.26", //委托总价格
    "over_num": "0.000000", //剩余数量
    "deal_num": "1.000000", //成交数量
    "deal_total": "39380.26", //成交总价格$c
    "deal_avg_price": "39380.26", //成交均价
    "fee": "35.44223851", //手续费
    "status": 2, //状态 0-未成交|1-部分成交|2-全部成交|3-已撤销
    "created_at": "2022-03-06 02:02:43",
    "updated_at": "2022-03-06 02:02:43"
  },
    {
      "order_id": 13051020,
      "user_id": 10000006050,
      "symbol": "btc_usdt",
      "side": "buy",
      "price":30000,
      "total": "1800.00",
      "over_num": "0.060000",
      "deal_num": "0.060000",
      "deal_total": "0.00",
      "deal_avg_price": "0.00",
      "fee": "0.",
      "status": 3,
      "created_at": "2022-03-08 00:45:24",
      "updated_at": "2022-03-08 00:45:24"
    }],
  "seconds": 1646503522,
  "microtime": 1646503522550,
  "unique_id": "6223a661c3c4b1212726153",
  "host": "127.0.0.1"
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""

      results matching ""

        No results matching ""