Constructs a post-trade result from optional block and adjustment lists.
Both default to empty. Used by a custom policy's applyExecutionReport
return path.
Throws TypeError when either array contains a value of the wrong type.
Optionalaccount_blocks: readonly AccountBlock[]Optionalaccount_adjustments: readonly AccountAdjustmentOutcome[]ReadonlyaccountThe already-applied account adjustments.
ReadonlyaccountThe account blocks; non-empty when a kill switch fired.
Returns a deep copy of this result.
Result of
engine.applyExecutionReport, also constructible for a custom policy's post-trade return.A non-empty
accountBlocksmeans a kill switch fired.accountAdjustmentsare already applied and must be propagated even when a block is present.