1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! # Credit Models
//!
//! $$
//! Q(t)=\mathbb{P}(\tau>t)=\exp\!\left(-\int_0^t h(s)\,ds\right),\qquad
//! \mathrm{PV}_{\text{prot}}=N(1-R)\int_0^T D(u)\,dQ(u)
//! $$
//!
//! Structural and reduced-form credit models, CDS pricing under the ISDA-style
//! hazard-rate framework, hazard-curve bootstrapping from a CDS term structure,
//! and credit rating migration matrices.
//!
//! Reference: Merton, "On the Pricing of Corporate Debt: The Risk Structure of
//! Interest Rates", Journal of Finance, 29(2), 449–470 (1974).
//! DOI: 10.1111/j.1540-6261.1974.tb03058.x
//!
//! Reference: Jarrow, Lando & Turnbull, "A Markov Model for the Term Structure
//! of Credit Risk Spreads", Review of Financial Studies, 10(2), 481–523 (1997).
//! DOI: 10.1093/rfs/10.2.481
//!
//! Reference: O'Kane & Turnbull, "Valuation of Credit Default Swaps", Lehman
//! Brothers Quantitative Credit Research Quarterly (2003).
//!
//! Reference: Brigo & Mercurio, "Interest Rate Models — Theory and Practice",
//! Springer, 2nd ed. (2006), Chapter 22. DOI: 10.1007/978-3-540-34604-3
//!
//! Reference: Pfeuffer, dos Reis & Smith, "Capturing Model Risk and Rating
//! Momentum in the Estimation of Probabilities of Default and Credit Rating
//! Migrations", arXiv:1809.09889 (2018).
pub use CdsQuote;
pub use bootstrap_hazard;
pub use CdsPosition;
pub use CdsValuation;
pub use CreditDefaultSwap;
pub use MertonStructural;
pub use GeneratorMatrix;
pub use TransitionMatrix;
pub use HazardInterpolation;
pub use HazardRateCurve;
pub use SurvivalCurve;
pub use SurvivalPoint;