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

Inherits:
Kucoin::Api::Endpoints::Markets show all
Defined in:
lib/kucoin/api/endpoints/markets/tickers.rb

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Kucoin::Api::Endpoints::Markets

#stats

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



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

def index
  open.ku_request :get, :index
end

#inside(symbol) ⇒ Object



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

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