> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polynode.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# P&L Query Catalog

> P&L recipes for wallet totals, time windows, tag and market filters, events, batches, and leaderboards.

Use these recipes when building wallet performance pages, time-series charts, filtered rankings, and leaderboard views.

> [card] [Wallet All-Time P\&L](https://docs.polynode.dev/data/query-catalog/pnl/wallet-all-time.md)
>
> Recovered all-time wallet P\&L with realized, unrealized, total, wins, losses, and volume.

> [card] [Wallet Time-Windowed P\&L](https://docs.polynode.dev/data/query-catalog/pnl/wallet-time-window.md)
>
> Realized P\&L for periods like 1d, 7d, 30d, and 1y.

> [card] [Wallet P\&L by Tag](https://docs.polynode.dev/data/query-catalog/pnl/wallet-by-tag.md)
>
> Wallet P\&L filtered to a tag or category.

> [card] [Wallet P\&L by Market](https://docs.polynode.dev/data/query-catalog/pnl/wallet-by-market.md)
>
> Wallet P\&L filtered to one condition or market slug.

> [card] [Wallet P\&L Events](https://docs.polynode.dev/data/query-catalog/pnl/wallet-events.md)
>
> Bucketed P\&L events for charts.

> [card] [Batch Wallet P\&L](https://docs.polynode.dev/data/query-catalog/pnl/batch-wallet-pnl.md)
>
> Read P\&L for multiple wallets in one request.

> [card] [Global P\&L Leaderboard](https://docs.polynode.dev/data/query-catalog/pnl/global-leaderboard.md)
>
> Rank wallets all-time or by 1-day, 7-day, and 30-day realized P\&L, globally or within one category or tag.

> [card] [Tag P\&L Leaderboard](https://docs.polynode.dev/data/query-catalog/pnl/tag-leaderboard.md)
>
> Rank wallets inside one tag using all-time metrics or rolling realized P\&L.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.