Class: Kucoin::Api::Endpoints::Markets::Histories
- Inherits:
-
Kucoin::Api::Endpoints::Markets
- Object
- Base
- Kucoin::Api::Endpoints::Markets
- Kucoin::Api::Endpoints::Markets::Histories
- Defined in:
- lib/kucoin/api/endpoints/markets/histories.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Kucoin::Api::Endpoints::Markets
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
#klines(symbol, type, options = {}) ⇒ Object
11 12 13 |
# File 'lib/kucoin/api/endpoints/markets/histories.rb', line 11 def klines symbol, type, ={} open.ku_request :get, :klines, symbol: symbol, type: type, ** end |
#trade(symbol) ⇒ Object
7 8 9 |
# File 'lib/kucoin/api/endpoints/markets/histories.rb', line 7 def trade symbol open.ku_request :get, :trade, symbol: symbol end |