Logo Search packages:      
Sourcecode: quantlib version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes

QuantLib::BMAIndex Class Reference

Bond Market Association index. More...

#include <bmaindex.hpp>

Inheritance diagram for QuantLib::BMAIndex:
Inheritance graph
[legend]
Collaboration diagram for QuantLib::BMAIndex:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void addFixing (const Date &fixingDate, Real fixing, bool forceOverwrite=false)
 stores the historical fixing at the given date
void addFixings (const TimeSeries< Real > &t, bool forceOverwrite=false)
 stores historical fixings from a TimeSeries
template<class DateIterator , class ValueIterator >
void addFixings (DateIterator dBegin, DateIterator dEnd, ValueIterator vBegin, bool forceOverwrite=false)
 stores historical fixings at the given dates
 BMAIndex (const Handle< YieldTermStructure > &h=Handle< YieldTermStructure >())
void clearFixings ()
 clears all stored historical fixings
void notifyObservers ()
void registerWith (const boost::shared_ptr< Observable > &)
const TimeSeries< Real > & timeSeries () const
 returns the fixing TimeSeries
void unregisterWith (const boost::shared_ptr< Observable > &)
Index interface
std::string name () const
bool isValidFixingDate (const Date &fixingDate) const
 returns TRUE if the fixing date is a valid one
Inspectors
Handle< YieldTermStructureforwardingTermStructure () const
Date calculations
Date maturityDate (const Date &valueDate) const
Schedule fixingSchedule (const Date &start, const Date &end)
Index interface
Calendar fixingCalendar () const
 returns the calendar defining valid fixing dates
Rate fixing (const Date &fixingDate, bool forecastTodaysFixing=false) const
 returns the fixing at the given date
Observer interface
void update ()
Inspectors
std::string familyName () const
Period tenor () const
Natural fixingDays () const
Date fixingDate (const Date &valueDate) const
const Currencycurrency () const
const DayCounterdayCounter () const
Date calculations

These method can be overridden to implement particular conventions (e.g. EurLibor)

virtual Date valueDate (const Date &fixingDate) const

Protected Member Functions

Rate forecastFixing (const Date &fixingDate) const

Protected Attributes

Currency currency_
DayCounter dayCounter_
std::string familyName_
Calendar fixingCalendar_
Natural fixingDays_
Period tenor_
Handle< YieldTermStructuretermStructure_

Detailed Description

Bond Market Association index.

The BMA index is the short-term tax-exempt reference index of the Bond Market Association. It has tenor one week, is fixed weekly on Wednesdays and is applied with a one-day's fixing gap from Thursdays on for one week. It is the tax-exempt correspondent of the 1M USD-Libor.

Definition at line 40 of file bmaindex.hpp.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index