Returns the materialized cost basis position for chart overlay.
source: amm | sodax
avgCostBasis: USD per display token unit
totalQty: remaining display token quantity
Returns zeroed fields when no position exists.
amm
sodax
No content
Returns all non-zero positions with live unrealized PnL for the Balances tab.
AMM and SODAX positions are returned as separate items (source field).
unrealizedPnl = (currentPrice − avgCostBasis) × totalQty (USD)
Fully closed positions (totalQty = 0) are excluded.
Last updated 23 hours ago
GET /api/pnl/position?source=amm&tokenId=text HTTP/1.1 Host: api.bound.exchange Accept: */*
GET /api/pnl/balances HTTP/1.1 Host: api.bound.exchange Accept: */*