Skip to main content

pool_target_usdc

Function pool_target_usdc 

Source
pub fn pool_target_usdc(
    short_option_oi_usdc: Decimal,
    active_timing_bridge_usdc: Decimal,
    active_settlement_debt_usdc: Decimal,
    config: &PmSettlementPoolConfig,
) -> Result<Decimal, PmSettlementModelError>
Expand description

Calculate the target pool size from short OI and active liabilities.