Module: Bitstamp::HTTP::Ticker

Included in:
Client
Defined in:
lib/bitstamp/http/ticker.rb

Instance Method Summary collapse

Instance Method Details

#hourly_ticker(currency_pair:) ⇒ Object



7
8
9
# File 'lib/bitstamp/http/ticker.rb', line 7

def hourly_ticker(currency_pair:)
  return call(request_uri('v2', 'ticker_hour', currency_pair), 'GET', nil)
end

#ticker(currency_pair:) ⇒ Object



3
4
5
# File 'lib/bitstamp/http/ticker.rb', line 3

def ticker(currency_pair:)
  return call(request_uri('v2', 'ticker', currency_pair), 'GET', nil)
end