0
关注
0
关注者
例如:
var message1 ="symbol=XBTUSD&orderQty=1&price=8000&ordType=Limit&execInst=ParticipateDoNotInitiate"
var message2 ="symbol=XBTUSD&orderQty=1&price=9000&ordType=Limit&execInst=ParticipateDoNotInitiate"
var message = [message1,message2]
exchange.IO("api","POST","/api/v1/order/bulk",message)
报错如下:
Error: bad element for argument #3[3] to 'Exchange_Futures_OP' (got object) at onTick
请问,bitmex具体的批量下单的代码格式应该怎么写?有相关例子吗?谢谢!
相关推荐
评论
全部评论 (3)
回复
https://www.bitmex.com/api/explorer/#!/Order/Order_newBulk
API 文档里面写的好像就是数组,上面是API 文档地址,能麻烦帮忙看下吗?谢谢!
8 年前
- 1
