2018-05-05 23:52:23 Bitfinex 错误 Futures_OP 4: 400: {“message”:“Key amount should be a decimal string.”}
$.bitfinexBuy = function(price, amount){ var message = “symbol=” + basecurrency + quotecurrency + “&amount=” + amount.toString() + “&price=” + price.toString() + “&side=buy” + “&type=limit” var id = exchanges[bitfinexIndex].IO(“api”, “POST”, “/v1/order/new”, message) return id.order_id
似乎是你们IO封装参数的时候强制设置为字符型,但是场子只接受整字,所以报错。
这个问题已经很长时间了,还是没有更改啊,
求助处理