Module levana_perpswap_cosmos::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§
- Direction in terms of base
- Direction in terms of notional