Class: IB::Datatypes::ContractDetails
- Inherits:
-
AbstractDatum
- Object
- AbstractDatum
- IB::Datatypes::ContractDetails
- Defined in:
- lib/ib-ruby/datatypes.rb
Instance Attribute Summary collapse
-
#con_id ⇒ Object
Returns the value of attribute con_id.
-
#market_name ⇒ Object
Returns the value of attribute market_name.
-
#min_tick ⇒ Object
Returns the value of attribute min_tick.
-
#multiplier ⇒ Object
Returns the value of attribute multiplier.
-
#order_types ⇒ Object
Returns the value of attribute order_types.
-
#price_magnifier ⇒ Object
Returns the value of attribute price_magnifier.
-
#summary ⇒ Object
Returns the value of attribute summary.
-
#trading_class ⇒ Object
Returns the value of attribute trading_class.
-
#valid_exchanges ⇒ Object
Returns the value of attribute valid_exchanges.
Instance Method Summary collapse
Methods inherited from AbstractDatum
Constructor Details
This class inherits a constructor from IB::Datatypes::AbstractDatum
Instance Attribute Details
#con_id ⇒ Object
Returns the value of attribute con_id.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def con_id @con_id end |
#market_name ⇒ Object
Returns the value of attribute market_name.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def market_name @market_name end |
#min_tick ⇒ Object
Returns the value of attribute min_tick.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def min_tick @min_tick end |
#multiplier ⇒ Object
Returns the value of attribute multiplier.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def multiplier @multiplier end |
#order_types ⇒ Object
Returns the value of attribute order_types.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def order_types @order_types end |
#price_magnifier ⇒ Object
Returns the value of attribute price_magnifier.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def price_magnifier @price_magnifier end |
#summary ⇒ Object
Returns the value of attribute summary.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def summary @summary end |
#trading_class ⇒ Object
Returns the value of attribute trading_class.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def trading_class @trading_class end |
#valid_exchanges ⇒ Object
Returns the value of attribute valid_exchanges.
314 315 316 |
# File 'lib/ib-ruby/datatypes.rb', line 314 def valid_exchanges @valid_exchanges end |
Instance Method Details
#init ⇒ Object
316 317 318 319 320 321 322 |
# File 'lib/ib-ruby/datatypes.rb', line 316 def init super @summary = Contract.new @con_id = 0 @min_tick = 0 end |