Skip to main content
GET
Wallet PnL summary (Polymarket, FIFO)

授权

x-api-key
string
header
必填

Solana Tracker Data API key

路径参数

address
string
必填

Ethereum wallet address

查询参数

period_days
integer<int64>

Rolling window in days such as 7, 30, or 90 (omit for all-time)

必填范围: x >= 0
fresh
boolean

Bypass Redis; ClickHouse serving path remains exact and bounded

响应

PnL summary with positions

Wallet-level PnL summary across all positions.

activePositionCount
integer
必填
必填范围: x >= 0
address
string
必填

The wallet address.

costMethod
string
必填

Cost basis method (fifo).

exchange
enum<string>
必填

Exchange (Polymarket on-chain; Kalshi has no public wallet addresses).

可用选项:
polymarket,
kalshi
heldTokenPositionCount
integer
必填
必填范围: x >= 0
marketsTraded
integer
必填

Number of distinct markets traded.

必填范围: x >= 0
openPositions
integer
必填

Number of positions currently open (net_tokens > 0).

必填范围: x >= 0
positions
object[]
必填

Individual position details.

realizedPnlUsd
number<double>
必填

Sum of realized PnL across all closed/partially-closed positions.

redeemablePositionCount
integer
必填
必填范围: x >= 0
resolvedPositionCount
integer
必填
必填范围: x >= 0
totalInvestedUsd
number<double>
必填

Total USDC spent across all positions.

totalPnlUsd
number<double>
必填

Net PnL (realized + unrealized).

totalProceedsUsd
number<double>
必填

Total USDC received from sells.

unrealizedPnlUsd
number<double>
必填

Sum of unrealized PnL for open positions (where current price is known).