dome_wallet_profitandloss
Fetches the realized profit and loss (PnL) for a specific wallet address over a specified time range and granularity. Note: This will differ to what you see on Polymarket’s dashboard since Polymarket showcases historical unrealized PnL. This API tracks realized gains only - from either confirmed sells or redeems. We do not realize a gain/loss until a finished market is redeemed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | No | Defaults to the current date if not provided. | |
| start_time | No | Defaults to first day of first trade if not provided. | |
| granularity | Yes | Example: "day" |