BinanceFutures.USDM.MarketData.taker_long_short_ratio
You're seeing just the function
taker_long_short_ratio, go back to BinanceFutures.USDM.MarketData module for more information.
Link to this function
taker_long_short_ratio(symbol, interval, start_time \\ nil, end_time \\ nil, limit \\ 30)
View SourceSpecs
taker_long_short_ratio( binary(), BinanceFutures.interval(), nil | pos_integer(), nil | pos_integer(), pos_integer() ) :: {:ok, [map()]} | BinanceFutures.HTTPClient.error()
Gets Taker Long/Short Ratio.
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.taker_long_short_ratio("BTCUSDT", "5m", nil, nil, 1)
{:ok,
[
%{
"buySellRatio" => "1.1603",
"buyVol" => "298.2800",
"sellVol" => "257.0660",
"timestamp" => 1616439300000
}
]}