Class: IB::ContractDetail
- Includes:
- BaseProperties
- Defined in:
- lib/models/ib/contract_detail.rb
Overview
Additional Contract properties (volatile, therefore extracted)
Instance Method Summary collapse
Methods included from BaseProperties
#==, #content_attributes, #set_attribute_defaults, #to_human, #update_missing
Instance Method Details
#default_attributes ⇒ Object
57 58 59 60 61 62 63 64 65 |
# File 'lib/models/ib/contract_detail.rb', line 57 def default_attributes super.merge :coupon => 0.0, :under_con_id => 0, :min_tick => 0, :callable => false, :puttable => false, :convertible => false, :next_option_partial => false end |