Module: IB::MarketOnClose
- 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
73
74
75
|
# File 'lib/ib/order_prototypes/market.rb', line 73
def aliases
super
end
|
.defaults ⇒ Object
69
70
71
|
# File 'lib/ib/order_prototypes/market.rb', line 69
def defaults
super.merge order_type: 'MOC' , tif: :day
end
|
.requirements ⇒ Object
77
78
79
|
# File 'lib/ib/order_prototypes/market.rb', line 77
def requirements
super
end
|
.summary ⇒ Object
82
83
84
85
86
87
|
# File 'lib/ib/order_prototypes/market.rb', line 82
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
|