Class: MtGox::Ticker
- Inherits:
-
Object
- Object
- MtGox::Ticker
- Includes:
- PriceTicker, Singleton
- Defined in:
- lib/mtgox/ticker.rb
Instance Attribute Summary collapse
-
#avg ⇒ Object
Returns the value of attribute avg.
-
#buy ⇒ Object
Returns the value of attribute buy.
-
#high ⇒ Object
Returns the value of attribute high.
-
#low ⇒ Object
Returns the value of attribute low.
-
#sell ⇒ Object
Returns the value of attribute sell.
-
#volume ⇒ Object
Returns the value of attribute volume.
-
#vwap ⇒ Object
Returns the value of attribute vwap.
Attributes included from PriceTicker
Method Summary
Methods included from PriceTicker
#changed?, #down?, #unchanged?, #up?
Instance Attribute Details
#avg ⇒ Object
Returns the value of attribute avg.
8 9 10 |
# File 'lib/mtgox/ticker.rb', line 8 def avg @avg end |
#buy ⇒ Object
Returns the value of attribute buy.
8 9 10 |
# File 'lib/mtgox/ticker.rb', line 8 def buy @buy end |
#high ⇒ Object
Returns the value of attribute high.
8 9 10 |
# File 'lib/mtgox/ticker.rb', line 8 def high @high end |
#low ⇒ Object
Returns the value of attribute low.
8 9 10 |
# File 'lib/mtgox/ticker.rb', line 8 def low @low end |
#sell ⇒ Object
Returns the value of attribute sell.
8 9 10 |
# File 'lib/mtgox/ticker.rb', line 8 def sell @sell end |
#volume ⇒ Object
Returns the value of attribute volume.
8 9 10 |
# File 'lib/mtgox/ticker.rb', line 8 def volume @volume end |
#vwap ⇒ Object
Returns the value of attribute vwap.
8 9 10 |
# File 'lib/mtgox/ticker.rb', line 8 def vwap @vwap end |