Class: MtGox::Models::MultiTicker
- Includes:
- PriceTicker
- Defined in:
- lib/mtgox/models/multi_ticker.rb
Overview
Multi-currency Ticker
Instance Attribute Summary
Attributes included from PriceTicker
Attributes inherited from Model
Instance Method Summary collapse
Methods included from PriceTicker
#changed?, #down?, #unchanged?, #up?
Methods inherited from Model
define_property, #initialize, prop, #set_attributes
Constructor Details
This class inherits a constructor from MtGox::Models::Model
Instance Method Details
#to_s ⇒ Object
22 23 24 25 26 |
# File 'lib/mtgox/models/multi_ticker.rb', line 22 def to_s "<MultiTicker: #{currency} vol #{ vol.round(2) } last #{ last.round(3) }"+ " buy #{ buy.round(3) } sell #{ sell.round(3) } low #{ low.round(3) }"+ " high #{ high.round(3) } avg #{ avg.round(3) } vwap #{ vwap.round(3) } >" end |