Skip to Main Content Skip to Search
Product Documentation

Function Reference


Interest-Rate InstrumentsWork with interest-rate instruments
Interest-Rate Term StructureWork with interest-rate term structure
Interest-Rate Tree ModelsWork with interest-rate models
Interest-Rate Closed-Form SolutionsWork with interest-rate closed-form solutions
Equity InstrumentsWork with interest-rate instruments
Equity Tree ModelsWork with equity tree models
Equity Derivative Closed-Form SolutionsWork with equity derivatives closed-form solutions
Monte Carlo Simulation for Equity DerivativesWork with Monte Carlo simulation for equity derivatives
Controlling Defaults and OptionsWork with derivatives pricing options
Portfolio Handling for Interest and Equity InstrumentsWork with portfolio handling for interest and equity instruments
Financial Object StructuresWork with financial structures
Hedging PortfoliosWork with hedge portfolios

Interest-Rate Instruments

instbondConstruct bond instrument
instcapConstruct cap instrument
instcfConstruct cash flow instrument
instfixedConstruct fixed-rate instrument
instfloatConstruct floating-rate instrument
instfloorConstruct floor instrument
instoptbndConstruct bond option
instoptembndConstruct bond with embedded option
instrangefloatConstruct range note instrument
instswapConstruct swap instrument
instswaptionConstruct swaption instrument

Interest-Rate Term Structure

bondbyzeroPrice bond from set of zero curves
cfbyzeroPrice cash flows from set of zero curves
date2timeTime and frequency from dates
datedispDisplay date entries
disc2rateInterest rates from cash flow discounting factors
fixedbyzeroPrice fixed-rate note from set of zero curves
floatbyzeroPrice floating-rate note from set of zero curves
intenvgetProperties of interest-rate structure
intenvpricePrice instruments from set of zero curves
intenvsensInstrument price and sensitivities from set of zero curves
intenvsetSet properties of interest-rate structure
rate2discDiscount factors from interest rates
ratetimesChange time intervals defining interest-rate environment
swapbyzeroPrice swap instrument from set of zero curves
time2dateDates from time and frequency

Interest-Rate Tree Models

Heath-Jarrow-Morton Trees
Heath-Jarrow-Morton Tree Utililites
Black-Derman-Toy Trees
Black-Derman-Toy Tree Utilities
Hull-White Trees
Hull-White Tree Utilities
Black-Karasinski Trees
Black-Karasinski Tree Utilities
Tree Manipulation

Heath-Jarrow-Morton Trees

hjmtimespecSpecify time structure for Heath-Jarrow-Morton interest-rate tree
hjmtreeConstruct Heath-Jarrow-Morton interest-rate tree
hjmvolspecSpecify Heath-Jarrow-Morton interest-rate volatility process

Heath-Jarrow-Morton Tree Utililites

bondbyhjmPrice bond from Heath-Jarrow-Morton interest-rate tree
capbyhjmPrice cap instrument from Heath-Jarrow-Morton interest-rate tree
cfbyhjmPrice cash flows from Heath-Jarrow-Morton interest-rate tree
fixedbyhjmPrice fixed-rate note from Heath-Jarrow-Morton interest-rate tree
floatbyhjmPrice floating-rate note from Heath-Jarrow-Morton interest-rate tree
floorbyhjmPrice floor instrument from Heath-Jarrow-Morton interest-rate tree
hjmpriceInstrument prices from Heath-Jarrow-Morton interest-rate tree
hjmsensInstrument prices and sensitivities from Heath-Jarrow-Morton interest-rate tree
mmktbyhjmCreate money-market tree from Heath-Jarrow-Morton interest-rate tree
oasbyhjmDetermine option adjusted spread using Heath-Jarrow-Morton model
optbndbyhjmPrice bond option from Heath-Jarrow-Morton interest-rate tree
optembndbyhjmPrice bonds with embedded options by Heath-Jarrow-Morton interest-rate tree
rangefloatbyhjmPrice range floating note using Heath-Jarrow-Morton tree
swapbyhjmPrice swap instrument from Heath-Jarrow-Morton interest-rate tree
swaptionbyhjmPrice swaption from Heath-Jarrow-Morton interest-rate tree

Black-Derman-Toy Trees

