Portfolio
PNL History
Read portfolio PNL events for the authenticated user
Endpoint
Headers
Bearer <session_token> from wallet auth or Privy session auth.Query Parameters
Start timestamp as Unix milliseconds, inclusive.
End timestamp as Unix milliseconds, inclusive. When both
from and to are
supplied, from must be less than or equal to to.Response Fields
Ordered PNL events for charting.
Event source:
position or fantasy.Event resolution timestamp as Unix milliseconds.
Position ID for position PNL events, otherwise null.
Contest ID when the PNL event comes from a contest, otherwise null.
Realized PNL from this event in micros, encoded as a decimal integer
string.
Cumulative realized PNL after this event in micros, encoded as a
decimal integer string.