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

QuantLib::ChfLiborSwapIsdaFix Class Reference

#include <chfliborswap.hpp>

Inheritance diagram for QuantLib::ChfLiborSwapIsdaFix:

QuantLib::SwapIndex QuantLib::InterestRateIndex QuantLib::Index QuantLib::Observer QuantLib::Observable

List of all members.

Detailed Description

ChfLiborSwapIsdaFix index base class

CHF Libor Swap indexes fixed by ISDA in cooperation with Reuters and Intercapital Brokers at 11am London. Annual 30/360 vs 6M Libor, 1Y vs 3M Libor. Reuters page ISDAFIX4 or CHFSFIX=.

Further info can be found at <http://www.isda.org/fix/isdafix.html> or Reuters page ISDAFIX.

Definition at line 41 of file chfliborswap.hpp.

Public Member Functions

virtual void addFixing (const Date &fixingDate, Real fixing, bool forceOverwrite=false)
 stores the historical fixing at the given date
template<class DateIterator, class ValueIterator>
void addFixings (DateIterator dBegin, DateIterator dEnd, ValueIterator vBegin, bool forceOverwrite=false)
 stores historical fixings at the given dates
void addFixings (const TimeSeries< Real > &t, bool forceOverwrite=false)
 stores historical fixings from a TimeSeries
 ChfLiborSwapIsdaFix (const Period &tenor, 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 > &)
Other methods
virtual boost::shared_ptr
< SwapIndex
clone (const Handle< YieldTermStructure > &forwarding) const
 returns a copy of itself linked to a different forwarding curve
const Currencycurrency () const
const DayCounterdayCounter () const
std::string familyName () const
Date fixingDate (const Date &valueDate) const
Natural fixingDays () const
Period tenor () const
bool exogenousDiscount () const
BusinessDayConvention fixedLegConvention () const
Period fixedLegTenor () const
Handle< YieldTermStructureforwardingTermStructure () const
boost::shared_ptr< IborIndexiborIndex () const
boost::shared_ptr< VanillaSwapunderlyingSwap (const Date &fixingDate) const
Index interface
Rate fixing (const Date &fixingDate, bool forecastTodaysFixing=false) const
 returns the fixing at the given date
Calendar fixingCalendar () const
 returns the calendar defining valid fixing dates
bool isValidFixingDate (const Date &fixingDate) const
 returns TRUE if the fixing date is a valid one
std::string name () const
 Returns the name of the index.
InterestRateIndex interface
Date maturityDate (const Date &valueDate) const
Observer interface
void update ()
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_
Handle< YieldTermStructurediscount_
bool exogenousDiscount_
std::string familyName_
BusinessDayConvention fixedLegConvention_
Period fixedLegTenor_
Calendar fixingCalendar_
Natural fixingDays_
boost::shared_ptr< IborIndexiborIndex_
Period tenor_

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

Generated by  Doxygen 1.6.0   Back to index