Compute a conditional expectation via discounting and averaging
1 2 3 4 5 6 7 8 | monte_carlo_kou(
spot,
strike,
maturity,
parameters,
what = "call",
samples = 20000
)
|
spot |
the spot price |
strike |
the strike sprice |
maturity |
the maturity of the option contract |
parameters |
vector of model parameters |
what |
the payoff to use |
samples |
number of variates to sample |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.