The resource loading... loading...

Please teach me a JavaScript problem

Author: VIC, Created: 2021-03-31 20:37:48, Updated:

Ladies and gentlemen, please let me useexchange.IOThis is the first time I've seen this feature. After getting 24-hour continuous contract price information, how do you get the top few contracts with the largest price change percentage from the results? The results look something like this. [{lastPrice:58131.80,lowPrice:56812.00,closeTime:1617193588048,lastPrice:657590646,priceChangePercent:"-1.725",quoteVolume:16870412679.78,volume:287984.541,openTime:1617107160000,weightedAvgPrice:58580.97,lastQty:0.004,openPrice:59152.17,highPrice:59920.00,firstweight:654550517,IdcountQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQtyQty


More

allez-zfunction compare ((property) { return function ((obj1, obj2) { var value1 = obj1 [property]; var value2 = obj2 [property]; return value2 - value1; // decomposition of order I'm not sure. I'm not sure. function main{ This is the first time that the exchange has been able to make a change in its price. I'm not sure. The result is sorted from big to small by price changes.

VICexchange.IO (("api", "GET","/fapi/v1/ticker/24hr") returns as if it is not an object, or some problem, error