pub fn plan_position_settlements(
instrument: &SettlementInstrument,
reference_price: Decimal,
positions: &[SettlementPosition],
) -> Vec<(SettlementPosition, SettlementOutput)>Expand description
Build settlement outputs for all non-zero positions in one instrument.