> For the complete documentation index, see [llms.txt](https://fermi-dex.gitbook.io/fermi-dex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fermi-dex.gitbook.io/fermi-dex-docs/fermi-dex-usage-guide/fermi-dex-how-it-works/posting-a-limit-order.md).

# Posting a Limit Order

Here we will utilise the example of a USDC/WSOL market - however the same concepts apply identically to any given market. We will demonstrate how to place the order on the DEX UI (the easy way).&#x20;

## Placing an Order with the GUI

<figure><img src="/files/lwoP0KQaUBp1FloFNbHn" alt=""><figcaption><p>Fermi DEX interface, used for placing orders</p></figcaption></figure>

Enter the values for price and quantity, and the Size of the trade will be auto computed. Ensure you have enough collateral supplied to the protocol already (visible on top right), or be prepared to *approve* the marginal capital at the time of order placement. \
\
Click on "Bid" or "Ask" after filling in the details, and sign the transactions with your Phantom wallet. If successful, your order will show up in your "Open Orders" below. From here, you can cancel the trade, or finalize the trade (if matched). More trade customization options will also soon be made available in the Open Orders dashboard.

## Using the Fermi-SDK

{% hint style="success" %}
The Fermi SDK (ts) is available [here](https://github.com/adarshzpatel/fermi-sdk/tree/pro/examples), while the rust SDK is currently under development, with an expected release date of 30th May, 2024.
{% endhint %}

Next, we also show how you can place the request manually, using solana/web3.js and anchor: this would be relevant to MMs who wish to make trading/arb bots, or otherwise programatically interact with the Fermi DEX. We recommend having a look at the [sdk folder](https://github.com/cryptohariseldon/Fermi-orderbook/tree/sdk-adarsh) for examples on how to open trades in JS. More tutorials coming soon.


---

# 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://fermi-dex.gitbook.io/fermi-dex-docs/fermi-dex-usage-guide/fermi-dex-how-it-works/posting-a-limit-order.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.
