Module: IB::MarketOnOpen
- Extended by:
- OrderPrototype
- Defined in:
- lib/ib/order_prototypes/market.rb
Class Method Summary
collapse
aliases, alternative_parameters, defaults, optional, order, parameters, requirements
Class Method Details
.aliases ⇒ Object
99
100
101
|
# File 'lib/ib/order_prototypes/market.rb', line 99
def aliases
super
end
|
.defaults ⇒ Object
95
96
97
|
# File 'lib/ib/order_prototypes/market.rb', line 95
def defaults
super.merge order_type: 'MOC' , tif: :opening_price
end
|
.requirements ⇒ Object
103
104
105
|
# File 'lib/ib/order_prototypes/market.rb', line 103
def requirements
super
end
|
.summary ⇒ Object
108
109
110
111
112
113
|
# File 'lib/ib/order_prototypes/market.rb', line 108
def summary
<<-HERE
A Market-on-Close (MOC) order is a market order that is submitted to execute as close
to the closing price as possible.
HERE
end
|