Function auto_deleverage

Source
pub fn auto_deleverage<'a, 'b, 'c, 'info>(
    ctx: CpiContext<'a, 'b, 'c, 'info, PositionCut<'info>>,
    nonce: [u8; 32],
    recent_timestamp: i64,
    size_delta_in_usd: u128,
    execution_fee: u64,
) -> Result<()>