Runtime account spot-funds P&L-bounds barrier update.

Constructors

Methods

Constructors

  • Constructs a runtime account spot-funds P&L-bounds update.

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

    Errors

    Throws AssetError/ParamError on invalid input.

    Parameters

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

    Returns SpotFundsPnlBoundsAccountBarrierUpdate

Methods

  • Returns void

  • Returns void