Financial impact group: realized P&L and fee.
Constructs a financial-impact group from a P&L and a fee.
Each argument accepts a value object or a DecimalInput.
DecimalInput
Throws ParamError on an invalid value.
ParamError
The fee, or undefined when omitted from a plain object.
undefined
Sets the fee.
The realized P&L, or undefined when omitted from a plain object.
Sets the realized P&L.
Returns a fresh FinancialImpact holding the same P&L and fee.
FinancialImpact
Financial impact group: realized P&L and fee.