> For the complete documentation index, see [llms.txt](https://docs.sigsig.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sigsig.xyz/core-concepts/order-types.md).

# Order types

Limit, market, advanced orders, TP/SL and order options.

## Basic orders

| Type       | What it does                                                                                         |
| ---------- | ---------------------------------------------------------------------------------------------------- |
| **Limit**  | Buys or sells at your price or better. Rests in the order book until filled or cancelled.            |
| **Market** | Fills immediately at the best available prices. Use it when speed matters more than the exact price. |

## Advanced orders

| Type               | What it does                                                                                       |
| ------------------ | -------------------------------------------------------------------------------------------------- |
| **Trigger Limit**  | Places a limit order once the market reaches your trigger price — to enter or to exit a position.  |
| **Trigger Market** | Places a market order once the market reaches your trigger price — to enter or to exit a position. |
| **Scaled**         | Splits your size into several limit orders spread across a price range.                            |
| **Trailing stop**  | A stop that follows the price at a set distance and triggers when the market turns against you.    |

## BBO

For limit orders, **BBO** (best bid/offer) sets your price automatically — for example to the best price on the other side of the book (Counterparty) or the best price on your own side (Queue). **Mid** fills in the middle between best bid and best ask.

## TP/SL

**Take profit** and **stop loss** close your position automatically at a target price. You can add them when you open a position, or later from the Positions tab.

* **Full position** — the TP/SL applies to the whole position.
* **Partial position** — the TP/SL applies to a set quantity.

TP/SL orders trigger on the mark price and execute as market orders by default.

## Order options

| Option                        | What it does                                                                                          |
| ----------------------------- | ----------------------------------------------------------------------------------------------------- |
| **Post only**                 | The order is only placed if it adds liquidity (maker). If it would fill immediately, it is cancelled. |
| **IOC** (Immediate or cancel) | Fills what it can immediately; the rest is cancelled.                                                 |
| **FOK** (Fill or kill)        | Fills completely and immediately, or not at all.                                                      |
| **Reduce only**               | The order can only reduce or close your position, never increase or flip it.                          |
| **Hidden**                    | Your order size is not shown in the order book.                                                       |
| **Order confirm**             | Shows a summary before each order is sent.                                                            |


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.sigsig.xyz/core-concepts/order-types.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
