Trader closed positions
Changed onComplete, closed perp lifecycles in the rolling lifecycle retention window. Same source and completeness filters as closed-positions/stats (stats is capped at the latest 10,000 rows). realizedPnl and fees come directly from the lifecycle; PnL is gross of fees. size is peak size. unrealizedPnl is 0 on closed positions. leverage and leverageType are null (not tracked per lifecycle).
get/api/public/v1/pulse/trader/{address}/closed-positions
Request
- Base URLhttps://api.coinversa.ai
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
addressstring required
Query parameters
limitinteger
offsetinteger
coinstring
Response
OK
Changes
- warning
for the
queryrequest parameterlimit, the max was set to500.00 - warning
for the
queryrequest parameterlimit, the min was set to1.00
- warning
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status
- breaking