function main(){
var ret = exchange.IO("api", "GET", "/api/v3/allOrders", "symbol=LINKBTC&limit=5");
Log(ret);
}
Using a custom API, you want to get the most recent transaction history of your Bitcoin account, and after running it, you get the following json data, how to convert it into an easy-to-call array?
[{"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"
The grass https://www.fmz.com/bbs-topic/4183