View source: R/Bisection_method.R
Bisection_method | R Documentation |
The Bisection_method function is used to find const L in modified call and put option.
Bisection_method(option_value, a0, b0, FUN, ..., epsilon = 1e-7)
option_value |
numeric value, price of the modified option. |
a0 |
numeric value, lower boundary of the range. |
b0 |
numeric value, upper boundary of the range. |
FUN |
the function to be applied, explicit formula for the option price. |
... |
arguments to FUN. |
epsilon |
calculation error. |
A numeric value, a constant for which the price of the modified option is equal to option_value.
https://en.wikipedia.org/wiki/Bisection_method
Bisection_method(5, 100, 500, call_price_linear, asset = 100, strike = 100, rate = 0, vol = 0.3, drift = 0.1, time = 0, End_Time = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.