BinanceFutures.USDM.MarketData.index_price_klines
You're seeing just the function
index_price_klines
, go back to BinanceFutures.USDM.MarketData module for more information.
Link to this function
index_price_klines(pair, interval, start_time \\ nil, end_time \\ nil, limit \\ 500)
View SourceSpecs
index_price_klines( binary(), BinanceFutures.interval(), nil | pos_integer(), nil | pos_integer(), pos_integer() ) :: {:ok, [list()]} | BinanceFutures.HTTPClient.error()
Gets Kline/candlestick bars for the index price of a pair. Klines are uniquely identified by their open time.
Example
iex(1)> BinanceFutures.USDM.MarketData.index_price_klines("BTCUSDT", "5m", nil, nil, 2)
{:ok,
[
[1616340600000, "57366.98431599", "57429.73139441", "57284.92735200",
"57284.92735200", "0", 1616340899999, "0", 300, "0", "0", "0"],
[1616340900000, "57283.26395200", "57294.43035200", "57224.03776400",
"57265.85639717", "0", 1616341199999, "0", 89, "0", "0", "0"]
]}