> For the complete documentation index, see [llms.txt](https://trenchexchange.gitbook.io/trench-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trenchexchange.gitbook.io/trench-docs/terminal-guide/portfolio.md).

# Portfolio

<figure><img src="/files/pUaaocZ43lH8eTU1pyPe" alt=""><figcaption></figcaption></figure>

The Portfolio section gives you a complete view of your trading performance — from balances and open positions to detailed PnL insights.

You can **toggle between different timeframes** to analyze performance over specific periods, and switch between **wallets** to view activity across accounts.

This helps you understand not just where you stand, but how your trades are performing over time and across strategies.

Refer to the table below to understand each section:

<table><thead><tr><th width="249.01171875">Section</th><th>Description</th></tr></thead><tbody><tr><td>Total Balance</td><td>Shows the total value of your portfolio across all holdings.</td></tr><tr><td>Unrealized PnL</td><td>Displays profit or loss on open positions that are not yet closed.</td></tr><tr><td>Available Balance</td><td>Amount of funds currently available for trading.</td></tr><tr><td>PnL Activity</td><td>Visualizes your profit and loss performance over time.</td></tr><tr><td>Realized PnL</td><td>Shows profits and losses from completed trades.</td></tr><tr><td>PnL Calendar</td><td>Displays daily trading performance in a calendar view.</td></tr><tr><td>Performance</td><td>Summary of key trading metrics and overall performance.</td></tr><tr><td>Win Rate</td><td>Percentage of profitable trades out of total trades.</td></tr><tr><td>Total Volume</td><td>Total trading volume executed over the selected period.</td></tr><tr><td>Total TXN</td><td>Total number of transactions made.</td></tr><tr><td>Avg Holding Time</td><td>Average duration positions are held before closing.</td></tr><tr><td>PnL Distribution</td><td>Visual breakdown of gains and losses across trades.</td></tr><tr><td>Active Positions</td><td>Currently open trades and their status.</td></tr><tr><td>History</td><td>Record of all past trades and transactions.</td></tr><tr><td>Top 100</td><td>Highlights top performing tokens or positions.</td></tr><tr><td>Activity</td><td>Detailed log of all trading actions and events.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://trenchexchange.gitbook.io/trench-docs/terminal-guide/portfolio.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
