exchange.IO는 모든 주문을 검색하는 json를 어떻게 배열로 풀까요?

저자:gzf445, 2019-10-29 23:04:06, 업데이트: 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"

더 많은

초목 https://www.fmz.com/bbs-topic/4183