Reference
Trade states
Trade states describe where an open or close action sits in the execution lifecycle.
States
| State | Meaning |
|---|---|
| Preview | The user is reviewing size, leverage, fees, and risk details. |
| Signed | The session key signed the intent. |
| Submitted | The relayer submitted the protocol transaction. |
| Open | The protocol recorded the position open event. |
| Closing | A close intent is signed or submitted. |
| Closed | The protocol recorded the close and the ledger applied settlement. |
| Liquidated | The protocol recorded liquidation and the ledger applied the loss. |
| Failed | The intent or transaction failed before creating the requested state. |