Position direction: long or short.

Methods

  • Returns void

  • Returns void

  • Returns true for the long side.

    Returns boolean

  • Returns true for the short side.

    Returns boolean

  • Returns the opposite position side.

    Returns PositionSide

  • Returns the wire string for JSON serialization.

    Returns string

  • Returns the canonical wire string ("LONG"/"SHORT").

    Returns string

  • Parses a position side from its wire string ("LONG"/"SHORT").

    Parameters

    • value: string

    Returns PositionSide