Class: Java::ComIbClient::DeltaNeutralContract

Inherits:
Object
  • Object
show all
Defined in:
lib/ib_ruby_proxy/server/ib/delta_neutral_contract.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/delta_neutral_contract.rb', line 8

def to_ruby
  ruby_object = IbRubyProxy::Client::Ib::DeltaNeutralContract.new
  ruby_object.conid = conid().to_ruby
  ruby_object.delta = delta().to_ruby
  ruby_object.price = price().to_ruby

  ruby_object
end