# Type and Time-In-Force

### Simple Order Types

<table><thead><tr><th width="155">Type</th><th>Comments</th></tr></thead><tbody><tr><td>Market</td><td>Executes at best until matching stops. Any remainder is expired</td></tr><tr><td>Limit</td><td>Executes at or better than the price specified on the order. Any remainder is added to the order book or expired based on the specified Time-In-Force</td></tr></tbody></table>

### Advanced Order Types

<table><thead><tr><th width="157">Type</th><th>Comments</th></tr></thead><tbody><tr><td>Stop</td><td>Executes at best until matching stops. Any remainder is expired</td></tr><tr><td>Stop Limit</td><td>Executes at or better than the price specified on the order. Any remainder is added to the order book or expired based on the specified Time-In-Force</td></tr><tr><td>Iceberg</td><td>An order which has both a Quantity and a (smaller) Disclosed Quantity. Only the Disclosed property is added to/displayed on the order book. Once the displayed quantity reduces to 0 the order is replenished by the system up to the minimum of the Disclosed and Remaining Quantity</td></tr><tr><td>Hidden</td><td>A fully hidden order which is active on the book, but with no displayed quantity</td></tr><tr><td>Pegged</td><td>A hidden order pegged to some mid point (e.g. best bid, offer)</td></tr></tbody></table>

### Time-In-Force Options

<table><thead><tr><th width="263">Type</th><th>Comments</th></tr></thead><tbody><tr><td>Day</td><td>Expires at end of current trading day</td></tr><tr><td>Immediate or Cancel (IOC)</td><td>Executed on receipt. Any remainder is immediately expired</td></tr><tr><td>Fill or Kill (FOK)</td><td>FOK (Fill or Kill) Fully executed on receipt, or immediately expired</td></tr><tr><td>Good Till Time (GTT)</td><td>Expires at a specified time (UTC, second resolution)</td></tr><tr><td>Good Till Date (GTD)</td><td>Expires at the end of specified trading day (local calendar)</td></tr></tbody></table>


---

# Agent Instructions: 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://whitepaper.opz.io/opz-dex-beta/type-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.
