资源加载中... loading...

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

Author: gzf445, Created: 2019-10-29 23:04:06, Updated: 2019-10-30 20:56:14

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"

More

小草 https://www.fmz.com/bbs-topic/4183