Mapping Financial Instruments Toolbox Functions for Interest-Rate Instrument Objects
The following table lists the Financial Instruments Toolbox™ functions for interest-rate instruments mapped to the associated workflow using the object-based framework for instruments, models, and pricers.
Note
The function-based workflows and the object-based workflows should not be
mixed; they are parallel tracks for instrument pricing. The function-based
and object-based workflows can return different instrument prices even if
you use the same data. The difference is because the existing Financial Instruments Toolbox functions internally use datetime and the
object-based framework use yearfrac for date
handling. For more information, see Difference Between yearfrac and date2time.
| Financial Instruments Toolbox Function | Object-Based Workflow |
|---|---|
capbyblk | Create the following objects:Compute the price of the
Cap instrument using price. |
capbynormal | Create the following objects:Compute the price of the
Cap instrument using price. |
capbybk | Create the following objects:
Cap instrument using price. |
capbybdt | Create the following objects:
Cap instrument using price. |
capbyhw | Create the following objects:
Cap instrument using price. |
capbylg2f | Create the following objects:
Cap instrument using price. |
capbycir | Create the following objects:
Cap instrument using price. |
floorbyblk | Create the following objects:Compute the price of the
Floor instrument using price. |
floorbycir | Create the following objects:
Floor instrument using price. |
floorbynormal | Create the following objects:Compute the price of the
Floor instrument using price. |
floorbybk | Create the following objects:
Floor instrument using price. |
floorbybdt | Create the following objects:
Floor instrument using price. |
floorbyhw | Create the following objects:
Floor instrument using price. |
floorbylg2f | Create the following objects:
price. |
swaptionbyblk | Create the following objects:Compute the price of the
Swaption instrument using price. |
swaptionbycir | Create the following objects:
Swaption instrument using price. |
swaptionbynormal | Create the following objects:Compute the price of the
Swaption instrument using price. |
swaptionbybk | Create the following objects:
Swaption instrument using price. |
swaptionbybdt | Create the following objects:
Swaption instrument using price. |
swaptionbyhw | Create the following objects:
Swaption instrument using price. |
swaptionbylg2f | Create the following objects:
price. |
fixedbyzero | Create the following objects:Compute the price of the
FixedBond instrument using price. |
fixedbybk | Create the following objects:
FixedBond instrument using price. |
fixedbybdt | Create the following objects:
FixedBond instrument using price. |
fixedbycir | Create the following objects:
FixedBond instrument using price. |
fixedbyhw | Create the following objects:Compute the price of the
FixedBond instrument using price. |
bondbyzero | Create the following objects:Compute the price of the
FixedBond instrument using price. |
tfutbyprice | Create the following objects:
BondFuture instrument using
price. |
floatbyzero | Create the following objects:Compute the price of the
FloatBond instrument using price. |
floatbybk | Create the following objects:
FloatBond instrument using price. |
floatbybdt | Create the following objects:
FloatBond instrument using price. |
floatbycir | Create the following objects:
FloatBond instrument using price. |
floatbyhw | Create the following objects:Compute the price of the
FloatBond instrument using price. |
oasbybk | Create the following objects:
OptionEmbeddedFixedBond instrument
using oas. |
oasbybdt | Create the following objects:
OptionEmbeddedFixedBond instrument
using oas. |
oasbyhw | Create the following objects:
OptionEmbeddedFixedBond instrument
using oas. |
optbndbyhw | Create the following objects:
FixedBondOption instrument using
price. |
optbndbybk | Create the following objects:
FixedBondOption instrument using
price. |
optbndbycir | Create the following objects:
FixedBondOption instrument using
price. |
optbndbybdt | Create the following objects:
FixedBondOption instrument using
price. |
optfloatbybk | Create the following objects:
FloatBondOption instrument using
price. |
optfloatbybdt | Create the following objects:
FloatBondOption instrument using
price. |
optfloatbycir | Create the following objects:
FloatBondOption instrument using
price. |
optfloatbyhw | Create the following objects:
FloatBondOption instrument using
price. |
optembndbyhw | Create the following objects:
OptionEmbeddedFixedBond instrument
using price. |
optembndbybk | Create the following objects:
OptionEmbeddedFixedBond instrument
using price. |
optembndbycir | Create the following objects:
OptionEmbeddedFixedBond instrument
using price. |
optembndbybdt | Create the following objects:
OptionEmbeddedFixedBond instrument
using price. |
optemfloatbybk | Create the following objects:
OptionEmbeddedFloatBond instrument
using price. |
optembndbybdt | Create the following objects:
OptionEmbeddedFloatBond instrument
using price. |
optemfloatbybk | Create the following objects:
OptionEmbeddedFloatBond instrument
using price. |
optemfloatbycir | Create the following objects:
OptionEmbeddedFloatBond instrument
using price. |
optemfloatbyhw | Create the following objects:
OptionEmbeddedFloatBond instrument
using price. |
optemfloatbybdt | Create the following objects:
OptionEmbeddedFloatBond instrument
using price. |
swapbyzero | Create the following objects:
Swap instrument using price and compute the price of the
CurrencySwap instrument using
price. |
swapbybk | Create the following objects:
Swap instrument using price. |
swapbybdt | Create the following objects:
Swap instrument using price. |
swapbycir | Create the following objects:
Swap instrument using price. |
swapbyhw | Create the following objects:
Swap instrument using price. |
LiborMarketModel | Create the following objects:
price. |
LinearGaussian2F | Create the following objects:
price. |
See Also
fininstrument | finmodel | finpricer
Topics
- Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments
- Choose Instruments, Models, and Pricers
- Mapping Financial Instruments Toolbox Functions for Equity, Commodity, FX Instrument Objects
- Mapping Financial Instruments Toolbox Functions for Credit Derivative Instrument Objects
- Mapping Financial Instruments Toolbox Curve Functions to Object-Based Framework