Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Income Toolbox   

Function Reference


Bond FuturesWork with bond futures
Certificates of DepositWork with certificates of deposit
Convertible BondsWork with convertible bonds
Derivative SecuritiesWork with derivative securities
Interest-Rate Curve ObjectsWork with interest-rate curve objects
Mortgage-Backed SecuritiesWork with mortgage-backed securities
Option-Adjusted Spread ComputationsWork with option-adjusted spread computations
Stepped-Coupon BondsWork with stepped-coupon bonds
Treasury BillsWork with Treasury bills
Zero-Coupon InstrumentsWork with zero-coupon instruments

Bond Futures

bndfutimprepoImplied repo rates for bond future given price
bndfutpricePrice bond future given repo rates
convfactorBond conversion factors
tfutbypriceFuture prices of Treasury bonds given spot price
tfutbyyieldFuture prices of Treasury bonds given current yield
tfutimprepoImplied repo rates for Treasury bond future given price
tfutpricebyrepoImplied repo rates given Treasury bond future price
tfutyieldbyrepoImplied repo rates given Treasury bond future yield

Certificates of Deposit

cdaiAccrued interest on certificate of deposit (CD)
cdpricePrice of certificate of deposit (CD)
cdyieldYield on certificate of deposit (CD)

Convertible Bonds

cbpricePrice convertible bond

Derivative Securities

bkcallPrice European call option on bonds using Black's model
bkcapletPrice interest-rate caplet using Black's model
bkfloorletPrice interest-rate floorlet using Black's model
bkputPrice European put option on bonds using Black's model
libordurationDuration of LIBOR-based interest-rate swap
liborfloat2fixedCompute par fixed-rate of swap given 3-month LIBOR data
liborpricePrice swap given swap rate

Interest-Rate Curve Objects

bootstrapBootstrap interest-rate curve from market data
fitFunctionCustom fit interest-rate curve object to bond market data
fitNelsonSiegelFit Nelson-Siegel function to bond market data
fitSmoothingSplineFit smoothing spline to bond market data
fitSvenssonFit Svensson function to bond market data
getDiscountFactorsGet discount factors for input dates for IRDataCurve
getDiscountFactorsGet discount factors for input dates for IRFunctionCurve
getForwardRatesGet forward rates for input dates for IRDataCurve
getForwardRatesGet forward rates for input dates for IRFunctionCurve
getParYieldsGet par yields for input dates for IRDataCurve
getParYieldsGet par yields for input dates for IRFunctionCurve
getZeroRatesGet zero rates for input dates for IRDataCurve
getZeroRatesGet zero rates for input dates for IRFunctionCurve
IRBootstrapOptionsConstruct specific options for bootstrapping interest-rate curve object
IRDataCurveConstruct interest-rate curve object from dates and data
IRFitOptionsConstruct specific options for fitting interest-rate curve object
IRFunctionCurveConstruct interest-rate curve object from function handle or function by fitting to market data using object methods
toRateSpecConvert IRDataCurve object to RateSpec
toRateSpecConvert IRFunctionCurve object to RateSpec

Mortgage-Backed Securities

mbscfamountsCash flow and time mapping for mortgage pool
mbsconvpConvexity of mortgage pool given price
mbsconvyConvexity of mortgage pool given yield
mbsdurpDuration of mortgage pool given price
mbsduryDuration of mortgage pool given yield
mbsnoprepayEnd-of-month mortgage cash flows and balances without prepayment
mbspassthroughMortgage pool cash flows and balances with prepayment
mbspriceMortgage-backed security price given yield
mbsprice2speedImplied PSA prepayment speeds given price
mbswalWeighted average life of mortgage pool
mbsyieldMortgage-backed security yield given price
mbsyield2speedImplied PSA prepayment speeds given yield
psaspeed2defaultBenchmark default
psaspeed2rateSingle monthly mortality rate given PSA speed

Option-Adjusted Spread Computations

mbsoas2pricePrice given option-adjusted spread
mbsoas2yieldYield given option-adjusted spread
mbsprice2oasOption-adjusted spread given price
mbsyield2oasOption-adjusted spread given yield

Stepped-Coupon Bonds

stepcpncfamountsCash flow amounts and times for bonds and stepped coupons
stepcpnpricePrice bond with stepped coupons
stepcpnyieldYield to maturity of bond with stepped coupons

Treasury Bills

tbilldisc2yieldConvert Treasury bill discount to equivalent yield
tbillpricePrice Treasury bill
tbillrepoBreak-even discount of repurchase agreement
tbillval01Value of one basis point
tbillyieldYield on Treasury bill
tbillyield2discConvert Treasury bill yield to equivalent discount

Zero-Coupon Instruments

zeropricePrice zero-coupon instruments given yield
zeroyieldYield of zero-coupon instruments given price
  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS