> For the complete documentation index, see [llms.txt](https://help.trade.fun/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.trade.fun/perps-spot/perpetual-spot-page/order-book-trades.md).

# Order Book / Trades

<figure><img src="/files/paLE2nnNr5YBlZ5pghnn" alt="" width="299"><figcaption><p>Order Book</p></figcaption></figure>

{% tabs %}
{% tab title="View Toggle" %}

* **Stacked View** – Order Book and Trades appear together in a single vertical layout.
* **Tabbed View** – Switch between Order Book and Trades via tabs.
  {% endtab %}

{% tab title="Order Book" %}
Shows active limit orders for both buyers and sellers.

* **Price** – Listed price for open orders
* **Amount** – Number of contracts/tokens at that price level
* **Total** – Cumulative value at each level
* **Spread** – Difference between the best bid and best ask
* **% Spread** – Spread expressed as a percentage
  {% endtab %}

{% tab title="Filters" %}
You can adjust:

* **Depth** – Number of levels shown (e.g., 10, 20, 50).
* **Denomination** – Toggle display between token or quote currency (e.g., BTC or USD).
  {% endtab %}

{% tab title="Trades" %}
Displays a feed of executed trades, updating in real time.

* **Price** – Price the trade was executed at
* **Size** – Size of the trade in token units
* **Time** – Timestamp of the trade

Buy trades are shown in green, sell trades in red.\
This feed helps **visualize momentum** and **execution velocity** at a glance.

<figure><img src="/files/RHrPqy5ZHzzKJEend52E" alt="" width="299"><figcaption><p>Trades View</p></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# 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:

```
GET https://help.trade.fun/perps-spot/perpetual-spot-page/order-book-trades.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.
