Class: IB::IncomingMessages::OrderStatus

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

Instance Attribute Summary

Attributes inherited from AbstractMessage

#data

Attributes inherited from ExtremelyAbstractMessage

#created_at

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractMessage

inherited, #initialize

Methods inherited from ExtremelyAbstractMessage

#to_human

Constructor Details

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

Class Method Details

.message_idObject



985
986
987
# File 'lib/ib-ruby/messages.rb', line 985

def self.message_id
  3
end

Instance Method Details

#loadObject



989
990
991
992
993
994
995
996
997
# File 'lib/ib-ruby/messages.rb', line 989

def load
  autoload([:version, :int], [:id, :int], [:status, :string], [:filled, :int], [:remaining, :int],
           [:average_fill_price, :decimal])

  version_load(2, [:perm_id, :int])
  version_load(3, [:parent_id, :int])
  version_load(4, [:last_fill_price, :decimal])
  version_load(5, [:client_id, :int])
end