> For the complete documentation index, see [llms.txt](https://academy.horizonprotocol.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://academy.horizonprotocol.com/english-v2/futures/futures-trading-on-horizon-protocol/profit-and-loss.md).

# Profit & Loss

In decentralized finance (DeFi) futures trading, traders often encounter two key concepts: Realized Profit and Loss (PnL) and Unrealized Profit and Loss. These terms are used to assess the financial performance of a trader's positions.

### **Realized PnL**

Realized PnL represents the actual profit or loss that a trader has incurred on a trade. It is the profit or loss that has been "realized" by executing a trade in the market.

### **Unrealized PnL**

Unrealized PnL represents the paper profit or loss on open positions that have not been closed. It reflects the current market value of an open position but has not yet been realized through an actual trade.<br>

On the user interface, the distinction between Realized Profit and Loss (PnL) and Unrealized PnL is reflected as follows:

* Position History Tab:

In the Position History tab, you will find the PnL tab, which exclusively displays Realized PnL. This section accounts for the profit or loss from fully closed trades. It provides a clear overview of the actual gains or losses realized through completed transactions.

* Position Open Tab:

In contrast, the Position Open tab combines both Realized and Unrealized PnL. Here, Realized PnL encompasses profits from partially closed trades and funding.  Meanwhile, Unrealized PnL factors in the current trade's funding and the present trading profit and loss.


---

# 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://academy.horizonprotocol.com/english-v2/futures/futures-trading-on-horizon-protocol/profit-and-loss.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.