bdttimespecSpecify time structure for Black-Derman-Toy interest-rate tree
bdttreeConstruct Black-Derman-Toy interest-rate tree
bdtvolspecSpecify Black-Derman-Toy interest-rate volatility process

Black-Derman-Toy Tree Utilities

bdtpriceInstrument prices from Black-Derman-Toy interest-rate tree
bdtsensInstrument prices and sensitivities from Black-Derman-Toy interest-rate tree
bondbybdtPrice bond from Black-Derman-Toy interest-rate tree
capbybdtPrice cap instrument from Black-Derman-Toy interest-rate tree
cfbybdtPrice cash flows from Black-Derman-Toy interest-rate tree
fixedbybdtPrice fixed-rate note from Black-Derman-Toy interest-rate tree
floatbybdtPrice floating-rate note from Black-Derman-Toy interest-rate tree
floorbybdtPrice floor instrument from Black-Derman-Toy interest-rate tree
mmktbybdtCreate money-market tree from Black-Derman-Toy interest-rate tree
oasbybdtDetermine option adjusted spread using Black-Derman-Toy model
optbndbybdtPrice bond option from Black-Derman-Toy interest-rate tree
optembndbybdtPrice bonds with embedded options by Black-Derman-Toy interest-rate tree
rangefloatbybdtPrice range floating note using Black-Derman-Toy tree
swapbybdtPrice swap instrument from Black-Derman-Toy interest-rate tree
swaptionbybdtPrice swaption from Black-Derman-Toy interest-rate tree

Hull-White Trees

hwtimespecSpecify time structure for Hull-White interest-rate tree
hwtreeConstruct Hull-White interest-rate tree
hwvolspecSpecify Hull-White interest-rate volatility process

Hull-White Tree Utilities

bondbyhwPrice bond from Hull-White interest-rate tree
capbyhwPrice cap instrument from Hull-White interest-rate tree
cfbyhwPrice cash flows from Hull-White interest-rate tree
fixedbyhwPrice fixed-rate note from Hull-White interest-rate tree
floatbyhwPrice floating-rate note from Hull-White interest-rate tree
floorbyhwPrice floor instrument from Hull-White interest-rate tree
hwcalbycapCalibrate Hull-White tree using caps
hwcalbyfloorCalibrate Hull-White tree using floors
hwpriceInstrument prices from Hull-White interest-rate tree
hwsensInstrument prices and sensitivities from Hull-White interest-rate tree
oasbyhwDetermine option adjusted spread using Hull-White model
optbndbyhwPrice bond option from Hull-White interest-rate tree
optembndbyhwPrice bonds with embedded options by Hull-White interest-rate tree
rangefloatbyhwPrice range floating note using Hull-White tree
swapbyhwPrice swap instrument from Hull-White interest-rate tree
swaptionbyhwPrice swaption from Hull-White interest-rate tree

Black-Karasinski Trees

bktimespecSpecify time structure for Black-Karasinski tree
bktreeConstruct Black-Karasinski interest-rate tree
bkvolspecSpecify Black-Karasinski interest-rate volatility process

Black-Karasinski Tree Utilities

bkpriceInstrument prices from Black-Karasinski interest-rate tree
bksensInstrument prices and sensitivities from Black-Karasinski interest-rate tree
bondbybkPrice bond from Black-Karasinski interest-rate tree
capbybkPrice cap instrument from Black-Karasinski interest-rate tree
cfbybkPrice cash flows from Black-Karasinski interest-rate tree
fixedbybkPrice fixed-rate note from Black-Karasinski interest-rate tree
floatbybkPrice floating-rate note from Black-Karasinski interest-rate tree
floorbybkPrice floor instrument from Black-Karasinski interest-rate tree
oasbybkDetermine option adjusted spread using Black-Karasinski model
optbndbybkPrice bond option from Black-Karasinski interest-rate tree
optembndbybkPrice bonds with embedded options by Black-Karasinski interest-rate tree
rangefloatbybkPrice range floating note using Black-Karasinski tree
swapbybkPrice swap instrument from Black-Karasinski interest-rate tree
swaptionbybkPrice swaption from Black-Karasinski interest-rate tree

Tree Manipulation

