1
Follow
1
Followers
function main() {
var arrOrders = [
{"instrument_id":"ltc-usdt","side":"sell","type":"limit","size":"0.01","price":"68"},
{"instrument_id":"ltc-usdt","side":"sell","type":"limit","size":"0.01","price":"69"}
]
// 调用 exchange.IO 直接访问交易所批量下单接口
var ret = exchange.IO("api", "POST", "/api/spot/v3/batch_orders", "" , JSON.stringify(arrOrders))
}
공식 예제를 사용함 오류: Futures_OP 4: 400: {"message":"Invalid JSON format"}
이 질문에 대한 답변을 주시기 바랍니다.
Related Recommendations
Advanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engineHow to install ta-lib on linux docker?5.5 Trading strategy optimization
Comment
All comments (4)
有没有知道问题的,我调了一个上午了,还是找不到什么原因导致的,也看了官方的api接口,好像没发现什么问题,就是 exchange.IO 里面做了什么不清楚,不知道从哪里入手来查了
7 years ago
- 1
