ExKucoin v0.0.1 ExKucoin.Market.Symbol View Source

Retrieves symbols API Docs

Link to this section Summary

Functions

Retrieve all symbols

Link to this section Types

Link to this section Functions

Link to this function

all(market \\ nil) View Source
all(market() | nil) :: list()

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
}

]