# Portfolio

Track your open positions, trade history, and closed positions — all in one place.

### Overview

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

The Portfolio page gives you a complete view of your Polymarket trading activity through Glint. Access it from the top navigation bar.

### Tabs

The portfolio has three tabs:

| Tab               | What it shows                                         |
| ----------------- | ----------------------------------------------------- |
| **Positions**     | Your currently open positions with live price updates |
| **Trade History** | All executed trades with timestamps and amounts       |
| **Closed**        | Resolved positions with realized PnL                  |

### Open Positions

Each position row shows:

* **Market title** — Which contract you're holding
* **Side** — YES or NO
* **Shares** — Number of contracts held
* **Current value** — Live-updated from Polymarket
* **PnL** — Unrealized profit/loss (green/red)

Click any row to open the full market view with order book and chart.

### Stats

At the top of the portfolio, you'll see:

* **Total PnL** — Your all-time realized profit/loss, calculated from closed positions
* **Largest Win** — Your single biggest winning trade
* **Wallet Balance** — Current USDC.e balance

### Sorting

Sort positions by:

* **Value** — Position size
* **PnL** — Profit/loss
* **Name** — Alphabetical

Toggle ascending/descending with the arrow button.

### Real-Time Updates

Open positions update in real-time via WebSocket. You'll see price changes reflected immediately without needing to refresh.

### Requirements

You must have a connected wallet to view your portfolio. If you haven't connected yet, the page will prompt you to set up your wallet.


---

# Agent Instructions: 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:

```
GET https://docs.glint.trade/features/portfolio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