bushpathExtract entries from node of bushy tree
bushshapeRetrieve shape of bushy tree
cvtreeConvert inverse-discount tree to interest-rate tree
mkbushCreate bushy tree
mktreeCreate recombining binomial tree
mktrintreeCreate recombining trinomial tree
treepathEntries from node of recombining binomial tree
treeshapeShape of recombining binomial tree
treeviewerTree information
trintreepathEntries from node of recombining trinomial tree
trintreeshapeShape of recombining trinomial tree

Interest-Rate Closed-Form Solutions

capbyblkPrice caps using Black option pricing model
floorbyblkPrice floors using Black option pricing model
swaptionbyblkPrice European swaption instrument using Black model

Equity Instruments

instasianConstruct Asian option
instbarrierConstruct barrier option
instcompoundConstruct compound option
instlookbackConstruct lookback option
instoptstockConstruct stock option

Equity Tree Models

Cox-Ross-Rubinstein Trees
Cox-Ross-Rubinstein Tree Utilities
Equal Probabilities Binomial Trees
Equal Probabilities Binomial Tree Utilities
Leisen-Reimer Trees
Leisen-Reimer Tree Utilities
Implied Trinomial Trees
Implied Trinomial Tree Utilities
Tree Manipulation

Cox-Ross-Rubinstein Trees

crrtimespecSpecify time structure for Cox-Ross-Rubinstein tree
crrtreeConstruct Cox-Ross-Rubinstein stock tree

Cox-Ross-Rubinstein Tree Utilities

asianbycrrPrice Asian option from Cox-Ross-Rubinstein binomial tree
barrierbycrrPrice barrier option from Cox-Ross-Rubinstein binomial tree
compoundbycrrPrice compound option from Cox-Ross-Rubinstein binomial tree
crrpriceInstrument prices from Cox-Ross-Rubinstein tree
crrsensInstrument prices and sensitivities from Cox-Ross-Rubinstein tree
lookbackbycrrPrice lookback option from Cox-Ross-Rubinstein tree
optstockbycrrPrice stock option from Cox-Ross-Rubinstein tree

Equal Probabilities Binomial Trees

eqptimespecSpecify time structure for Equal Probabilities binomial tree
eqptreeConstruct Equal Probabilities stock tree

Equal Probabilities Binomial Tree Utilities

asianbyeqpPrice Asian option from Equal Probabilities binomial tree
barrierbyeqpPrice barrier option from Equal Probabilities binomial tree
compoundbyeqpPrice compound option from Equal Probabilities binomial tree
eqppriceInstrument prices from Equal Probabilities binomial tree
eqpsensInstrument prices and sensitivities from Equal Probabilities binomial tree
lookbackbyeqpPrice lookback option from Equal Probabilities binomial tree
optstockbyeqpPrice stock option from Equal Probabilities binomial tree

Leisen-Reimer Trees

lrtimespecSpecify time structure for Leisen-Reimer binomial tree
lrtreeBuild Leisen-Reimer stock tree

Leisen-Reimer Tree Utilities

optstockbylrPrice options on stocks using Leisen-Reimer binomial tree model
optstocksensbylrDetermine option prices and sensitivities using Leisen-Reimer binomial tree model

Implied Trinomial Trees

itttimespecSpecify time structure using implied trinomial tree (ITT)
itttreeBuild implied trinomial stock tree

Implied Trinomial Tree Utilities

asianbyittPrice Asian options using implied trinomial tree (ITT)
barrierbyittPrice barrier options using implied trinomial tree (ITT)
compoundbyittPrice compound options using implied trinomial tree (ITT)
ittpricePrice instruments using implied trinomial tree (ITT)
ittsensInstrument sensitivities and prices using implied trinomial tree (ITT)
lookbackbyittPrice lookback option using implied trinomial tree (ITT)
optstockbyittPrice options on stocks using implied trinomial tree (ITT)
stockoptspecSpecify European stock option structure

Tree Manipulation

bushpathExtract entries from node of bushy tree
bushshapeRetrieve shape of bushy tree
cvtreeConvert inverse-discount tree to interest-rate tree
mkbushCreate bushy tree
mktreeCreate recombining binomial tree
mktrintreeCreate recombining trinomial tree
treepathEntries from node of recombining binomial tree
treeshapeShape of recombining binomial tree
treeviewerTree information
trintreepathEntries from node of recombining trinomial tree
trintreeshapeShape of recombining trinomial tree

