ExKucoin.Market.Symbol (ExKucoin v0.1.0) View Source
Retrieves symbols API Docs
Link to this section Summary
Functions
Retrieve all symbols
Link to this section Types
Specs
market() :: String.t()
Link to this section Functions
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
}
]