ExKucoin.Market.Symbol (ExKucoin v0.0.5) View Source

Retrieves symbols API Docs

Link to this section Summary

Link to this section Types

Specs

market() :: String.t()

Link to this section Functions

Link to this function

all(market \\ nil, config \\ nil)

View Source

Retrieve all symbols

Examples

Retrieve all symbols

iex> ExKucoin.Market.Symbol.all() [

%{
  "symbol" => "BTC-USDT",
  "name" => "BTC-USDT",
  "baseCurrency" => "BTC",
  "quoteCurrency" => "USDT",
  "baseMinSize" => "0.00000001",
  "quoteMinSize" => "0.01",
  "baseMaxSize" => "10000",
  "quoteMaxSize" => "100000",
  "baseIncrement" => "0.00000001",
  "quoteIncrement" => "0.01",
  "priceIncrement" => "0.00000001",
  "feeCurrency" => "USDT",
  "enableTrading" => true
}

]

Retrieve symbol from given market

iex> ExKucoin.Market.Symbol.all("BTC-USDT") [

%{
  "symbol" => "BTC-USDT",
  "name" => "BTC-USDT",
  "baseCurrency" => "BTC",
  "quoteCurrency" => "USDT",
  "baseMinSize" => "0.00000001",
  "quoteMinSize" => "0.01",
  "baseMaxSize" => "10000",
  "quoteMaxSize" => "100000",
  "baseIncrement" => "0.00000001",
  "quoteIncrement" => "0.01",
  "priceIncrement" => "0.00000001",
  "feeCurrency" => "USDT",
  "enableTrading" => true
}

]