Module: IB::LimitOnOpen

Extended by:
OrderPrototype
Defined in:
lib/ib/order_prototypes/limit.rb

Class Method Summary collapse

Methods included from OrderPrototype

aliases, alternative_parameters, defaults, optional, order, parameters, requirements

Class Method Details

.aliasesObject



158
159
160
# File 'lib/ib/order_prototypes/limit.rb', line 158

def aliases
	Limit.aliases 
end

.defaultsObject



154
155
156
# File 'lib/ib/order_prototypes/limit.rb', line 154

def defaults
	  super.merge order_type: :limit_on_open , tif: :opening_price
end

.requirementsObject



162
163
164
# File 'lib/ib/order_prototypes/limit.rb', line 162

def requirements
	Limit.requirements
end

.summaryObject



167
168
169
170
171
172
173
# File 'lib/ib/order_prototypes/limit.rb', line 167

def summary
	<<-HERE
	A Limit-on-Open (LOO) order combines a limit order with the OPG time in force to create an 
	order that is submitted at the market's open, and that will only execute at the specified 
	limit price or better. Orders are filled in accordance with specific exchange rules. 
	HERE
end