Expand description
Data structures and events for positions
Modules§
- events
- Events
Structs§
- Close
Position Instructions - Instructions to close a position.
- Closed
Position - Information on a closed position
- Collateral
AndUsd - Collateral and USD which will always be non-negative.
- Liquidation
Margin - Liquidation margin for a position, broken down by component.
- Position
- The position itself
- Position
Id - PositionId
- Position
Query Response - Query response representing current state of a position
- Positions
Resp - Response from crate::contracts::market::entry::QueryMsg::Positions
- Signed
Collateral AndUsd - Collateral and USD which can become negative
Enums§
- Liquidation
Reason - Reason why a position was liquidated
- Maybe
Closed Position - Outcome of operations which might require closing a position.
- Position
Close Reason - Reason the position was closed
- Position
OrPending Close - Query response intermediate value on a position.