Funding Rate Filter By Asc and Desc

Can you help me? The task looks simple, but I can’t find filtering by funding rate in real-time. All I need for now is to get a list of coins by this filter sort by ascending and descending.

Hi,

First you would need to store the funding rate data into an array for example and then perform a sort on the array. Refer to the Get Funding Rate History Endpoint and then in Python for example, you would store the data in an array or dictionary and then use the inbuilt sort() function. Depending on what you want to sort by (date, funding rate, etc.) you may have to convert the strings to floats in order for the sort to function properly.