Class: IB::OutgoingMessages::RequestExecutions
- Inherits:
-
AbstractMessage
- Object
- ExtremelyAbstractMessage
- AbstractMessage
- IB::OutgoingMessages::RequestExecutions
- Defined in:
- lib/ib-ruby/messages.rb
Overview
data = { :filter => ExecutionFilter ]
Instance Attribute Summary
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::OutgoingMessages::AbstractMessage
Class Method Details
.message_id ⇒ Object
296 297 298 |
# File 'lib/ib-ruby/messages.rb', line 296 def self. 7 end |
Instance Method Details
#queue(server) ⇒ Object
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 |
# File 'lib/ib-ruby/messages.rb', line 299 def queue(server) queue = [ self.class., 2 # version ] queue.concat([ @data[:filter].client_id, @data[:filter].acct_code, # The Java says: 'Note that the valid format for m_time is "yyyymmdd-hh:mm:ss"' @data[:filter].time, @data[:filter].symbol, @data[:filter].sec_type, @data[:filter].exchange, @data[:filter].side ]) if server[:version] >= 9 queue end |