Description Usage Arguments Examples
equity
returns an object of values,
with the strike price of the underlying asset,
and the corresponding profit
1 2 |
price |
Price of the equity. |
commission |
Commission charged for purchasing the equity. Defaults to $0. |
shares |
Number of shares purchased. Deefaults to 1. |
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.