BinanceFutures.RateLimiter.get
You're seeing just the function
get
, go back to BinanceFutures.RateLimiter module for more information.
Specs
get() :: BinanceFutures.RateLimiter.State.t()
Get all available limits information.
Note that if you didn't call BinanceFutures.RateLimiter.fetch_limits/0
limits
field will be empty.
Example
iex(1)> BinanceFutures.RateLimiter.get()
%{limits: %{orders: %{}, weight: %{}}, orders: %{}, weight: %{"1M" => 1}}
iex(2)> BinanceFutures.RateLimiter.fetch_limits()
:ok
iex(3)> BinanceFutures.RateLimiter.get()
%{
limits: %{orders: %{"10S" => 300, "1M" => 1200}, weight: %{"1M" => 2400}},
orders: %{},
weight: %{"1M" => 2}
}