v1

latestOpenAPI 3.0.02026-07-23173737.9 KB
Positions

List processed open positions

Returns processed open positions for the authenticated user

get/positions

Response

Processed open positions fetched successfully

positionIdstring required

Position identifier

addressstring required

User wallet address

pearExecutionFlag'FULLY_PEAR' | 'PARTIAL' | 'FULLY_EXTERNAL' required

Pear execution flag

entryRationumber required

Weighted entry ratio

markRationumber required

Weighted mark ratio

entryPriceRationumber

Entry price ratio (only for 1 long x 1 short)

markPriceRationumber

Mark price ratio (only for 1 long x 1 short)

entryPositionValuenumber required

Total entry USD value

positionValuenumber required

Total current USD value

marginUsednumber required

Total margin used

unrealizedPnlnumber required

Total unrealized PnL (USD)

unrealizedPnlPercentagenumber required

Unrealized PnL percentage relative to margin used

createdAtstring date-time required

Creation timestamp

updatedAtstring date-time required

Last update timestamp