A (delta, absolute) P&L pair describing an applied realized-P&L change.

Constructors

Properties

Methods

Constructors

  • Constructs a P&L outcome amount from a delta and an absolute value.

    Each argument accepts a Pnl value object or a DecimalInput.

    Errors

    Throws ParamError on an invalid value.

    Parameters

    • delta:
          | string
          | number
          | bigint
          | Pnl
    • absolute:
          | string
          | number
          | bigint
          | Pnl

    Returns PnlOutcomeAmount

Properties

absolute: Pnl

The resulting absolute P&L value.

delta: Pnl

The signed P&L change applied.

Methods

  • Returns void

  • Returns void