Method: IB::Option#default_attributes
- Defined in:
- lib/models/ib/option.rb
#default_attributes ⇒ Object
50 51 52 53 |
# File 'lib/models/ib/option.rb', line 50 def default_attributes super.merge :sec_type => :option #self[:description] ||= osi ? osi : "#{symbol} #{strike} #{right} #{expiry}" end |