Module: IB::Volatility
- Extended by:
- OrderPrototype
- Defined in:
- lib/ib/order_prototypes/volatility.rb
Overview
Class Method Summary
collapse
aliases, alternative_parameters, defaults, optional, order, parameters, requirements
Class Method Details
.aliases ⇒ Object
17
18
19
|
# File 'lib/ib/order_prototypes/volatility.rb', line 17
def aliases
super.merge volatility: :volatility_percent
end
|
.defaults ⇒ Object
8
9
10
|
# File 'lib/ib/order_prototypes/volatility.rb', line 8
def defaults
{ order_type: :volatility, volatility_type: 2 }
end
|
.requirements ⇒ Object
13
14
15
|
# File 'lib/ib/order_prototypes/volatility.rb', line 13
def requirements
super.merge volatility: "the desired Option implied Vola (in %)"
end
|
.summary ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# File 'lib/ib/order_prototypes/volatility.rb', line 21
def summary
" Investors are able to create and enter Volatility-type orders for options and combinations \n rather than price orders. Option traders may wish to trade and position for movements in the \n price of the option determined by its implied volatility. Because implied volatility is a key\n determinant of the premium on an option, traders position in specific contract months in an \n effort to take advantage of perceived changes in implied volatility arising before, during or \n after earnings or when company specific or broad market volatility is predicted to change. \n In order to create a Volatility order, clients must first create a Volatility Trader page from \n the Trading Tools menu and as they enter option contracts, premiums will display in percentage \n terms rather than premium. The buy/sell process is the same as for regular orders priced in \n premium terms except that the client can limit the volatility level they are willing to pay or receive.\n --------\n Products: FOP, OPT\n HERE\nend\n"
|