Get trader PnL candles
PnL candles for a trader.
Path Parameters
Trader wallet address
Query Parameters
Candle bucket size. auto automatically decides resolution to try fit all candles within max count_back (2500) and overrides any caller-supplied count_back. Default: 1m for 1d, 1d otherwise.
1m, 1h, 4h, 1d, auto Default: lifetime
1d, 7d, 30d, lifetime Start unix seconds. Overrides the timeframe lower bound.
End unix seconds
Number of candle buckets to return. Default 500, max 2500. Ignored when resolution=auto (forced to 2500).
Cursor from a previous response
Forward-fill missing buckets. Default: true.
Response
Trader PnL candles
Timestamp in epoch seconds at the start of the candle bucket.
x >= 0Opening block for this candle.
Closing block for this candle.
Latest USDC balance at candle close.
Latest pUSD balance at candle close.
Latest open position count at candle close.
Total PnL low value for the candle (= realized + unrealized).
High price.
Open price.
Close price.
Realized PnL low.
Realized PnL high.
Realized PnL open.
Realized PnL close.
Unrealized PnL low.
Unrealized PnL high.
Unrealized PnL open.
Unrealized PnL close.
Portfolio value low.
Portfolio value high.
Portfolio value open.
Portfolio value close.