FloatBondOption
FloatBondOption instrument object
Description
Create and price a FloatBondOption instrument object for
one or more Float Bond Option instruments using this workflow:
Use
fininstrumentto create anFloatBondOptioninstrument object for one or more Float Bond Option instruments.Use
finmodelto specify aHullWhite,BlackKarasinski,BlackDermanToy,BraceGatarekMusiela,SABRBraceGatarekMusiela,CoxIngersollRoss, orLinearGaussian2Fmodel for theFloatBondOptioninstrument object.Choose a pricing method.
When using a
HullWhite,BlackKarasinski,CoxIngersollRoss, orBlackDermanToymodel, usefinpricerto specify anIRTreepricing method for one or moreFloatBondOptioninstruments.When using a
HullWhite,BlackKarasinski,BraceGatarekMusiela,SABRBraceGatarekMusiela, orLinearGaussian2Fmodel, usefinpricerto specify anIRMonteCarlopricing method for one or moreFloatBondOptioninstruments.
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
FloatBondOption instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates a FloatBondOptionObj = fininstrument(InstrumentType,'Strike',strike_value,'ExerciseDate',exercise_date,'Bond',bond_obj)FloatBond object for one or more Float Bond
Option instruments by specifying InstrumentType and
sets properties
using the required name-value pair arguments Strike,
ExerciseDate, and Bond.
sets optional properties
using additional name-value pair arguments in addition to the required
arguments in the previous syntax. For example, FloatBondOptionObj = fininstrument(___,Name,Value)FloatBondOptionObj =
fininstrument("FloatBondOption",'Strike',100,'ExerciseDate',datetime(2019,1,30),'Bond',bond_obj,'OptionType','put','ExerciseStyle',"american",'Name',"float_bond_option")
creates a FloatBondOption instrument with a strike of 100
and an American exercise. You can specify multiple name-value pair
arguments.
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
setExercisePolicy | Set exercise policy for FixedBondOption,
FloatBondOption, or Vanilla instrument |
Examples
More About
Tips
After creating a FloatBondOption instrument object, you can use
setExercisePolicy to
change the size of the options. For example, consider the following
instrument:
FloatBOption = fininstrument("FloatBondOption",'ExerciseDate',datetime(2029,9,15),'Strike',98,'Bond',BondInst,'OptionType',"call",'ExerciseStyle',"European")
FloatBondOption instrument object by changing
the ExerciseStyle from "European" to
"American", use setExercisePolicy:FloatBOption = setExercisePolicy(FloatBOption,[datetime(2021,1,1) datetime(2022,1,1)],100,'American')