Per-account kill-switch block handle scoped to one pre-trade transaction.

Obtained from a context's accountControl. Calling block records a block against the bound account. The handle is valid only within the owning request's pre-trade processing (through commit or rollback); once invalidated, further calls throw a LifecycleError rather than recording against a completed transaction.

Methods

  • Returns void

  • Records block against the account bound to this control.

    The first cause for an account wins, so recording a block against an already-blocked account is a no-op.

    Errors

    Throws LifecycleError when the owning transaction has already been finalized, or ParamError when the block code is not recognized.

    Parameters

    Returns void

  • Returns void