Module: IB::Sweep2Fill
- Extended by:
- OrderPrototype
- Defined in:
- lib/ib/order_prototypes/limit.rb
Overview
Class Method Summary
collapse
aliases, alternative_parameters, defaults, optional, order, parameters, requirements
Class Method Details
.aliases ⇒ Object
71
72
73
|
# File 'lib/ib/order_prototypes/limit.rb', line 71
def aliases
Limit.aliases
end
|
.defaults ⇒ Object
67
68
69
|
# File 'lib/ib/order_prototypes/limit.rb', line 67
def defaults
super.merge order_type: ':limit' , tif: :day, sweep_to_fill: true
end
|
.requirements ⇒ Object
75
76
77
|
# File 'lib/ib/order_prototypes/limit.rb', line 75
def requirements
Limit.requirements
end
|
.summary ⇒ Object
80
81
82
83
84
85
86
87
88
89
90
91
92
|
# File 'lib/ib/order_prototypes/limit.rb', line 80
def summary
<<-HERE
Sweep-to-fill orders are useful when a trader values speed of execution over price. A sweep-to-fill
order identifies the best price and the exact quantity offered/available at that price, and
transmits the corresponding portion of your order for immediate execution. Simultaneously it
identifies the next best price and quantity offered/available, and submits the matching quantity
of your order for immediate execution.
------------------------
Products: CFD, STK, WAR (SMART only)
HERE
end
|