@openpit/engine
    Preparing search index...

    Class Context

    Pre-trade policy context: optional block handle and optional account group.

    accountControl is present only when the request carries an account id; accountGroup is present only when that account is registered to a group.

    Index
    accountControl: AccountControl | undefined

    The per-account block handle, or undefined when the request carries no account id.

    accountGroup: AccountGroupId | undefined

    The account group, or undefined. Also serves as the market-data accountInfo.

    isDropCopy: boolean

    Whether ordinary rejects are non-enforcing for this operation.

    • Returns void

    • Returns void

    • Registers a start-stage mutation owned by the current drop-copy operation.

      Errors

      Throws InternalError when a panic has poisoned the module, LifecycleError outside an active drop-copy callback, or TypeError when mutation is not a valid commit/rollback pair.

      Parameters

      Returns void