Module direction

Module direction 

Source
Expand description

Different representations of the direction of a position.

Positions can either be long or short, but due to the different MarketTypes supported by perps we need to distinguish between the direction to the base asset versus the notional asset.

Enumsยง

DirectionToBase
Direction in terms of base
DirectionToNotional
Direction in terms of notional