Description Usage Arguments Value Author(s) References Examples
Calculates the price of a shout option using Monte Carlo simulations to
determine expected payout. Assumes that the option follows a General
Brownian Motion (GBM) process, ds = mu * S * dt + sqrt(vol) * S * dW where dW ~ N(0,1).
Note that the value of mu (the expected price increase) is assumped to be
o$r
, the risk free rate of return.
1 |
o |
The |
NPaths |
The number of simulation paths to use in calculating the price; must be >= 10 |
The option object o
with the price in the field PxMC
based on the MC simulations.
Jake Kornblau, Department of Statistics, Rice University, 2015
Hull, J.C., Options, Futures and Other Derivatives, 9ed, 2014. Prentice Hall.
ISBN 978-0-13-345631-8, http://www-2.rotman.utoronto.ca/~hull/ofod/index.html.
Also: http://www.math.umn.edu/~spirn/5076/Lecture16.pdf
1 2 3 4 5 6 7 8 |
[1] 14.13774
[1] 14.4556
[1] 16.33076
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.