RustQuant_cashflows/
lib.rs

1// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2// RustQuant: A Rust library for quantitative finance tools.
3// Copyright (C) 2023 https://github.com/avhz
4// Dual licensed under Apache 2.0 and MIT.
5// See:
6//      - LICENSE-APACHE.md
7//      - LICENSE-MIT.md
8// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9
10// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11// MONEY RELATED ITEMS MODULE
12// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13
14//! Module containing all money related items.
15//! This includes currencies, cashflows, exchange rates, and money types,
16//! among other things.
17
18/// Cashflow definitions.
19pub mod cashflow;
20pub use cashflow::*;
21
22/// Legs (sequence of cashflows).
23pub mod legs;
24pub use legs::*;
25
26/// Quotes (price, yield, etc).
27pub mod quotes;
28pub use quotes::*;