class IB::Messages::Incoming::AbstractTick
Public Instance Methods
to_human()
click to toggle source
# File lib/ib/messages/incoming/ticks.rb, line 12 def to_human "<#{self.message_type} #{type}:" + @data.map do |key, value| " #{key} #{value}" unless [:version, :ticker_id, :tick_type].include?(key) end.compact.join(',') + " >" end
type()
click to toggle source
Returns Symbol
with a meaningful name for received tick type
# File lib/ib/messages/incoming/ticks.rb, line 8 def type TICK_TYPES[@data[:tick_type]] end