[][src]Function eq_bailsman::rate::ltv

pub fn ltv(
    positive_balances: &Vec<FixedI64>,
    negative_balances: &Vec<FixedI64>,
    prices: &Vec<FixedI64>
) -> Result<FixedI64, LtvError>

Calculates LTV for given vectors of collaterals and debts