Calculate prices or sensitivities of lookback options using Longstaff-Schwartz model

- example
`[PriceSens,Paths,Times,Z] = lookbacksensbyls(RateSpec,StockSpec,OptSpec,Strike,Settle,`

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

`[`

returns prices
or sensitivities of lookback options using the Longstaff-Schwartz
model for Monte Carlo simulations. `PriceSens`

,`Paths`

,`Times`

,`Z`

]
= lookbacksensbyls(`RateSpec`

,`StockSpec`

,`OptSpec`

,`Strike`

,`Settle`

,`ExerciseDates`

)`lookbacksensbyls`

computes
prices of European and American lookback options. For American options,
the Longstaff-Schwartz least squares method calculates the early exercise
premium. `lookbacksensbyls`

calculates values of
fixed- and floating-strike lookback options. To compute the value
of a floating-strike lookback option, `Strike`

must
be specified as `NaN`

.

`[`

returns
prices or sensitivities of lookback options using the Longstaff-Schwartz
model for Monte Carlo simulations with optional name-value pair arguments. `PriceSens`

,`Paths`

,`Times`

,`Z`

]
= lookbacksensbyls(___,`Name,Value`

)`lookbacksensbyls`

computes
prices of European and American lookback options. For American options,
the Longstaff-Schwartz least squares method calculates the early exercise
premium. `lookbacksensbyls`

calculates values of
fixed- and floating-strike lookback options. To compute the value
of a floating-strike lookback option, `Strike`

must
be specified as `NaN`

.

Hull, J. C. *Options, Futures, and Other Derivatives* 5th
Edition. Englewood Cliffs, NJ: Prentice Hall, 2002.

`intenvset`

| `lookbackbycvgsg`

| `lookbackbyls`

| `lookbacksensbycvgsg`

| `stockspec`

Was this topic helpful?