Class: IB::OutgoingMessages::CancelScannerSubscription

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

Overview

data = { :ticker_id => int }

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.message_idObject



739
740
741
# File 'lib/ib-ruby/messages.rb', line 739

def self.message_id
  23
end

Instance Method Details

#queue(server) ⇒ Object



743
744
745
746
747
748
749
# File 'lib/ib-ruby/messages.rb', line 743

def queue(server)
  requireVersion(server, 24)
  [self.class.message_id,
   1, # version
   @data[:ticker_id]
  ]
end