Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Calculate price and sensitivities for European or American basket options using Monte Carlo simulations

`[PriceSens,Paths,Times,Z] = basketsensbyls(RateSpec,BasketStockSpec,OptSpec,Strike,Settle,ExerciseDates)`

`[PriceSens,Paths,Times,Z] = basketsensbyls(___,Name,Value)`

`[`

calculates price and sensitivities for European or American basket options using the
Longstaff-Schwartz model. `PriceSens`

,`Paths`

,`Times`

,`Z`

] = basketsensbyls(`RateSpec`

,`BasketStockSpec`

,`OptSpec`

,`Strike`

,`Settle`

,`ExerciseDates`

)

For American options, the Longstaff-Schwartz least squares method is used to calculate the early exercise premium.

[1] Longstaff, F.A., and E.S.
Schwartz. “Valuing American Options by Simulation: A Simple Least-Squares
Approach.” *The Review of Financial Studies.* Vol. 14, No. 1,
Spring 2001, pp. 113–147.