Description Usage Arguments Value
Compute option leg pnl before accounting for premiums
1 2 | compute_option_pnl(underlyer_space, multiplier = 100, days_to_exp = 0,
r = 0.005, b = 0, implied_vol = self$implied_vol)
|
multiplier |
Number of underlyer instrument to which option holder is entitled, integer |
days_to_exp |
Days to expiration, double |
r |
Annualized rate of interest, double |
b |
Annualized cost of carry, double |
anchor |
Centre point of the pnl range, double |
sigma |
Annualized volatility/standard deviation, double |
Matrix containing pnl for different levels of the underlyer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.