avatar of richardweiming richardweiming
집중하다 사신
0
집중하다
0
수행원

도움말, exchange.IO 및 Bitfinex 마진 거래 템플릿을 사용하여 마진 주문을 하면 두 가지 모두 오류가 발생합니다.

만든 날짜: 2018-05-06 00:07:05, 업데이트 날짜: 2018-05-06 00:07:27
comments   1
hits   1882

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封装参数的时候强制设置为字符型,但是场子只接受整字,所以报错。
这个问题已经很长时间了,还是没有更改啊,
求助处理