Returns the wire string for JSON serialization.
Returns the canonical wire string (lowercase "netting"/"hedged").
StaticfromParses a position mode from its wire string ("netting"/"hedged").
StatichedgedThe hedged mode.
StaticnettingThe netting mode.
Position bookkeeping mode: netting or hedged.