Class: MtGox::Ticker

Inherits:
Object
  • Object
show all
Includes:
PriceTicker, Singleton
Defined in:
lib/mtgox/ticker.rb

Instance Attribute Summary collapse

Attributes included from PriceTicker

#previous_price, #price

Method Summary

Methods included from PriceTicker

#changed?, #down?, #unchanged?, #up?

Instance Attribute Details

#avgObject

Returns the value of attribute avg.



8
9
10
# File 'lib/mtgox/ticker.rb', line 8

def avg
  @avg
end

#buyObject

Returns the value of attribute buy.



8
9
10
# File 'lib/mtgox/ticker.rb', line 8

def buy
  @buy
end

#highObject

Returns the value of attribute high.



8
9
10
# File 'lib/mtgox/ticker.rb', line 8

def high
  @high
end

#lowObject

Returns the value of attribute low.



8
9
10
# File 'lib/mtgox/ticker.rb', line 8

def low
  @low
end

#sellObject

Returns the value of attribute sell.



8
9
10
# File 'lib/mtgox/ticker.rb', line 8

def sell
  @sell
end

#volumeObject

Returns the value of attribute volume.



8
9
10
# File 'lib/mtgox/ticker.rb', line 8

def volume
  @volume
end

#vwapObject

Returns the value of attribute vwap.



8
9
10
# File 'lib/mtgox/ticker.rb', line 8

def vwap
  @vwap
end