@openpit/engine
    Preparing search index...

    Class AccountAdjustmentBounds

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

    Index
    • get balanceLower(): PositionSize | undefined

      The lower balance bound, or undefined.

      Returns PositionSize | undefined

    • set balanceLower(
          value: string | number | bigint | PositionSize | null | undefined,
      ): void

      Sets the lower balance bound (value object or DecimalInput).

      Errors

      Throws ParamError on an invalid value.

      Parameters

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

      Returns void

    • get balanceUpper(): PositionSize | undefined

      The upper balance bound, or undefined.

      Returns PositionSize | undefined

    • set balanceUpper(
          value: string | number | bigint | PositionSize | null | undefined,
      ): void

      Sets the upper balance bound (value object or DecimalInput).

      Errors

      Throws ParamError on an invalid value.

      Parameters

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

      Returns void

    • get heldLower(): PositionSize | undefined

      The lower held bound, or undefined.

      Returns PositionSize | undefined

    • set heldLower(
          value: string | number | bigint | PositionSize | null | undefined,
      ): void

      Sets the lower held bound (value object or DecimalInput).

      Errors

      Throws ParamError on an invalid value.

      Parameters

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

      Returns void

    • get heldUpper(): PositionSize | undefined

      The upper held bound, or undefined.

      Returns PositionSize | undefined

    • set heldUpper(
          value: string | number | bigint | PositionSize | null | undefined,
      ): void

      Sets the upper held bound (value object or DecimalInput).

      Errors

      Throws ParamError on an invalid value.

      Parameters

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

      Returns void

    • get incomingLower(): PositionSize | undefined

      The lower incoming bound, or undefined.

      Returns PositionSize | undefined

    • set incomingLower(
          value: string | number | bigint | PositionSize | null | undefined,
      ): void

      Sets the lower incoming bound (value object or DecimalInput).

      Errors

      Throws ParamError on an invalid value.

      Parameters

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

      Returns void

    • get incomingUpper(): PositionSize | undefined

      The upper incoming bound, or undefined.

      Returns PositionSize | undefined

    • set incomingUpper(
          value: string | number | bigint | PositionSize | null | undefined,
      ): void

      Sets the upper incoming bound (value object or DecimalInput).

      Errors

      Throws ParamError on an invalid value.

      Parameters

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

      Returns void

    • Returns void

    • Returns void