Get settled PnL history
GET
/
trade/v1/portfolio/pnl/historyAuthorization
AuthorizationRequiredBearer <token>
Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….
In: header
Scope: portfolio:read
Query Parameters
fromRequiredstring
Inclusive RFC 3339 range start.
Format:
"date-time"toRequiredstring
Inclusive RFC 3339 range end.
Format:
"date-time"limitinteger
Maximum completed buckets; defaults to 672 and cannot exceed 2880.
Minimum:
0Completed lifetime-PnL buckets and step-held range boundaries. The change is not action attribution.