Support Articles
Financial Modelling and Analysis
South African Fixed Income Toolbox 1.0
Futuregrowth Asset Management and OPTI-NUM solutions have collaborated to create the South African Fixed Income Toolbox for MATLAB based on the BESA conventions. The first version of the toolbox, contains amongst others, functions to price South Africa bonds and inflation linked bonds, calculate convexity, duration and implied yields and price bond options using Black's model. The full list of functions is shown at the bottom of this page as are the licensing terms.
This is the first release of the South Africa Fixed Income Toolbox. We plan on providing regular updates to this code.
This software is experimental and distributed in the hope that it will be useful and stimulate collaborative development. It is distributed without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
Note that the South Africa Fixed Income Toolbox requires The MathWorks Finance Toolbox.
South African Fixed Income Toolbox
Version 1.0 (R2006a) 03-Feb-2006
Authors: Tim Gebbie, Grant Grobbelaar
Copyright 2006 Tim Gebbie, Futuregrowth Asset Management and
OPTI-NUM solutions (Pty) Ltd
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA
NO WARRANTY
General information.
This toolbox provides fixed income pricing functions based on the
BESA (Bond Exchange of South Africa) specification documentations:
1. Bond Pricing Formulae, BESA, Quant Financial Research 1997
2. Option Pricing for Risk Management, BESA Quant Financial Research 1998
3. Buy/Sell Back(carries) and Forward Pricing, BESA, Quant Financial Research 1997
4. Risk Management Methodology, BESA, Quant Financial Research 1997
| General Functions: | ||
| besaaip | - | Allinprice for South African bonds using BESA specification |
| besainfaip | - | Allinprice for inflation linked bonds |
| besatenor | - | Bond tenor |
| besaconv | - | Bond Convexity |
| besamoddur | - | Bond Modified Duration |
| besaimpytm | - | Implied yield-to-maturity |
| besafwdprc | - | Bond forward price |
| besaoption | - | Bond option using Blacks model as per BESA specification |
| ncdproceeds | - | NCD proceeds |
| ncdmvalue | - | NCD maturity value |
| eqvalue | - | Equivalent value of continuous rate |
| settledate | - | Settlement date rule |
| valuedate | - | Valuation date |
| cpiratio | - | Compute the CPI ratio for inflation link bonds |
| cpirefdates | - | Compute the reference dates for CPI data |
| holidays | - | Holidays and non-trading days in South Africa and the US |
Dr Tim Gebbie
Equity Division
Futuregrowth Asset Management
3rd Floor, Great Westerford Main Rd,
Rondebosch
7700
South Africa