Expand description
Events
Structs§
- All attributes for a position
- A position was closed
- Collaterals calculated on a position.
- A position was opened
- Emitted each time a position is saved
- Trading fees paid for a position
- Event when a position has been updated
Enums§
- Why was a position saved?
Functions§
- Returns a tuple containing (base, quote) calculated based on the market type
- Calculate the collaterals for a position