Class: IB::OutgoingMessages::RequestFA

Inherits:
AbstractMessage show all
Defined in:
lib/ib-ruby/messages.rb

Overview

No idea what this is. data = { :fa_data_type => int }

Instance Attribute Summary

Attributes inherited from ExtremelyAbstractMessage

#created_at

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractMessage

#initialize, #send

Methods inherited from ExtremelyAbstractMessage

#to_human

Constructor Details

This class inherits a constructor from IB::OutgoingMessages::AbstractMessage

Class Method Details

.message_idObject



485
486
487
# File 'lib/ib-ruby/messages.rb', line 485

def self.message_id
  18
end

Instance Method Details

#queue(server) ⇒ Object



489
490
491
492
493
494
495
496
# File 'lib/ib-ruby/messages.rb', line 489

def queue(server)
  requireVersion(server, 13)

  [ self.class.message_id,
    1, # version
    @data[:fa_data_type]
  ]
end