BinanceFutures.Rest.MarketData.mark_price_klines
You're seeing just the function
mark_price_klines
, go back to BinanceFutures.Rest.MarketData module for more information.
Link to this function
mark_price_klines(symbol, interval, start_time \\ nil, end_time \\ nil, limit \\ 500)
View SourceSpecs
mark_price_klines( binary(), BinanceFutures.interval(), nil | pos_integer(), nil | pos_integer(), pos_integer() ) :: {:ok, [list()]} | BinanceFutures.HTTPClient.error()
Gets Kline/candlestick bars for the mark price of a symbol. Klines are uniquely identified by their open time.
Example
iex(1)> BinanceFutures.Rest.MarketData.mark_price_klines("BTCUSDT", "5m", nil, nil, 2) {:ok, [
[1616340900000, "57302", "57319.11709042", "57185.40000000",
"57247.46000000", "0", 1616341199999, "0", 300, "0", "0", "0"],
[1616341200000, "57240", "57311.07657677", "57240", "57307.87695491", "0",
1616341499999, "0", 53, "0", "0", "0"]
]}