powered by
This function using normal return model to simulate price.
Related report: Value at Risk.
jMCPri(s0, mu, sigma, m)
s0 <- 100 mu <- 0.02 sigma <- 0.1 m <- 1000 jMCPri (s0, mu, sigma, m)
Run the code above in your browser using DataLab