0
Follow
0
Followers
Sobre la cuestión de la colocación de pedidos por lotes en BitMEX
Created 2018-04-13 12:38:17
4
2626
Por ejemplo:
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)
El error es el siguiente:
Error: bad element for argument #3[3] to 'Exchange_Futures_OP' (got object) at onTick
Por favor, ¿cómo se debe escribir el formato de código para pedidos por lotes específicos de bitmex? ¿Hay algún ejemplo?
Related Recommendations
Python streamlined multi-variety MACD trending strategy frameworkin main TypeError: IO() takes at most 3 arguments (5 given)symbol not setGetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 errorBitcoin trading by using botsPlease translate the buy plan page
Comment
All comments (3)
这个要参看 BITMEX 交易所 的API 文档 , 看文档上这个接口 对于 参数的要求 , 您这个 应该不能直接 把数组做参数 放进 exchange.IO 的参数。
8 years ago
回复
https://www.bitmex.com/api/explorer/#!/Order/Order_newBulk
API 文档里面写的好像就是数组,上面是API 文档地址,能麻烦帮忙看下吗?谢谢!
8 years ago
- 1
