@openpit/engine
    Preparing search index...

    Class PnlBoundsAccountAssetBarrierUpdate

    Runtime per-(account, settlement-asset) P&L-bounds barrier update.

    Index
    • Constructs a runtime account-asset barrier update from its parts.

      Unlike PnlBoundsAccountAssetBarrier, this type has no initialPnl: runtime updates preserve the live accumulated P&L.

      Errors

      Throws AssetError when settlementAsset is empty or ParamError on an invalid bound.

      Parameters

      • account_id: string | number | bigint | AccountId
      • settlement_asset: string
      • lower_bound: string | number | bigint | Pnl | null | undefined
      • upper_bound: string | number | bigint | Pnl | null | undefined

      Returns PnlBoundsAccountAssetBarrierUpdate

    • Returns void

    • Returns void