> For the complete documentation index, see [llms.txt](https://help.topstepx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.topstepx.com/components/trades.md).

# Trades

The Trades component provides information on all trades that have occurred over the lifetime of the account. This panel is currently only available for Sim accounts.

## Trades Component

<figure><img src="https://2549854448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffj55gt7IahlmBVVgmbnQ%2Fuploads%2FYqDTzFnXwhiqfUFboU27%2FScreenshot%202024-06-27%20at%2010.12.39%E2%80%AFAM.png?alt=media&amp;token=aed67a65-0ac0-43a0-b279-6a4df25cca6f" alt=""><figcaption></figcaption></figure>

The Trades component contains the following information:

* **Symbol** - The symbol associated with the contract.
* **Size** - The volume of the contract that was traded.
* **Time** - Date and time when the initial trade filled.
* **Entry** **Price** - The fill price of the contract during the initial trade (opened).
* **Exit** **Price** - The fill price of the contract when the trade was paired (closed).
* **P\&L** - Profit or loss associated with the trade. A Green value indicates a profit. A Red value indicates a loss.
* **Fees** - Round turn exchange and regulatory fees associated with the trade.

To add Trades to your layout, first add it as a [component](/components.md).

#### Export Trades

To export the data in the Trades component, click the button at the bottom left of the component.

<figure><img src="https://2549854448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Ffj55gt7IahlmBVVgmbnQ%2Fuploads%2FgEFNDYyCFdvVkJU3PCwX%2FScreenshot%202024-06-27%20at%201.41.22%E2%80%AFPM.png?alt=media&amp;token=3d7ea178-49b1-4b47-a49b-bb37c0737a3e" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.topstepx.com/components/trades.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
