Returns true for the long side.
Returns true for the short side.
Returns the opposite position side.
Returns the wire string for JSON serialization.
Returns the canonical wire string ("LONG"/"SHORT").
StaticfromParses a position side from its wire string ("LONG"/"SHORT").
StaticlongThe long side.
StaticshortThe short side.
Position direction: long or short.