GroupTpSlReturnEstimate
Estimated group return if every contributing child’s side triggers. Produced by estimateGroupTpSlReturn.
Properties
totalPnlbigintrequiredΣ PnL across contributing children, wei (signed).
totalNotionalbigintrequiredΣ open notional across contributing children, wei.
returnPercentbigintoptionaltotalPnl / totalNotional × 100 as an 18-decimal fixed-point percent (signed). undefined when no child
contributes.
legsGroupTpSlReturnLeg[]requiredPer-child breakdown, in input order. Each carries key, triggerPrice, pnl and notional. Only children with a
trigger contribute.
Last updated on