Class: IB::Messages::Incoming::RealTimeBar

Inherits:
Object
  • Object
show all
Defined in:
lib/ib/messages/incoming/real_time_bar.rb

Instance Method Summary collapse

Instance Method Details

#barObject



21
22
23
# File 'lib/ib/messages/incoming/real_time_bar.rb', line 21

def bar
  @bar = IB::Bar.new @data[:bar]
end

#to_humanObject



25
26
27
# File 'lib/ib/messages/incoming/real_time_bar.rb', line 25

def to_human
  "<RealTimeBar: #{request_id} #{bar}>"
end