request interface

/Trade/orderInfo

Parameter Required Type Notes
order_id Yes string Order ID eg 123456

return data example

{
  "status": 200, //success code
  "source": "API",
  "msg": "OK", //OK if status is 200 otherwise FAIL
  "data": {
    "order_id": 13050984, //order ID
    "user_id": 10000006050, //user ID
    "symbol": "btc_usdt", //trading pair name
    "side": "sell", //direction
    "price": 30000, //price
    "total": "39380.26", //total cost of the order
    "over_num": "0.000000", //remaining quantity
    "deal_num": "1.000000", //deal quantity
    "deal_total": "39380.26", //total cost of the transacted order
    "deal_avg_price": "39380.26", //average price
    "fee": "35.44223851", //commission
    "status": 2, //status 0-not filled|1-partially filled|2-all filled|3-cancelled
    "created_at": "2022-03-06 02:02:43",
    "updated_at": "2022-03-06 02:02:43"
  },
  "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 ""