@openpit/engine
    Preparing search index...

    Class ExecutionReportPositionImpact

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

    Index
    • get positionEffect(): string | undefined

      The position effect wire string ("OPEN"/"CLOSE"), or undefined.

      Returns string | undefined

    • set positionEffect(value: "OPEN" | "CLOSE" | null | undefined): void

      Sets the position effect from its wire string.

      Errors

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

      Parameters

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

      Returns void

    • get positionSide(): string | undefined

      The position side wire string ("LONG"/"SHORT"), or undefined.

      Returns string | undefined

    • set positionSide(value: "LONG" | "SHORT" | null | undefined): void

      Sets the position side from its wire string.

      Errors

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

      Parameters

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

      Returns void

    • Returns void

    • Returns void