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

# Order Types

When placing an order on the Native Core [CLOB](/native-dev/concepts/central-limit-orderbook.md), you choose an **order type** (how the order is priced) and a **time-in-force** (how long it stays active and how it is allowed to fill).

#### Order Types

* **Limit** — fills at a specified price or better. If it cannot fully fill on entry, the remainder rests on the order book.
* **Market** — fills at the best available price. A market order does not rest on the book; any unfillable remainder is cancelled.

#### Time in Force

<table><thead><tr><th width="111.859375">TIF</th><th width="263.8046875">Name</th><th>Behavior</th></tr></thead><tbody><tr><td><code>gtc</code></td><td>Good-Til-Cancelled</td><td>Rests on the book until filled or explicitly cancelled.</td></tr><tr><td><code>ioc</code></td><td>Immediate-Or-Cancel</td><td>Fills as much as possible immediately; cancels any remainder.</td></tr><tr><td><code>fok</code></td><td>Fill-Or-Kill</td><td>Must fill in full immediately, or the entire order is cancelled.</td></tr><tr><td><code>alo</code></td><td>Add-Liquidity-Only (post-only)</td><td>Only rests as a maker order; rejected if it would immediately match and take liquidity.</td></tr></tbody></table>


---

# 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://docs.native.org/native-dev/concepts/order-types-and-time-in-force.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.
