Account-currency P&L-bounds barrier for spot funds.

Constructors

Methods

Constructors

  • Constructs a global spot-funds P&L-bounds barrier.

    Errors

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

    Parameters

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

    Returns SpotFundsPnlBoundsBarrier

Methods

  • Returns void

  • Returns void