Class: IB::Datatypes::ContractDetails

Inherits:
AbstractDatum show all
Defined in:
lib/ib-ruby/datatypes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from AbstractDatum

#initialize

Constructor Details

This class inherits a constructor from IB::Datatypes::AbstractDatum

Instance Attribute Details

#con_idObject

Returns the value of attribute con_id.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def con_id
  @con_id
end

#market_nameObject

Returns the value of attribute market_name.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def market_name
  @market_name
end

#min_tickObject

Returns the value of attribute min_tick.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def min_tick
  @min_tick
end

#multiplierObject

Returns the value of attribute multiplier.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def multiplier
  @multiplier
end

#order_typesObject

Returns the value of attribute order_types.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def order_types
  @order_types
end

#price_magnifierObject

Returns the value of attribute price_magnifier.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def price_magnifier
  @price_magnifier
end

#summaryObject

Returns the value of attribute summary.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def summary
  @summary
end

#trading_classObject

Returns the value of attribute trading_class.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def trading_class
  @trading_class
end

#valid_exchangesObject

Returns the value of attribute valid_exchanges.



316
317
318
# File 'lib/ib-ruby/datatypes.rb', line 316

def valid_exchanges
  @valid_exchanges
end

Instance Method Details

#initObject



318
319
320
321
322
323
324
# File 'lib/ib-ruby/datatypes.rb', line 318

def init
  super

  @summary = Contract.new
  @con_id = 0
  @min_tick = 0
end