Class: IB::Messages::Incoming::HistoricalDataUpdate

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#resultsObject

Returns the value of attribute results.



88
89
90
# File 'lib/ib/messages/incoming/historical_data.rb', line 88

def results
  @results
end

Instance Method Details

#barObject



91
92
93
# File 'lib/ib/messages/incoming/historical_data.rb', line 91

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

#to_humanObject



95
96
97
# File 'lib/ib/messages/incoming/historical_data.rb', line 95

def to_human
  "<HistDataUpdate #{request_id} #{bar}>"
end