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.

Option price by Heston model using finite differences

`[Price,PriceGrid,AssetPrices,Variances,Times] = optByHestonFD(Rate,AssetPrice,Settle,ExerciseDates,OptSpec,Strike,V0,ThetaV,Kappa,SigmaV,RhoSV)`

`[Price,PriceGrid,AssetPrices,Variances,Times] = optByHestonFD(___,Name,Value)`

`[`

specifies options using one or more name-value pair arguments in addition to the input
arguments in the previous syntax.`Price`

,`PriceGrid`

,`AssetPrices`

,`Variances`

,`Times`

] = optByHestonFD(___,`Name,Value`

)

[1] Heston, S. L. “A Closed-Form Solution for Options with Stochastic Volatility with
Applications to Bond and Currency Options.” *The Review of Financial
Studies.* Vol 6, Number 2, 1993.

`optByBatesFD`

| `optByLocalVolFD`

| `optByMertonFD`

| `optBySensMertonFD`

| `optSensByBatesFD`

| `optSensByHestonFD`

| `optSensByLocalVolFD`

| `optstockbyfd`

| `optstocksensbyfd`