0315cancel_all - coinexcom/coinex_exchange_api GitHub Wiki
-
Request description: Cancel unexecuted order.
-
Request type: DELETE
-
Signature required: Yes
-
Rate limit: 100/10s
-
Request Header: authorization:"xxxx" (32-digit capital letters, see generating methos in <API invocation instruction>)
-
Request Url:https://api.coinex.com/v1/order/pending
-
Request parameter:
name type required description access_id String Yes access_id account_id Integer Yes main account ID: 0, margin account ID: See < Inquire Margin Account Market Info >, future account ID: See < Inquire Future Account Market Info > market String Yes See <API invocation description·market> tonce Integer Yes Tonce is a timestamp with a positive Interger that represents the number of milliseconds since Unix epoch to the current time. Error between tonce and server time can not exceed plus or minus 60s -
Return value description:
-
Example:
# Request
DELETE https://api.coinex.com/v1/order/pending?account_id=0&market=BTCBCH&tonce=1513746038205&access_id=BFFA64957AA240F6BBEA26F4E07EC0D9
# Response
{
"code": 0,
"data": {
},
"message": "Ok"
}