Tradehub.Statistics (Tradehub v0.1.7) View Source
This module uses to fetch profits information of the chain.
Link to this section Summary
Functions
Get rich list of a specific token
top_r_profits(market)
deprecated
Get top returns profit of the given market
Link to this section Functions
Specs
rich_list(String.t()) :: {:ok, [Tradehub.rich_holder()]} | {:error, HTTPoison.Error.t()}
Get rich list of a specific token
Examples
iex> Tradehub.Statistics.rich_list("swth")
This function is deprecated. This function is not working yet.
Specs
Get top returns profit of the given market
Examples
iex> Tradehub.Statistics.top_r_profits("swth_eth1")