Rechercher une page de manuel
QuantLib_CdsOption
Langue: en
Version: 169761 (fedora - 06/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
QuantLib::CdsOption - CDS option.SYNOPSIS
#include <ql/experimental/credit/cdsoption.hpp>
Inherits QuantLib::Instrument.
Public Member Functions
CdsOption (const Date &expiry, Rate strike, const Handle< Quote > &volatility, const Issuer &issuer, Protection::Side side, Real nominal, const Schedule &premiumSchedule, const DayCounter &dayCounter, bool settlePremiumAccrual, const Handle< YieldTermStructure > &yieldTS)
Real forward () const
Real riskyAnnuity () const
bool isExpired () const
returns whether the instrument is still tradable.
Detailed Description
CDS option.
Warning
- the current implementation does not take premium accrual into account
Warning
- the current implementation quietly assumes that the expiry equals the start date of the underlying CDS
Possible enhancements
- take premium accrual into account
Possible enhancements
- allow expiry to be different from CDS start date
Author
Generated automatically by Doxygen for QuantLib from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre