Class AccountAdjustmentBounds

Six optional PositionSize bounds across the balance, held, and incoming buckets. The binding stores them without validation.

Constructors

Accessors

  • get balanceLower(): undefined | PositionSize
  • The lower balance bound, or undefined.

    Returns undefined | PositionSize

  • set balanceLower(value): void
  • Sets the lower balance bound (value object or DecimalInput).

    Errors

    Throws ParamError on an invalid value.

    Parameters

    • value:
          | undefined
          | null
          | string
          | number
          | bigint
          | PositionSize

    Returns void

  • get balanceUpper(): undefined | PositionSize
  • The upper balance bound, or undefined.

    Returns undefined | PositionSize

  • set balanceUpper(value): void
  • Sets the upper balance bound (value object or DecimalInput).

    Errors

    Throws ParamError on an invalid value.

    Parameters

    • value:
          | undefined
          | null
          | string
          | number
          | bigint
          | PositionSize

    Returns void

  • get heldLower(): undefined | PositionSize
  • The lower held bound, or undefined.

    Returns undefined | PositionSize

  • set heldLower(value): void
  • Sets the lower held bound (value object or DecimalInput).

    Errors

    Throws ParamError on an invalid value.

    Parameters

    • value:
          | undefined
          | null
          | string
          | number
          | bigint
          | PositionSize

    Returns void

  • get heldUpper(): undefined | PositionSize
  • The upper held bound, or undefined.

    Returns undefined | PositionSize

  • set heldUpper(value): void
  • Sets the upper held bound (value object or DecimalInput).

    Errors

    Throws ParamError on an invalid value.

    Parameters

    • value:
          | undefined
          | null
          | string
          | number
          | bigint
          | PositionSize

    Returns void

  • get incomingLower(): undefined | PositionSize
  • The lower incoming bound, or undefined.

    Returns undefined | PositionSize

  • set incomingLower(value): void
  • Sets the lower incoming bound (value object or DecimalInput).

    Errors

    Throws ParamError on an invalid value.

    Parameters

    • value:
          | undefined
          | null
          | string
          | number
          | bigint
          | PositionSize

    Returns void

  • get incomingUpper(): undefined | PositionSize
  • The upper incoming bound, or undefined.

    Returns undefined | PositionSize

  • set incomingUpper(value): void
  • Sets the upper incoming bound (value object or DecimalInput).

    Errors

    Throws ParamError on an invalid value.

    Parameters

    • value:
          | undefined
          | null
          | string
          | number
          | bigint
          | PositionSize

    Returns void

Methods

  • Returns void

  • Returns void