Pulse

Recently closed positions (deprecated: use /pulse/lifecycles/recent)

Changed on

DEPRECATED — superseded by GET /pulse/lifecycles/recent, which returns the same rows with a richer shape (MAE/MFE, liquidation flag, builder fee, optional spot). Both routes read the position_lifecycles_full table with identical filters, so ids, realizedPnl, fees, size (= peakSize) and notional (= peakSize x entryVwap) agree between them. Fields that only exist on the legacy shape are fixed: unrealizedPnl is 0 (the lifecycle is closed), leverage and leverageType are null (not tracked per lifecycle). Perp-only.

get/api/public/v1/pulse/closed-positions/recent

Request

Query parameters

sincestring
limitinteger
coinstring
minNotionalnumber double
minDurationinteger
maxDurationinteger

Response

OK

addressstring required
closedAtstring required
closedAtRawinteger required
coinstring required
durationMsinteger required
entryPxnumber double required
exitPxnumber double required
feesnumber double required
idinteger required
leveragenumber double nullable required

null: leverage is not recorded per reconstructed lifecycle.

leverageTypestring nullable required

null: leverage type is not recorded per reconstructed lifecycle.

notionalnumber double required
openedAtstring required
openedAtRawinteger required
realizedPnlnumber double required
sidestring required
sizenumber double required
unrealizedPnlnumber double required

Changes

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • info

      api tag Pulse added

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status