[][src]Trait eq_volatility::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...

Implementors

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

Loading content...