Get user PnL
Handles GET /v1/users/{user_pubkey}/pnl via get.v1.users.by_user_pubkey.pnl.
Authorizations
Bearer access token issued by /v1/auth/* login endpoints.
Path Parameters
User public key (base58 encoded)
Query Parameters
Resolution/timeframe: 1m, 1d
Start time in milliseconds since Unix epoch (max range: 1 year)
End time in milliseconds since Unix epoch (max range: 1 year)
Max number of data points (default: 1000, max: 1440)
Response
Cumulative funding payment up to this point
Cumulative realized PnL up to this point
Cumulative taker fees paid up to this point
End time in seconds since Unix epoch
Start time in seconds since Unix epoch
Deprecated: Unix timestamp in seconds.
unrealized PnL up to this point