[][src]Trait eq_bailsman::VolatilityGetter

pub trait VolatilityGetter {
    fn get_volatility(currency: &Currency) -> FixedI64;
fn get_correlation(c1: &Currency, c2: &Currency) -> FixedI64; fn get_covariance(c1: &Currency, c2: &Currency) -> FixedI64 { ... } }

Volatility, correlation and covariance storage adapter

Required methods

fn get_volatility(currency: &Currency) -> FixedI64

Returns volatility indicator for a given currency

fn get_correlation(c1: &Currency, c2: &Currency) -> FixedI64

Returns prices correlation for Currency c1 and c2

Loading content...

Provided methods

fn get_covariance(c1: &Currency, c2: &Currency) -> FixedI64

Returns prices covariance for Currency c1 and c2

Loading content...

Implementations on Foreign Types

impl<T> VolatilityGetter for Module<T> where
    T: Trait
[src]

Loading content...

Implementors

Loading content...