Description Usage Arguments Author(s) Examples
#' This function allows you to simulate a call price using the Euler method.
1 2 | euler_call(X0, mu, sigma, Dt = 0.1, t = 0, T = 1, N = 1000, K = 0,
plt = FALSE)
|
X0 |
Initial value. |
mu |
Drift coeficient. |
sigma |
Diffusion coefficient. |
Dt |
Step size. |
t |
Initial time period. |
T |
Final time period. |
N |
Number of simulations. |
K |
Strike price. |
plt |
Plot? Defaults to FALSE. |
Fernando Teixeira
1 | b=euler_call(307.65, 0.75, 0.3, 0.001, 0, 1, 10000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.