Make symbol parameter optional in GetFundingRatesAsync#1580
Conversation
Due to https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Get-Funding-Rate-History symbol parameter is optional and GetFundingRatesAsync can return data for all symbols either
|
@JKorf do you have any doubts about this PR? |
|
Sorry I missed this one. |
|
@JKorf It is odd, but the API just returns a list of symbols that had their funding rate updated, sorted by oldest first within the limit. In the example below Example for request with no parameters |
|
@JKorf you're right, the endpoint returns just an array of historical FundingRates with limit length for all exchange symbols like @rxmp said. Later user can create a Dictionary<string, BinanceFuturesFundingRateHistory> or so to make it more useful. |
Due to documentation symbol parameter is optional and GetFundingRatesAsync can return data for all symbols either.
Make symbol parameter nullable to support this behavior.