Touch
instrument object
Create and price a Touch
instrument object using this
workflow:
Use fininstrument
to create a Touch
instrument object.
Use finmodel
to specify
a BlackScholes
, Bates
, Merton
, or Heston
model for
the Touch
instrument.
When using a BlackScholes
model, use finpricer
to
specify a BlackScholes
or a VannaVolga
pricing method for the Barrier
instrument.
When using a BlackScholes
, Heston
,
Bates
, or Merton
model, use
finpricer
to
specify an AssetMonteCarlo
pricing method for the
Touch
instrument.
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 models and pricing methods for a
Touch
instrument, see Choose Instruments, Models, and Pricers.
creates a TouchOpt
= fininstrument(InstrumentType
,'ExerciseDate
',exercise_date,'BarrierValue
',barrier_value,'PayoffValue
',payoff_value)Touch
instrument object by specifying
InstrumentType
and sets properties using the
required name-value pair arguments ExerciseDate
,
BarrierValue
, and
PayoffValue
.
sets optional properties using
additional name-value pair arguments in addition to the required arguments
in the previous syntax. For example, TouchOpt
= fininstrument(___,Name,Value
)TouchOpt =
fininstrument("Touch",','ExerciseDate',datetime(2019,1,30),'BarrierValue',110,'PayoffValue',130,'BarrierType',"OT",'PayoffType',"Expiry",'Name',"Touch_option")
creates a Touch
option with an expiry payoff type. You
can specify multiple name-value pair arguments.