TFloatRate Struct Reference

Defines a flaoting rate. More...

#include <bastypes.h>


Data Fields

TDateInterval matInterval
TDateInterval payInterval
long dayCountConv
TDateAdjIntvl spotOffset
double spread
long rateType
double weight


Detailed Description

Defines a flaoting rate.

TFloatRate defines a floating rate. For example, a 5 year semi-annual swap rate, LIBOR or a compounding rate. Note that payInterval is ONLY used if rateType = JPMCDS_SIMPLE_BASIS. This setting is used to compute LIBOR and par swap rates. In order to compute compounding rates, set rateType = JPMCDS_ANNUAL_BASIS (1) or 2 for semi-annual compounding, etc. See the documentation for JpmcdsDayCountFraction for a list of possible day count convention constants. Note that there is no difference between a TFloatRate which has a payInterval *equal* to the matInterval (for the same instrument) one which has a payInterval which is *greater* than the matInterval, and one which has payInterval = 0. This is because the instruments *always* have a payment at maturity, and also payments at intervals of payInterval, for dates on or before the maturity date. Simple LIBOR, etc (a zero coupon rate) is expressed by making the payInterval = matInterval. Note that the spread is added to the rate *AFTER* multiplying by the weight. Note that the holiday file and bad day convention in the TDateAdjIntvl are used to adjust dates used to compute the rate.


Field Documentation

Day count convention of rate

Time to maturity of rate

Time between payments for rate

JPMCDS_SIMPLE_BASIS, JPMCDS_ANNUAL_BASIS

From reset to rate effective date

Added to the rate

Multiplied by rate


The documentation for this struct was generated from the following file:

Distributed by BN Algorithms Ltd -- consulting in quantitative finance, mathematical algorithms and software implementations. CDS Home Page. For enquires contact webs@bnikolic.co.uk.
This documentation is derived from ISDA CDS Standard Model version 1.7. You can get a copy of the original ISDA code at www.bnikolic.co.uk. This is a derivative work under the terms of the ISDA CDS Standard Model Public License. BN Algorithms Ltd licenses this work to you solely for on-screen viewing on your own computer. Making copies and further distribution of this work is prohibited.
This documentation is provided "as-is", without warranty of any kind, either expressed or implied, including, without limitation, warranties that the documentation is free of defects, merchantable, fit for a particular purpose or non-infringing. the entire risk as to the quality of the documentation is with you. Should this documentation prove defective in any respect, you (not the licensor) assume the cost of any necessary correction. This disclaimer of warranty constitutes an essential part of this license.