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
//! # Inflation
//!
//! $$
//! \frac{dI(t)}{I(t)} = (r_n(t) - r_r(t))\,dt + \sigma_I(t)\,dW^Q_I(t)
//! $$
//!
//! Modelling inflation in the Jarrow-Yildirim "foreign-currency analogy"
//! framework: the nominal short rate plays the role of the domestic rate,
//! the real short rate plays the role of the foreign rate, and the consumer
//! price index $I(t)$ plays the role of the FX spot.
//!
//! Submodules:
//! - [`index`] — price-index identifiers (CPI, RPI, HICP, custom) plus a
//! simple `FixingHistory` for past prints.
//! - [`curve`] — zero-coupon and year-on-year inflation curves.
//! - [`swap`] — zero-coupon and year-on-year inflation-linked swaps.
//!
//! Source:
//! - Jarrow, R. & Yildirim, Y. (2003), "Pricing Treasury Inflation
//! Protected Securities and Related Derivatives using an Hjm Model",
//! J. Financial & Quantitative Analysis 38, DOI: 10.2307/4126763
//! - Mercurio, F. (2005), "Pricing Inflation-Indexed Derivatives",
//! *Quantitative Finance* 5, DOI: 10.1080/14697680500148851
//! - Wu, L. (2013), "Inflation-rate Derivatives: From Market Model to
//! Foreign Currency Analogy", arXiv:1302.0574
//!
pub use InflationCurve;
pub use YoyInflationCurve;
pub use ZeroCouponInflationCurve;
pub use FixingHistory;
pub use PriceIndex;
pub use YearOnYearInflationSwap;
pub use ZeroCouponInflationSwap;