# Trade History

Provides a detailed record of all executed trades from your live or backtested strategies. It typically includes information such as trade date and time, asset pair (e.g., BTC/USDT), order type (buy/sell), executed price, trade size/quantity, profit or loss from the trade, and cumulative performance. This section helps users track past trading activity, evaluate strategy effectiveness, and analyze performance trends for future adjustments.

To view the trading history, choose the API key wallet from the dropdown selection.

![](/files/QXhLo9buY40L2yKyB7RQ)

### **Page Anatomy** <a href="#c8akmewsyrip" id="c8akmewsyrip"></a>

| **Ref**                    | **Zone**                                                                                                                                                                                                                        |
| -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **(A)** **Navigation bar** | Same left-rail used across HyperTrade: *My strategies, Community Strategies, Live Strategies, Portfolio, **Trade History**, Settings, Strategy Chats, Logout*. The “Coming Soon” tags mark sections that are under development. |
| **(B)** **Header**         | Breadcrumb **Overview**                                                                                                                                                                                                         |
| **(C) Filter**             | Filter the display by 1 Day, 1Week, 1 Month, or All Time.                                                                                                                                                                       |
| **(D) API wallet**         | Show the current trade history of the selected API wallet. Change the API wallet from dropdown will change the view of trade history.                                                                                           |
| **(D) Pagination**         | Allows to view the pages of trade history                                                                                                                                                                                       |
| **(E) Trade Card Grid**    | Responsive rows of trade **cards** (see §3).                                                                                                                                                                                    |

### **Anatomy of a Trade Card** <a href="#ha5saxil3chu" id="ha5saxil3chu"></a>

| **Element**               | **Description**                                                               |
| ------------------------- | ----------------------------------------------------------------------------- |
| **Pair icon**             | Base/quote symbol(s)—e.g., ₿ **BTC/USDT**.                                    |
| **Direction or Position** | Display the direction/position (e.g. LONG)                                    |
| **Position badge**        | Green pill displaying the position.                                           |
| **PnL %**                 | Cumulative performance metric highlighted green (positive) or red (negative). |
| **Profit/Loss**           | Profit/loss amount                                                            |
| **Entry Price**           | Amount of entry price                                                         |
| **Size**                  | Display the market size                                                       |
| **Timestamp**             | Display the timestamp                                                         |
| **View Details button**   | Open trade card details                                                       |

### **Anatomy of Trade Card Details** <a href="#id-1qbblshj9qvw" id="id-1qbblshj9qvw"></a>

| **Card**          | **Details**                                                                               |
| ----------------- | ----------------------------------------------------------------------------------------- |
| Trade Information | <ul><li>Trade ID</li><li>Direction</li><li>Position Size</li><li>Start Position</li></ul> |
| **Price Details** | <ul><li>Entry Price</li><li>Mark Price</li><li>Price Change</li><li>Leverage</li></ul>    |
| **Financial**     | <ul><li>PnL Percentage</li><li>Unrealized PnL</li><li>Fee</li><li>Fee Token</li></ul>     |
| **Technical**     | <ul><li>Order ID</li><li>Crossed</li><li>Side</li><li>Timestamp</li></ul>                 |

![](/files/dtctTJIJWafzYnTAbh2d)

{% embed url="<https://drive.google.com/file/d/1uQtUSly0q6b9UWrdwR360n4T0WiIGpyM/view?usp=drive_link>" %}


---

# 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://modern-stoic-ai.gitbook.io/hypertrade-docs/trade-history.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.
