Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
creditdefaultswapdata.hpp File Reference

A class to hold credit default swap data. More...

#include <boost/optional.hpp>
#include <ored/portfolio/legdata.hpp>
#include <ored/portfolio/trade.hpp>
#include <ql/instruments/creditdefaultswap.hpp>

Go to the source code of this file.

Classes

class  CdsReferenceInformation
 
class  CreditDefaultSwapData
 

Namespaces

namespace  ore
 Serializable Credit Default Swap.
 
namespace  ore::data
 

Enumerations

enum class  CdsTier {
  SNRFOR , SUBLT2 , SNRLAC , SECDOM ,
  JRSUBUT2 , PREFT1 , LIEN1 , LIEN2 ,
  LIEN3
}
 CDS debt tier enumeration. More...
 
enum class  CdsDocClause {
  CR , MM , MR , XR ,
  CR14 , MM14 , MR14 , XR14
}
 CDS documentation clause enumeration. More...
 
enum class  IsdaRulesDefinitions { y2003 = 2003 , y2014 = 2014 }
 ISDA CDS documentation rules set enumeration. More...
 
enum class  CreditEventType {
  BANKRUPTCY , FAILURE_TO_PAY , RESTRUCTURING , OBLIGATION_ACCELERATION ,
  OBLIGATION_DEFAULT , REPUDIATION_MORATORIUM , GOVERNMENTAL_INTERVENTION
}
 ISDA credit event types enumeration. More...
 
enum class  CreditEventTiers {
  SNR , SUB , SNRLAC , SNR_SUB ,
  SNR_SNRLAC , SUB_SNRLAC , SNR_SUB_SNRLAC
}
 ISDA credit event seniority sets enumeration. More...
 

Functions

CdsTier parseCdsTier (const string &s)
 
ostream & operator<< (ostream &out, const CdsTier &cdsTier)
 
CdsDocClause parseCdsDocClause (const string &s)
 
ostream & operator<< (ostream &out, const CdsDocClause &cdsDocClause)
 
IsdaRulesDefinitions parseIsdaRulesDefinitions (const string &s)
 
IsdaRulesDefinitions isdaRulesDefinitionsFromDocClause (const CdsDocClause &cdsDocClause)
 
CreditEventType parseCreditEventType (const string &s)
 
ostream & operator<< (ostream &out, const CreditEventType &creditEventType)
 
bool isTriggeredDocClause (CdsDocClause contractDocClause, CreditEventType creditEventType)
 
CreditEventTiers parseCreditEventTiers (const string &s)
 
ostream & operator<< (ostream &out, const CreditEventTiers &creditEventTiers)
 
bool isAuctionedSeniority (CdsTier contractTier, CreditEventTiers creditEventTiers)
 
bool tryParseCdsInformation (string strInfo, CdsReferenceInformation &cdsInfo)
 

Detailed Description

A class to hold credit default swap data.

Definition in file creditdefaultswapdata.hpp.