request interface

/Trade/tradeLimitOrder

额外限制

Parameter Required Type Notes
symbol Yes string Trading pair name such as btc_usdt
number No float Must be passed when selling, pass in the quantity
side Yes string Type buy: buy sell: sell
price Yes float price
client_user_id No string User-defined user ID

return data example

{
  "status": 200, //status 200 successful
  "source": "API",
  "msg": "OK", //returns OK if status is 200 otherwise returns FAIL
  "data": {
    "order_id": 1324800, //order ID
    "user_id": 100000665, //system user ID
    "client_user_id": 157489, //user-defined user ID
    "symbol": "btc_usdt", //trading pair name
    "side": "buy", //type buy/sell
    "price": 30000, //price
    "total": "2000.88", //total price of the order
    "over_num": "0", //remaining quantity
    "deal_num": "0.05", //deal quantity
    "deal_total": "2000.88", //total cost of the transacted order
    "deal_avg_price": "36262.96", //average price
    "fee": "0", //fees
    "status": 2 //status 0-not filled|1-partially filled|2-all filled|3-cancelled
  },
  "seconds": 1625055537, //second timestamp
  "microtime": 1625055537833 // millisecond timestamp
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""

      results matching ""

        No results matching ""