Equity Derivative Closed-Form Solutions

Black-Scholes Option Pricing Model
Black Option Pricing Model
Role-Geske-Whaley Option Pricing Model
Bjerksund-Stensland Option Pricing Model
Nengjiu Ju Approximation Pricing Model
Stulz Option Pricing

Black-Scholes Option Pricing Model

assetbyblsDetermine price of asset-or-nothing digital options using Black-Scholes model
assetsensbyblsDetermine price and sensitivities of asset-or-nothing digital options using Black-Scholes model
cashbyblsDetermine price of cash-or-nothing digital options using Black-Scholes model
cashsensbyblsDetermine price and sensitivities of cash-or-nothing digital options using Black-Scholes model
chooserbyblsPrice European simple chooser options using Black-Scholes model
gapbyblsDetermine price of gap digital options using Black-Scholes model
gapsensbyblsDetermine price and sensitivities of gap digital options using Black-Scholes model
impvbyblsDetermine implied volatility using Black-Scholes option pricing model
optstockbyblsPrice options using Black-Scholes option pricing model
optstocksensbyblsDetermine option prices and sensitivities using Black-Scholes option pricing model
supersharebyblsCalculate price of supershare digital options using Black-Scholes model
supersharesensbyblsCalculate price and sensitivities of supershare digital options using Black-Scholes model

Black Option Pricing Model

impvbyblkDetermine implied volatility using Black option pricing model
optstockbyblkPrice options on futures using Black option pricing model
optstocksensbyblkDetermine option prices and sensitivities on futures using Black pricing model

Role-Geske-Whaley Option Pricing Model

impvbyrgwDetermine implied volatility using Roll-Geske-Whaley option pricing model for American call option
optstockbyrgwDetermine American call option prices using Roll-Geske-Whaley option pricing model
optstocksensbyrgwDetermine American call option prices and sensitivities using Roll-Geske-Whaley option pricing model

Bjerksund-Stensland Option Pricing Model

impvbybjsDetermine implied volatility using Bjerksund-Stensland 2002 option pricing model
optstockbybjsPrice American options using Bjerksund-Stensland 2002 option pricing model
optstocksensbybjsDetermine American option prices and sensitivities using Bjerksund-Stensland 2002 option pricing model

Nengjiu Ju Approximation Pricing Model

basketbyjuPrice European basket options using Nengjiu Ju approximation model
basketsensbyjuDetermine European basket options price and sensitivities using Nengjiu Ju approximation model

Stulz Option Pricing

maxassetbystulzDetermine European rainbow option price on maximum of two risky assets using Stulz option pricing model
maxassetsensbystulzDetermine European rainbow option prices and sensitivities on maximum of two risky assets using Stulz pricing model
minassetbystulzDetermine European rainbow option prices on minimum of two risky assets using Stulz option pricing model
minassetsensbystulzDetermine European rainbow option prices and sensitivities on minimum of two risky assets using Stulz pricing model

Monte Carlo Simulation for Equity Derivatives

Longstaff-Schwartz Option Pricing Model

Longstaff-Schwartz Option Pricing Model

basketbylsPrice basket options using Longstaff-Schwartz model
basketsensbylsDetermine price and sensitivities for basket options using Longstaff-Schwartz model
basketstockspecSpecify basket stock structure using Longstaff-Schwartz model

Controlling Defaults and Options

derivgetGet derivatives pricing options
derivsetSet or modify derivatives pricing options

Portfolio Handling for Interest and Equity Instruments

instaddAdd types to instrument collection
instaddfieldAdd new instruments to instrument collection
instdeleteComplement of instrument set by matching conditions
instdispDisplay instruments
instfieldsList field names
instfindSearch instruments for matching conditions
instgetData from instrument variable
instgetcellData and context from instrument variable
instlengthCount instruments
instselectCreate instrument subset by matching conditions
instsetfieldAdd or reset data for existing instruments
insttypesList types

Financial Object Structures

classfinCreate financial structure or return financial structure class name
isafinTrue if input argument is financial structure type or financial object class
stockspecCreate stock structure

Hedging Portfolios

hedgeoptAllocate optimal hedge for target costs or sensitivities
hedgeslfSelf-financing hedge
  


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-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS