You can cancel a margin order with the following api.
/POST/api/v1/cancle/leverOrder
Url:
https://api.crossexchange.io/POST/api/v1/cancle/leverOrder
Request:
|
Name |
Type |
Description |
|
api_key |
String |
API KEY |
|
auth_nonce |
String |
Timestamp |
|
auth_sign |
String |
Sign: MD5coding.MD5( api_key+auth_nonce+ orderId+stopLossPrice+ stopProfitPrice) |
|
orderId |
Long |
The id of the order you want to cancel |
Response:
{
"code": 0,
"data": { }
}
|
code |
String |
0: successful |
