Class: Kucoin::Api::Endpoints::Markets

Inherits:
Base
  • Object
show all
Defined in:
lib/kucoin/api/endpoints/markets.rb,
lib/kucoin/api/endpoints/markets/symbols.rb,
lib/kucoin/api/endpoints/markets/tickers.rb,
lib/kucoin/api/endpoints/markets/histories.rb,
lib/kucoin/api/endpoints/markets/currencies.rb,
lib/kucoin/api/endpoints/markets/order_book.rb

Direct Known Subclasses

Currencies, Histories, OrderBook, Symbols, Tickers

Defined Under Namespace

Classes: Currencies, Histories, OrderBook, Symbols, Tickers

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#assert_param_is_one_of, #assert_required_param, #auth, #initialize, #open, #path, #url

Constructor Details

This class inherits a constructor from Kucoin::Api::Endpoints::Base

Instance Method Details

#indexObject Also known as: all



6
7
8
# File 'lib/kucoin/api/endpoints/markets.rb', line 6

def index
  open.ku_request :get, :index
end

#stats(symbol) ⇒ Object



11
12
13
# File 'lib/kucoin/api/endpoints/markets.rb', line 11

def stats symbol
  open.ku_request :get, :stats, symbol: symbol
end