Class: Mcoin::Market::Bittrex

Inherits:
Base
  • Object
show all
Defined in:
lib/mcoin/market/bittrex.rb

Overview

:nodoc:

Constant Summary collapse

ENDPOINT =
'https://bittrex.com/api/v1.1/public/getmarketsummary?market=%<currency>s-%<type>s'

Instance Attribute Summary

Attributes inherited from Base

#results

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



11
12
13
14
# File 'lib/mcoin/market/bittrex.rb', line 11

def watch(type, currency)
  type = swap_bch(type.to_s.upcase)
  super
end