1
Follow
0
Followers
以前写的一个bitmex策略重新跑发现不能下单了,出现以下错误提示: Futures_OP 4: 404: {"error":{"message":"Not Found","name":"HTTPError"}},前面提示信息:[{"symbol":"BCHUSD","side":"Buy","orderQty":10,"price":365.7,"execInst":"ParticipateDoNotInitiate"}],我是按照https://www.fmz.com/bbs-topic/3683这篇文章里的语言下的单,是交易所更新了下单命令还是fMZ下单语句发生变化了?
Related Recommendations
Use the extended API on FMZ Quant to realize "TradingView" alert signal tradingMain Interface Overview and Structure of FMZ Quant Trading PlatformHow to Pend Market orders (Only Passively Traded) and Place Orders in Batch on BitMEX (IO Demo)FMZ Launched Python Local Backtest EngineFMZ Feedback to New and Old Users by AffiliationFMZ Quant Simulation Level Backtest Mechanism DescriptionFMZ Backtest Mechanism DescriptionLinux Docker Installation and Update StepsQuick Start for PythonQuick Start for JavaScript
Comment
All comments (3)
调试了一下午,终于发现单独下单指令还能执行,批量下单不能识别了。请梦总验证一下https://www.fmz.com/bbs-topic/3683的批量下单指令是否有问题。谢谢。
4 years ago
交易代码如下,是仿照FMZ给的例子做的,主要是2020年还能运行,现在突然不行了。
var temporders = []
temporders.push({symbol: symbol, side: dirction, orderQty: value, price: nowprice, execInst:'ParticipateDoNotInitiate'})
var param = "orders=" + JSON.stringify(temporders);
Log(temporders)
var id = exchange.IO("api", "POST", "/api/v1/order/bulk", param);//批量订单在这里提交
return id
4 years ago
- 1
