quantsupport 0.1.5

Rust library for derivative pricing and risk analytics.
Documentation
1
2
3
4
5
6
7
8
9
use crate::xva::contigentclaim::ContingentClaim;

/// A preprocessing step applied to each [`ContingentClaim`] before
/// simulation requests are collected.
pub trait ClaimPreprocessor {
    /// Mutate a single claim in place (e.g. resolve discount curve,
    /// set realized fixings, compress, …).
    fn process(&self, claim: &mut ContingentClaim);
}