> For the complete documentation index, see [llms.txt](https://docs.opinion.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opinion.trade/trade-on-opinion.trade/profit-and-loss.md).

# Profit & Loss

## What is Profit & Loss (P\&L)?

P\&L (Profit and Loss) shows the potential gains or losses from your open positions. It's a fluctuating figure that adjusts as the current market price of the asset moves relative to your average purchase price. Essentially, it indicates whether your positions are trending toward a profit or a loss at any given moment.

A user's position on opinion.trade represents the total of all completed trades (whether increasing, reducing, or closing) over time. All trading lots, grouped by market, are consolidated into one position to determine the P\&L. The P\&L calculation in the table is based on the difference between the entry price of the position and the current market price (or oracle price, depending on the toggle), multiplied by the position's size. The P\&L can be viewed either in dollars or as a percentage.

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

**Unrealised P\&L (uP\&L): r**epresents the potential gains or losses on open positions, based on the current market price compared to your entry price. This value fluctuates as the market changes.

The unrealized profit or loss of your current position, calculated as (Current Value − Total Buy-in Cost), or (Last Price − Avg. Buy-in Price) \* Quantity Held.

**Net worth** on this interface equals the market value of your current holdings plus your available balance

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


---

# 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.opinion.trade/trade-on-opinion.trade/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.
