Reusable account-P&L bounds for spot funds.

Bounds are denominated in the account currency. At least one bound must be present when the barrier is registered with a builder or configurator.

Constructors

Methods

Constructors

  • Constructs reusable spot-funds P&L bounds.

    Errors

    Throws TypeError, RangeError, or ParamError when a present bound is not a valid P&L value.

    Parameters

    • lower_bound:
          | undefined
          | null
          | string
          | number
          | bigint
          | Pnl
    • upper_bound:
          | undefined
          | null
          | string
          | number
          | bigint
          | Pnl

    Returns SpotFundsPnlBoundsBarrier

Methods

  • Returns void

  • Returns void