Class: IB::FutureOption

Inherits:
Option show all
Defined in:
lib/models/ib/option.rb

Overview

class Option

Constant Summary

Constants inherited from Contract

Contract::Subclasses

Instance Attribute Summary

Attributes inherited from Contract

#description

Instance Method Summary collapse

Methods inherited from Option

#==, from_osi, #osi=, #to_human

Methods inherited from Contract

#==, #bag?, #bond?, build, #essential, #expiry, #index?, #merge, #option?, #order_requirements, #serialize, #serialize_ib_ruby, #serialize_legs, #serialize_long, #serialize_short, #serialize_supershort, #serialize_under_comp, #stock?, #table_header, #table_row, #to_human, #to_s, #to_short, #verify

Methods included from BaseProperties

#==, #as_table, #content_attributes, #invariant_attributes, #set_attribute_defaults, #table_header, #table_row, #to_human, #update_missing

Instance Method Details

#default_attributesObject



80
81
82
# File 'lib/models/ib/option.rb', line 80

def default_attributes
    super.merge :sec_type => :futures_option
end