hasquant
Safe HaskellNone
LanguageHaskell2010

QuantLib.TermStructure.Credit

Synopsis

Documentation

type DefaultProbabilityTermStructure = GenTermStructure CDefaultProbabilityTermStructure #

hazardRate #

Arguments

:: DefaultProbabilityTermStructure 
-> Day 
-> Bool

extrapolate

-> IO Double 

The same day-counting rule used by the term structure should be used for calculating the passed time t.

defaultDensity #

Arguments

:: DefaultProbabilityTermStructure 
-> Day 
-> Bool

extrapolate

-> IO Double 

The same day-counting rule used by the term structure should be used for calculating the passed time t.

defaultProbability' #

Arguments

:: DefaultProbabilityTermStructure 
-> Double 
-> Bool

extrapolate

-> IO Double 

probability of default between two given dates

defaultProbabilityBetween #

Arguments

:: DefaultProbabilityTermStructure 
-> Day 
-> Day 
-> Bool

extrapolate

-> IO Double 

probability of default between two given times

spreadCdsHelper #

Arguments

:: GenQuote a

runningSpread

-> (Word, TimeUnit)

tenor

-> Int

settlementDays

-> Calendar 
-> Frequency 
-> BusinessDayConvention 
-> DateGenerationRule 
-> DayCounter 
-> Double 
-> GenYieldTermStructure b

discountCurve

-> Bool

settlesAccrual

-> Bool

paysAtDefaultTime

-> IO DefaultProbabilityHelper 

upfrontCdsHelper #

Arguments

:: GenQuote a

upfront

-> Double

runningSpread

-> (Word, TimeUnit)

tenor

-> Int

settlementDays

-> Calendar 
-> Frequency 
-> BusinessDayConvention 
-> DateGenerationRule 
-> DayCounter 
-> Double

recoveryDate

-> GenYieldTermStructure b

discountCurve

-> Word

upfrontSettlementDays

-> Bool 
-> Bool

paysAtDefaultTime

-> IO DefaultProbabilityHelper 

the upfront must be quoted in fractional units.