Class: IB::IncomingMessages::MarketDepthL2

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

Overview

MarketDepth

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



1292
1293
1294
# File 'lib/ib-ruby/messages.rb', line 1292

def self.message_id
  13
end

Instance Method Details

#loadObject



1296
1297
1298
1299
# File 'lib/ib-ruby/messages.rb', line 1296

def load
  autoload([:version, :int], [:id, :int], [:position, :int], [:market_maker, :string], [:operation, :int], [:side, :int],
           [:price, :decimal], [:size, :int])
end