powered by
Function to calculate expected value of Geometric Asian Call Option via Block Scholes formula.
BS_Asian_geom(K = 100, TimeToMat, d, ti, r = 0.05, sigma = 0.1, S0 = 100, ...)
Strike price.
Time to maturity.
Dimension of input z matrix.
Vector of control points.
Riskfree rate
Yearly volatility.
Stock price at start.
ellipsis parameter. different parameters can be passed depending on the problem.
Expected value of Geometric Average Asian Call Option, vector of control points, interest rate and strike price as a list.
# NOT RUN { sim.outer(n=1e3, d=3, q.outer = myq_asian, K=100, ti=(1:3/12), r=0.03, sigma=0.3, S0=100) # }
Run the code above in your browser using DataLab