function main(){
var ret = exchange.IO("api", "GET", "/api/v3/allOrders", "symbol=LINKBTC&limit=5");
Log(ret);
}
Dengan menggunakan API khusus, Anda ingin mendapatkan catatan sejarah transaksi baru-baru ini dari akun Bitcoin Anda, dan setelah dijalankan, Anda mendapatkan data json seperti di bawah ini, mohon bagaimana mengubahnya menjadi array yang mudah dihubungi?
[{"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"
Rumput https://www.fmz.com/bbs-topic/4183