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

# PnL Tracker

See what you've actually made or lost — realized, unrealized, and total profit and loss, per position and per chain.

{% hint style="info" %}
**Realized PnL** is locked in from lots you've closed. **Unrealized PnL** is paper gain/loss on what you still hold. **Total PnL** is the two combined. Novamp shows all three, and marks data it can't compute rather than guessing.
{% endhint %}

## Overview

PnL is built into your [Portfolio](/portfolio-and-analytics/portfolio.md). It computes profit and loss from your trade history and current holdings across `🟢 Robinhood Chain`, `🔵 Base`, `🟡 BNB Chain`, `⚪ Ethereum`, and `🟪 Solana`, and surfaces it at three levels: **account**, **per chain**, and **per position**.

## How it works

```mermaid
flowchart LR
  A[Buys: cost basis] --> C[Avg entry price]
  B[Sells: proceeds] --> D[Realized PnL]
  C --> E[Unrealized = current value - cost of holdings]
  D --> F[Total PnL = realized + unrealized]
  E --> F
```

* **Cost basis** comes from your buys (weighted-average entry).
* **Realized** = proceeds from closed lots minus their cost.
* **Unrealized** = current value of open holdings minus their cost.
* **Total** = realized + unrealized.

On Solana, position-level PnL (avg entry, realized, unrealized, total, and %) is shown per token in the positions table and backed by the wallet data provider. On EVM, the token page also shows **your** weighted-average entry price and per-holder PnL in the Holders tab.

## How to use it

**Account level**

The portfolio hero shows **Realized PnL**, **Unrealized PnL**, and **Total PnL** tiles, colored green/red, masked when **Hide balances** is on.

**Per chain**

Each **By chain** card shows that chain's total PnL, or **Unavailable** when the provider can't complete it for that chain.

**Per position**

* **Solana positions** table columns: Avg entry · Realized · Unrealized · Total (with %).
* **Closed** tab: zero-balance lots with realized PnL and total (with %).
* **EVM token page**, Holders tab: entry market cap and PnL for each wallet, including yours.

## Important details

| Term            | Meaning                                            |
| --------------- | -------------------------------------------------- |
| Avg entry       | Weighted-average price you paid across buys        |
| Realized PnL    | Profit/loss locked in from closed lots             |
| Unrealized PnL  | Paper profit/loss on current holdings              |
| Total PnL       | Realized + unrealized                              |
| Total PnL %     | Total PnL relative to cost basis                   |
| **Unavailable** | Provider couldn't compute PnL for that chain/token |

{% hint style="warning" %}
In-app EVM swap rows are recorded **locally** and are **not** provider-grade PnL — they're a convenience tape, not an accounting source. Rely on the position/closed tables for realized figures, and treat unrealized PnL as an estimate that moves with live price.
{% endhint %}

## What happens next?

1. Every buy updates your cost basis; every sell books realized PnL.
2. Unrealized PnL re-marks as prices move.
3. When a position's balance reaches zero, it moves to **Closed** with its final realized PnL.

## Troubleshooting

| Symptom                             | Likely cause                              | What to do                                           |
| ----------------------------------- | ----------------------------------------- | ---------------------------------------------------- |
| PnL reads **Unavailable**           | No provider PnL for that chain/token      | Expected on unsupported/thin markets                 |
| Avg entry shows "—"                 | No recorded buys for that lot             | PnL can't be computed without a cost basis           |
| Numbers differ from another tracker | Different cost-basis method / data source | Compare methodologies; on-chain history is the truth |
| Unrealized swings a lot             | Live price is volatile                    | Normal for thin/new tokens                           |

## Continue exploring

* [💼 Portfolio](/portfolio-and-analytics/portfolio.md)
* [📊 Charts & Market Data](/portfolio-and-analytics/charts-and-data.md)
* [📊 Token Detail Pages](/traders/token-detail.md)
* [🗂️ Glossary](/resources/glossary.md)


---

# 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://docs.novamp.io/portfolio-and-analytics/pnl.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.
