Loading ...

杠杆IO撤单 提示传入参数不能为空

Author: wang1256, Created: 2019-06-17 16:02:36, Updated: 2019-06-17 16:12:07

此 API 用于撤销指定订单,订单撤销过程是异步的,即此 API 的调用成功代表着订单已经进入撤销申请的过程,需要等待撮合的进一步处理,才能进行订单的撤销确认。

HTTP Request POST https://api.fcoin.com/v2/orders/{order_id}/submit-cancel

URL 参数 参数 解释 order_id 订单 ID

这是杠杆下单返回数据 {“status”:0,“data”:“06hVhZklN0nPczi881H083h3xS77m1AUv4i-ctny_TJdEeI9XBSrqojCfPWk80atmxqvd2RxIMqgB4Agygptig==”}

这是撤单

var a1=exchange.IO("api",“POST”,"/v2/orders",“order_id=06hVhZklN0nPczi881H083h3xS77m1AUv4i-ctny_TJdEeI9XBSrqojCfPWk80atmxqvd2RxIMqgB4Agygptig==&submit-cancel”)

FCoin 错误 Futures_OP 4: 400: {“status”:1003,“msg”:“argument is not null: {0}”}


More

发明者量化 ``` var a1=exchange.IO("api","POST","/v2/orders/06hVhZklN0nPczi881H083h3xS77m1AUv4i-ctny_TJdEeI9XBSrqojCfPWk80atmxqvd2RxIMqgB4Agygptig==/submit-cancel") ```