Class: IB::OutgoingMessages::CancelHistoricalData

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



770
771
772
# File 'lib/ib-ruby/messages.rb', line 770

def self.message_id
  25
end

Instance Method Details

#queue(server) ⇒ Object



774
775
776
777
778
779
780
# File 'lib/ib-ruby/messages.rb', line 774

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