# Statistics

<figure><img src="/files/pSkclpGyh3Czq9Bo87hv" alt=""><figcaption><p>All the statistics shown for trade details</p></figcaption></figure>

You Can hover over  ![](/files/zyD0hi3IM6VrpzQxb315) to get info about each of the statistics

***

## MAE and MFE&#x20;

<figure><img src="/files/wRec0Qp1SjexCRM6BctC" alt=""><figcaption><p>The MAE and MFE during a trade </p></figcaption></figure>

{% hint style="info" %}
The price indicates the MAE/MFE price, the percentage indicates how much the price went against you or for you.
{% endhint %}

### MAE - Maximum Adversial Excursion

The MAE of a position is the price at which the position was the furthest away from your entry in the "wrong" direction. If you had a long position this is often the lowest price during the trade and for a short it would be the highest price during a trade.<br>

Essentially, it's the point during the trade where your position likely had the largest unrealized loss.&#x20;

***

### MFE - Maximum Favorable Excursion

This is the opposite of MFE. For a long trade it's usually the highest price during a trade and for a short trade it's usually the lowest price.\
\
Essentially, it's the pricepoint at which you likely had the largest amount of unrealized profit for your trade.

***

## Planned and actual R:R

{% hint style="info" %}
R:R stands for Risk to Reward Ratio and is meant to illustrate how much you were able to win from the position relative to how much you risked, you can read more about in this Investopedia article: <https://www.investopedia.com/terms/r/riskrewardratio.asp>
{% endhint %}

### Planned R:R

This is the R:R that you had planned to achieve when you opened the position. The value is calculated based on inputted stoploss and targets that you manually add in TradeStream, you can read more about how to do that by going to the page linked below

{% content-ref url="/pages/gwECNqXqpy6SDv6wRINj" %}
[Stoploss & Targets](/journal/trade-details/stoploss-and-targets.md)
{% endcontent-ref %}

***

### Actual R:R

The actual R:R is calculated in two ways depending on if you have manually inputted your stoploss or not

#### Formula

We use the below formula to calculate actual R:R. If you won the trade we use the positive value of Actual R:R, if you lost the trade we make the value negative.\
\
$$\text{Actual R:R} = \frac{|\text{entry} - \text{exit}|}{|\text{entry} - \text{stoploss}|}$$

{% hint style="info" %}
If you have not inputted your stoploss we use your position's MAE as a substitute for the stoploss
{% endhint %}

***

## Fees and Funding

These just tell you how much you paid or earned in fees for entering or exiting the position and how much you paid or earned in funding fees during the course of the trade.\
\
If the values are green it means you earned money, if they're red it means you paid money.

<br>


---

# 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.tradestream.xyz/journal/trade-details/statistics.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.
