Retrieves a list of positions held by the authenticated user. Positions can be filtered by market address.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
x >= 0x >= 0Successfully retrieved list of positions
Alias of price for clarity in PnL calculations
x >= 0x >= 0x >= 0Margin mode: true for cross, false for isolated
Actual collateral currently assigned to this position.
Details:
x >= 0Current market mark price (scaled integer)
x >= 0Market address
x >= 0Sequence number of the execution where this position was updated
x >= 0The address of the user vault
Side inferred from size ("buy" for long, "sell" for short)
Unix timestamp in seconds of the execution where this position was updated
x >= 01718000000
Unix timestamp in milliseconds of the execution where this position was updated
x >= 01718000000000
Unrealized PnL at current mark (scaled integer, signed)
User address
Initial margin requirement based on ENTRY price notional.
Details:
x >= 0Initial margin requirement based on current MARK price notional.
Details:
x >= 0Computed leverage = notional / margin
x >= 0Estimated liquidation price for this position (scaled integer).
Notes:
x >= 065000000000
Required maintenance margin for this position at current price/size
x >= 0