Trader
Get trader PnL
Handles GET /v1/traders/{trader_pubkey}/pnl via get.v1.traders.by_trader_pubkey.pnl.
get/v1/traders/{trader_pubkey}/pnl
Request
- Base URLhttps://perp-api.phoenix.trade
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
trader_pubkeystring required
Trader public key (base58 encoded)
Query parameters
resolutionstring required
Resolution/timeframe: 1m, 1d
startTimeinteger
Start time in milliseconds since Unix epoch (max range: 1 year)
endTimeinteger
End time in milliseconds since Unix epoch (max range: 1 year)
limitinteger
Max number of data points (default: 1000, max: 1440)
Response
Changes
No recorded changes to this operation across all 2 revisions of this API.