Response fields are calculated as follows:unrealizedPnl = (indexPrice − avgEntryPrice) × quantityliquidationPrice formula can be found hereIf you want to determine the average entry price for a position, simply divide the
value
by the quantity
—both fields are included in the response.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Example value: ETH-USD
. To get all supported markets, call /api/v1/markets endpoint. Omit this parameter to get results across all markets.
Response
200 - application/json