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
76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/models/ib/contract_detail.rb', line 76 def default_attributes super.merge :coupon => 0.0, :under_con_id => 0, :min_tick => 0, :ev_multipler => 0, :sec_id_list => HashWithIndifferentAccess.new, :callable => false, :puttable => false, :convertible => false, :next_option_partial => false end |