0
Seguir
1
Seguidores

¿Cómo analizar el JSON obtenido al consultar todos los pedidos en exchange.IO en una matriz?

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

¿Quiere obtener el historial de transacciones recientes de la cuenta Binary en su API personalizada y obtener los siguientes datos json después de ejecutarlos?

[{"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"