Get wallet PnL history for a strategy
Returns a daily unrealized-PnL timeline for a wallet in a strategy, based on the wallet’s deposit and withdrawal cost basis and the strategy’s daily share price. The wallet query parameter is required and must be owned by the authenticated customer, who must also have the strategy enabled. Amounts are underlying-asset raw units serialized as strings. Provide either days or an explicit from/to range.
Authorizations
API key for authentication. Obtain from your Pods dashboard.
Path Parameters
Strategy ID or slug
Query Parameters
Wallet address to scope the PnL series to. Required for this route form.
"0xb794F5eA0ba39494cE839613fffBA74279579268"
Rolling window size in days ending yesterday (UTC). Minimum 7, maximum 365. Ignored when from/to are provided.
7 <= x <= 365Inclusive range start (YYYY-MM-DD, UTC). When set, overrides days.
Inclusive range end (YYYY-MM-DD, UTC). Cannot be in the future.
Results per page (maximum 500)
1 <= x <= 500Page number
x >= 1Response
PnL timeline retrieved
Paginated wallet PnL timeline for a strategy. The list key is items (not data).