Class: IB::IncomingMessages::ScannerData
- Inherits:
-
AbstractMessage
- Object
- ExtremelyAbstractMessage
- AbstractMessage
- IB::IncomingMessages::ScannerData
- Defined in:
- lib/ib-ruby/messages.rb
Instance Attribute Summary collapse
-
#contract_details ⇒ Object
Returns the value of attribute contract_details.
Attributes inherited from AbstractMessage
Attributes inherited from ExtremelyAbstractMessage
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from AbstractMessage
Methods inherited from ExtremelyAbstractMessage
Constructor Details
This class inherits a constructor from IB::IncomingMessages::AbstractMessage
Instance Attribute Details
#contract_details ⇒ Object
Returns the value of attribute contract_details.
1412 1413 1414 |
# File 'lib/ib-ruby/messages.rb', line 1412 def contract_details @contract_details end |
Class Method Details
.message_id ⇒ Object
1413 1414 1415 |
# File 'lib/ib-ruby/messages.rb', line 1413 def self. 20 end |
Instance Method Details
#load ⇒ Object
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 |
# File 'lib/ib-ruby/messages.rb', line 1417 def load autoload([:version, :int], [:ticker_id, :int], [:number_of_elements, :int]) @data[:results] = Array.new(@data[:number_of_elements]) { |index| { :rank => @socket.read_int ## TODO: Pick up here. } } end |