Class: Java::ComIbClient::HistoricalTickLast

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

Instance Method Summary collapse

Instance Method Details

#to_rubyObject



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

def to_ruby
  ruby_object = IbRubyProxy::Client::Ib::HistoricalTickLast.new
  ruby_object.time = time().to_ruby
  ruby_object.tick_attrib_last = tickAttribLast().to_ruby
  ruby_object.price = price().to_ruby
  ruby_object.size = size().to_ruby
  ruby_object.exchange = exchange().to_ruby
  ruby_object.special_conditions = specialConditions().to_ruby

  ruby_object
end