Products & Services Solutions Academia Support User Community Company

Learn more about Financial Derivatives Toolbox   

Introduction

Financial Instruments

Financial Derivatives Toolbox software extends the capabilities of Financial Toolbox™ software in the areas of fixed-income derivatives and of securities contingent on interest rates. The toolbox provides components for analyzing individual financial derivative instruments and portfolios. Specifically, it provides the necessary functions for calculating prices and sensitivities, for hedging, and for visualizing results. The toolbox provides a set of functions that perform computations on portfolios containing up to nine types of interest-rate based financial instruments.

Bond.   A long-term debt security with preset interest rate and maturity, by which the principal and interest must be paid.

Bond Option.   Puts and calls on portfolios of bonds. The toolbox supports three types of put and call options on bonds:

Bond with Embedded Options.   Use bondbyhw to price bonds for a HW tree as well as optembndbyhw to price bonds with embedded options for a Hull-White interest-rate tree.

Fixed-Rate Note.   A long-term debt security with preset interest rate and maturity, by which the interest must be paid. The principal may or may not be paid at maturity. In this version of Financial Derivatives Toolbox software, the principal is always paid at maturity.

Floating-Rate Note.   A security similar to a bond, but in which the note's interest rate is reset periodically, relative to a reference index rate, to reflect fluctuations in market interest rates.

Cap.   A contract that includes a guarantee that sets the maximum interest rate to be paid by the holder, based on an otherwise floating interest rate.

Floor.   A contract that includes a guarantee setting the minimum interest rate to be received by the holder, based on an otherwise floating interest rate.

Swap.   A contract between two parties obligating the parties to exchange future cash flows. This version of Financial Derivatives Toolbox software handles only the vanilla swap, which is composed of a floating-rate leg and a fixed-rate leg.

Additionally, the toolbox provides functions for the creation and pricing of arbitrary cash flow instruments based on zero-coupon bonds or on any of the various interest rate models that the toolbox supports. (See Interest-Rate Modeling.)

Swaption.   An option to enter into an interest rate swap contract. A call swaption allows the option buyer to enter into an interest rate swap in which the buyer of the option pays the fixed rate and receives the floating rate. A put swaption allows the option buyer to enter into an interest rate swap in which the buyer of the option receives the fixed rate and pays the floating rate.

Interest-Rate Modeling

Financial Derivatives Toolbox software computes prices and sensitivities of interest-rate contingent claims based on several methods of modeling changes in interest rates over time:

For detailed information about interest-rate models, see:

Rate and Price Trees

The interest-rate or price trees supported in this toolbox can be either binomial (two branches per node) or trinomial (3 branches per node). Typically, binomial trees assume that underlying interest rates or prices can only either increase or decrease at each node. Trinomial trees allow for a more complex movement of rates or prices. With trinomial trees the movement of rates or prices at each node is unrestricted (for example, up-up-up or unchanged-down-down).

Types of Trees

Financial Derivatives Toolbox trees can be classified as bushy or recombining. A bushy tree is a tree in which the number of branches increases exponentially relative to observation times; branches never recombine. In this context, a recombining tree is the opposite of a bushy tree. A recombining tree has branches that recombine over time. From any given node, the node reached by taking the path up-down is the same node reached by taking the path down-up. A bushy tree and a recombining binomial tree are illustrated next.

Bushy tree: branches separate. Recombining tree: branches rejoin.

In this toolbox the Heath-Jarrow-Morton model works with bushy trees. The Black-Derman-Toy model, on the other hand, works with recombining binomial trees.

The other two interest rate models supported in this toolbox, Hull-White and Black-Karasinski, work with recombining trinomial trees.

Viewing Rate or Price Movement with This Toolbox

This toolbox provides the data file deriv.mat that contains four interest-rate based trees:

The toolbox also provides the treeviewer function, which graphically displays the shape and data of price, interest rate, and cash flow trees. Viewed with treeviewer, the bushy shape of an HJM tree and the recombining shape of a BDT tree are apparent.

treeviewer diagram showing HJM bushy tree and BDT recombining tree

With treeviewer, you can also see the recombining shape of HW and BK trinomial trees.

Hedging

Financial Derivatives Toolbox software also includes hedging functionality, allowing the rebalancing of portfolios to reach target costs or target sensitivities, which you can set to zero for a neutral-sensitivity portfolio. Optionally, the rebalancing process can be self-financing or directed by a set of user-supplied constraints. For information, see:

  


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