Class: Mcoin::Market::Bitstamp
- Defined in:
- lib/mcoin/market/bitstamp.rb
Overview
:nodoc:
Constant Summary collapse
- ENDPOINT =
'https://www.bitstamp.net/api/v2/ticker/%<type>s%<currency>s/'
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#establish_connection, #fetch, #initialize, #name, #to_ticker
Constructor Details
This class inherits a constructor from Mcoin::Market::Base
Instance Method Details
#watch(type, currency) ⇒ Object
9 10 11 |
# File 'lib/mcoin/market/bitstamp.rb', line 9 def watch(type, currency) @pairs.add({ type: type.to_s.downcase, currency: currency.to_s.downcase }) end |