quantsupport 0.1.6

Rust quantitative finance library for derivatives pricing, yield-curve bootstrapping, AAD risk, Monte Carlo exposure, and XVA.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Hash)]
/// # `MarketIndexType`
/// Types of values that an index can store.
pub enum QuoteType {
    /// Price or level index.
    Price,
    /// Volatility index.
    Volatility,
    /// Rate index.
    Rate,
    /// Basis point index.
    BasisPoints,
    /// Convexity index.
    Convexity,
}