BinanceFutures.USDM.MarketData.open_interest_hist
You're seeing just the function
open_interest_hist, go back to BinanceFutures.USDM.MarketData module for more information.
Link to this function
open_interest_hist(symbol, interval \\ nil, start_time \\ nil, end_time \\ nil, limit \\ 30)
View SourceSpecs
open_interest_hist( binary(), BinanceFutures.interval(), nil | pos_integer(), nil | pos_integer(), pos_integer() ) :: {:ok, [map()]} | BinanceFutures.HTTPClient.error()
Gets Open Interest Statistics.
If startTime and endTime are not sent, the most recent data is returned. Only the data of the latest 30 days is available.
Example
iex(1)> BinanceFutures.USDM.MarketData.open_interest_hist("BTCUSDT", "5m", nil, nil, 1)
{:ok,
[
%{
"sumOpenInterest" => "34085.00000000",
"sumOpenInterestValue" => "1927265695.27131325",
"symbol" => "BTCUSDT",
"timestamp" => 1616438700000
}
]}