class Java::ComIbClient::ComboLeg

Public Instance Methods

to_ruby() click to toggle source
# File lib/ib_ruby_proxy/server/ib/combo_leg.rb, line 8
def to_ruby
  ruby_object = IbRubyProxy::Client::Ib::ComboLeg.new
  ruby_object.conid = conid().to_ruby
  ruby_object.ratio = ratio().to_ruby
  ruby_object.action = action().to_ruby
  ruby_object.exchange = exchange().to_ruby
  ruby_object.open_close = openClose().to_ruby
  ruby_object.short_sale_slot = shortSaleSlot().to_ruby
  ruby_object.designated_location = designatedLocation().to_ruby
  ruby_object.exempt_code = exemptCode().to_ruby

  ruby_object
end