> For the complete documentation index, see [llms.txt](https://docs.opinion.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opinion.trade/trade-on-opinion.trade/trade-on-prediction-market/understanding-the-order-book.md).

# Understanding the order book

Understanding the Order Book is crucial for advanced trading. We’ve already discussed market orders, which are executed instantly at the current price. However, if you think the market price is too high, you can also place the limit order as the price you want.

## Limit Orders Explained

Limit orders are executed only when the market matches your chosen price.\
For instance, if you’re willing to buy “no” shares in “Will the US FOMC keep the interest rate unchanged?” for 90c, but the market price is 97.7c, you can place a limit order at 90c and wait for a seller to match your price.

💡Pro Tip: Limit orders can be partially filled as traders meet your price, so your order may not fill all at once.

## Steps to Place a Limit Order

1. In the ‘Buy’ menu, select ‘Limit’ as the order type.
2. Enter your desired price (or the price at which you want to sell).
3. Specify the number of shares you wish to trade at that price.
4. (Optional) Set an expiration date for your order, so it cancels if unfilled within that time frame.
5. Click ‘Confirm Buy for $xxx’.

## Viewing the Order Book

The order book shows all open buy and sell orders in a given market.\
For example, in the market “**US FOMC Interest Rate** **Decision**,” we are viewing the order book for Trump “Yes” shares.

* The Green Side displays the “bid,” which is the highest price buyers are willing to pay for “Yes” shares.
* The Red Side displays the “ask,” which is the lowest price sellers are willing to accept for “Yes” shares.

💡Notice the gap between the highest bid and the lowest ask price. This gap is called the spread.

<figure><img src="https://3843061142-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6mpelwUCyqVaG8Gn12tl%2Fuploads%2FPYPnWBNTfuYFQrk6FVq6%2Fimage.png?alt=media&amp;token=4e37a1f5-a32a-4a0a-bf3d-4f58337f9dca" 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://docs.opinion.trade/trade-on-opinion.trade/trade-on-prediction-market/understanding-the-order-book.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.
