# Viewing the orderbook

The orderbook view is a constantly updated, real-time list of all outstanding buy and sell \[limit] orders for the selected instrument, organized by total USD price (price of instrument X quantity of instrument).

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

The order book is presented in two sections, identified by red or green colored bars. The top half with red-colored bars are Sell orders, or *asks*. The bottom half with green-colored bars are Buy orders, or *bids*.

Each row in the orderbook contains price levels and the number of contracts (**Size**) for each corresponding price. The **Total** column shows a cumulative count of contracts from the middle of the order book to each price level.


---

# 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://prodigyfi.gitbook.io/perps-user-guide/orderbook-and-chart/viewing-the-orderbook.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.
