Module: IB::LimitOnClose
- Extended by:
- OrderPrototype
- Defined in:
- lib/ib/order_prototypes/limit.rb
Class Method Summary
collapse
aliases, alternative_parameters, defaults, optional, order, parameters, requirements
Class Method Details
.aliases ⇒ Object
132
133
134
|
# File 'lib/ib/order_prototypes/limit.rb', line 132
def aliases
Limit.aliases
end
|
.defaults ⇒ Object
128
129
130
|
# File 'lib/ib/order_prototypes/limit.rb', line 128
def defaults
Limit.defaults.merge order_type: :limit_on_close
end
|
.requirements ⇒ Object
136
137
138
|
# File 'lib/ib/order_prototypes/limit.rb', line 136
def requirements
Limit.requirements
end
|
.summary ⇒ Object
141
142
143
144
145
146
|
# File 'lib/ib/order_prototypes/limit.rb', line 141
def summary
<<-HERE
A Limit-on-close (LOC) order will be submitted at the close and will execute if the
closing price is at or better than the submitted limit price.
HERE
end
|