Binary
instrument object
Create and price a Binary
instrument object using this
workflow:
Use fininstrument
to create a Binary
instrument object.
Use finmodel
to specify
a BlackScholes
model for the Binary
instrument.
Use finpricer
to
specify a BlackScholes
or AssetMonteCarlo
pricing method for the
Binary
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
Binary
instrument, see Choose Instruments, Models, and Pricers.
creates a BinaryOpt
= fininstrument(InstrumentType
,'Strike
',strike_value,'ExerciseDate
',exercise_date,'PayoffValue
',payoff_value)Binary
object by specifying
InstrumentType
and sets properties using the
required name-value pair arguments Strike
,
ExerciseDate
, and
PayoffValue
.
sets optional properties using
additional name-value pair arguments in addition to the required arguments
in the previous syntax. For example, BinaryOpt
= fininstrument(___,Name,Value
)BinaryOpt =
fininstrument("Binary",'Strike',100,'ExerciseDate',datetime(2019,1,30),'PayoffValue',110,'OptionType',"put",'Name',"binary_option")
creates a Binary
put option with a
PayoffValue
of 110. You can specify multiple
name-value pair arguments.