avatar of gzf445 gzf445
关注 私信
0
关注
1
关注者

exchange.IO 查询所有订单获取的json怎么解析为数组?

创建于: 2019-10-29 23:04:06, 更新于: 2019-10-30 20:56:14
comments   1
hits   1336
function main(){
    var ret = exchange.IO("api", "GET", "/api/v3/allOrders", "symbol=LINKBTC&limit=5");
    Log(ret);
}

利用自定义api 想获取币安里账户最近历史交易记录,运行后得到下面这样一个json数据,请问如何转化为数组方便调用?

[{"clientOrderId":"R*******","isWorking":true,"status":"FILLED","timeInForce":"GTC","stopPrice":"0.00000000","icebergQty":"0.00000000","symbol":"LINKBTC","orderListId":-1,"price":"0.00000000","cummulativeQuoteQty":"0.02448498","updateTime":1570543474288,"orderId":168603697,"side":"BUY","time":1570543474288,"origQty":"78.00000000","executedQty":"78.00000000","type":"MARKET"},{"cummulativeQuoteQty":"0.00349811"
相关推荐
全部留言
avatar of 小草
小草
https://www.fmz.com/bbs-topic/4183
2019-10-30 09:13:31