Class ExecutionReportPositionImpact

Position-impact group: opening/closing effect and resulting side.

Constructors

Accessors

  • get positionEffect(): undefined | string
  • The position effect wire string ("OPEN"/"CLOSE"), or undefined.

    Returns undefined | string

  • set positionEffect(value): void
  • Sets the position effect from its wire string.

    Errors

    Throws ParamError when value is not "OPEN"/"CLOSE".

    Parameters

    • value:
          | undefined
          | null
          | "OPEN"
          | "CLOSE"

    Returns void

  • get positionSide(): undefined | string
  • The position side wire string ("LONG"/"SHORT"), or undefined.

    Returns undefined | string

  • set positionSide(value): void
  • Sets the position side from its wire string.

    Errors

    Throws ParamError when value is not "LONG"/"SHORT".

    Parameters

    • value:
          | undefined
          | null
          | "LONG"
          | "SHORT"

    Returns void

Methods

  • Returns void

  • Returns void