Class: Java::ComIbClient::HistoricalTick

Inherits:
Object
  • Object
show all
Defined in:
lib/ib_ruby_proxy/server/ib/historical_tick.rb

Instance Method Summary collapse

Instance Method Details

#to_rubyObject



8
9
10
11
12
13
14
15
# File 'lib/ib_ruby_proxy/server/ib/historical_tick.rb', line 8

def to_ruby
  ruby_object = IbRubyProxy::Client::Ib::HistoricalTick.new
  ruby_object.time = time().to_ruby
  ruby_object.price = price().to_ruby
  ruby_object.size = size().to_ruby

  ruby_object
end