rust_finprim/rate/mod.rs
1//! This module contains functions for calculating interest rates.
2//!
3//! For example, you can calculate the annual percentage rate (APR) from the effective annual rate (EAR), or vice versa.
4//! Also incudes IRR (Internal Rate of Return), MIRR (Modified Internal Rate of Return), and more.
5
6// APR and EAR
7mod apr_ear;
8pub use apr_ear::{apr, ear};
9
10// IRR and MIRR
11mod irr;
12pub use irr::{irr, xirr};
13
14// XIRR and XMIRR
15mod mirr;
16pub use mirr::{mirr, xmirr};
17
18// CAGR
19mod cagr;
20pub use cagr::cagr;
21
22// Percent Change
23mod pct_change;
24pub use pct_change::{apply_pct_change, pct_change};
25
26// TWR
27mod twr;
28pub use twr::twr;