> For the complete documentation index, see [llms.txt](https://docs.asterdexcorp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asterdexcorp.com/astherusex-orderbook-perp-guide/order-types.md). Agents can also search and read this documentation through its [MCP server](https://docs.asterdexcorp.com/~gitbook/mcp).

# Order Types

Learn about different order types on AstherusEX

**Market order**

A market order is a buy or sell order that gets filled right away at the best price currently available on the market.

**Limit order**

A limit order lets you place an order at a specific price or a more favorable price. However, there's no guarantee that a limit order will be filled.

Please note that Limit buy orders are executed if the price of the asset hits the limit price or falls below that price.

Limit sell orders are executed if the price of the asset hits the limit price or rises above that price.

**Limit TP/SL Order (Strategy Order)**

When you open a position, you can check the box next to \[TP/SL] to set a take profit or stop loss price. Depending on your trading strategy, you can also set your order to be triggered based on the "Last Price" or the "Mark Price".&#x20;

<figure><img src="https://4068247257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWhSHuKmgnGREbVb12PK2%2Fuploads%2FdjHDppmrIdE2KvWndbv2%2Fphoto_2024-06-12_11-49-17.jpg?alt=media&amp;token=8a3daf2d-8c8d-49c2-9d76-a8c87d0420d1" alt=""><figcaption></figcaption></figure>

**Stop Limit Order**

A stop limit order is a conditional order over a set timeframe, executed at a specified price after a given stop price has been reached. Once the stop price is reached, it will buy or sell at the limit price or a better price than the limit price you set.

**Stop Market Order**

Similar to a stop limit order, a stop market order uses a stop price to trigger the trade. However, when the stop price is reached, it’d trigger a market order.

**Trailing Stop Order**

A trailing stop order allows traders to place a pre-set order at a specific percentage away from the market price when the market swings. It locks in profit by enabling a trade to remain open and continue to profit as long as the price is moving in the favorable direction.

Please note that a trailing stop order does not move back in the other direction. When the price moves in the opposite direction by a specified percentage, it will be executed at market price.

**Post Only Order**

When you place a post only order, it will be added to the order book, but won’t be executed immediately. The post only order will exist as a maker order to add liquidity to the order book.

<br>

<br>

<br>


---

# 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.asterdexcorp.com/astherusex-orderbook-perp-guide/order-types.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.
