Description Usage Arguments Examples
callOption
returns an object of values,
with the strike price of the underlying asset,
and the corresponding profit
1 2 | callOption(strike, premium, size = NULL, short = NULL, strikeRange = NULL,
granularity = NULL)
|
strike |
Strike price of the call option. |
premium |
Premium of the call option. |
size |
Contract size of the option. Defaults to 100. |
short |
Set to TRUE if a short position is opened. Defaults to FALSE. |
strikeRange |
Range of strike prices for which profit/loss is calculated. Defualts to 90% to 110%. |
granularity |
Granularity of range of prices generated. Defaults to $0.01. |
1 | callOption(strike = 100, premium = 4, short = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.