AssetTree
Create AssetTree
pricer object for
Vanilla
, Barrier
, Asian
, or
Lookback
instrument
Since R2021a
Description
Create and price a Vanilla
, Barrier
,
Asian
, or Lookback
instrument object with a
BlackScholes
model and an AssetTree
pricing
method using this workflow:
Use
fininstrument
to create aVanilla
,Lookback
,Barrier
, orAsian
instrument object.Use
finmodel
to specify aBlackScholes
model for theVanilla
,Barrier
,Asian
, orLookback
instrument object.Use
finpricer
to specify anAssetTree
pricer object for a Cox-Ross-Rubinstein (CRR), equal-probability (EQP), Leisen-Reimer (LR), or Standard Trinomial (ST) lattice tree model for theVanilla
,Barrier
,Asian
, orLookback
instrument object.
For more information on this workflow, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available instruments, models, and pricing methods for a
Vanilla
, Barrier
, Asian
, or
Lookback
instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates an AssetTreePricerObj
= finpricer(PricerType
,'Model
',model_type,'DiscountCurve
',ratecurve_obj,'SpotPrice
',spot_price)AssetTree
pricer object by specifying
PricerType
and the required name-value pair
arguments for Model
,
DiscountCurve
, and SpotPrice
.
sets optional properties using
additional name-value pair arguments in addition to the required arguments
in the previous syntax. For example, AssetTreePricerObj
= finpricer(___,Name,Value
)AssetTreePricerObj =
finpricer("AssetTree",'Model',BlackScholes,'DiscountCurve',ratecure_obj,'SpotPrice',1000)
creates an AssetTree
pricer object.
Input Arguments
Properties
Object Functions
price | Compute price for equity instrument with AssetTree
pricer |
Examples
References
[1] Hull, John, and Alan White. “The General Hull–White Model and Supercalibration.” Financial Analysts Journal, 57, no. 6, (November 2001): 34–43.