PositionEventType
Documentation for eth_defi.hyperliquid.position.PositionEventType Python class.
- class PositionEventType
Bases:
enum.EnumType of position event.
Attributes summary
Opening a new position from flat
Closing entire position to flat
Increasing position size (same direction)
Decreasing position size (same direction)
- open = 'open'
Opening a new position from flat
- close = 'close'
Closing entire position to flat
- increase = 'increase'
Increasing position size (same direction)
- decrease = 'decrease'
Decreasing position size (same direction)