| Contents | Index |
Price = agencyprice(ZeroData, OAS, CouponRate, Settle,
Maturity,
Vol, CallDate)
Price = agencyprice(ZeroData, OAS, CouponRate, Settle,
Maturity,
Vol, CallDate, Name,Value)
Price = agencyprice(ZeroData, OAS, CouponRate, Settle, Maturity, Vol, CallDate) computes the price for a callable bond, given OAS, using the Agency OAS model.
Price = agencyprice(ZeroData, OAS, CouponRate, Settle, Maturity, Vol, CallDate, Name,Value) computes the price for a callable bond, given OAS, using the Agency OAS model with additional options specified by one or more Name,Value pair arguments.
Specify optional comma-separated pairs of Name,Value arguments, where Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.
'Basis' |
N-by-1 vector of day-count basis:
For more information, see basis. Default: 0 (actual/actual) |
'CurveBasis' |
Basis of the zero curve, where the choices are identical to Basis. Default: 0 (actual/actual) |
'CurveCompounding' |
Compounding frequency of the curve. Possible values include: –1, 0, 1, 2 , 3, 4, 6, 12. Default: 2 (Semi-annual) |
'EndMonthRule' |
End-of-month rule; 1, indicating in effect, and 0, indicating rule not in effect for the bond(s). When 1, the rule is in effect for the bond(s). This means that a security that pays coupon interest on the last day of the month will always make payment on the last day of the month. Default: 1 — Indicates in effect |
'Face' |
Face value of the bond. Default: 100 |
'FirstCouponDate' |
Date when a bond makes its first coupon payment; used when bond has an irregular first coupon period. When FirstCouponDate and LastCouponDate are both specified, FirstCouponDate takes precedence in determining the coupon payment structure. Default: If you do not specify a FirstCouponDate, the cash flow payment dates are determined from other inputs. |
'InterpMethod' |
Interpolation method used to obtain points from the zero curve. Values are:
Default: linear |
'IssueDate' |
Bond issue date. Default: If you do not specify an IssueDate, the cash flow payment dates are determined from other inputs. |
'LastCouponDate' |
Last coupon date of a bond before the maturity date; used when bond has an irregular last coupon period. In the absence of a specified FirstCouponDate, a specified LastCouponDate determines the coupon structure of the bond. The coupon structure of a bond is truncated at the LastCouponDate, regardless of where it falls, and is followed only by the bond's maturity cash flow date. Default: If you do not specify a LastCouponDate, the cash flow payment dates are determined from other inputs. |
'Period' |
Number of coupon payments per year. Possible values include: 0, 1, 2 , 3, 4, 6, 12. Default: 2 |
'StartDate' |
Forward starting date of payments. Default: If you do not specify a StartDate, the effective start date is the Settle date. |
Price |
numBonds-by-1 matrix of the price. |
The BMA European Callable Securities Formula provides a standard methodology for computing price and option-adjusted spread for European Callable Securities (ECS).
Compute the agency Price:
Settle = datenum('20-Jan-2010');
ZeroRates = [.07 .164 .253 1.002 1.732 2.226 2.605 3.316 ...
3.474 4.188 4.902]'/100;
ZeroDates = daysadd(Settle,360*[.25 .5 1 2 3 4 5 7 10 20 30],1);
ZeroData = [ZeroDates ZeroRates];
Maturity = datenum('30-Dec-2013');
CouponRate = .022;
OAS = 6.53/10000;
Vol = .5117;
CallDate = datenum('30-Dec-2010');
Price = agencyprice(ZeroData, OAS, CouponRate, Settle, Maturity, Vol, CallDate)
Price =
99.4226SIFMA, The BMA European Callable Securities Formula, http://www.sifma.org.
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 |