8
9
10
11
12
13
14
15
16
17
18
19
20
|
# 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
|