# Order Types

Byreal Perp supports the following order types:

## Market Order

Executes immediately at the best available price. Use for fast entry/exit.

* Guaranteed fill
* May experience slippage in thin markets or during high volatility

## Limit Order

Executes only at your specified price or better. Three time-in-force options:

* **Good-Til-Cancelled (GTC):** Stays open until filled or manually canceled
* **Immediate-or-Cancel (IOC):** Fills what it can immediately, cancels the rest
* **Post-Only (ALO):** Ensures your order is added to the book as a maker order; rejected if it would match immediately (useful for avoiding taker fees)

## Take Profit / Stop Loss (TP/SL)

Automatically closes your position at a target profit or loss level.

* **Take Profit** — Triggers when the mark price reaches your target profit level
* **Stop Loss** — Triggers when the mark price reaches your maximum loss level

Once triggered, TP/SLs execute as a market order. They can be set at order creation or added to an existing position.

## TP/SL Combo

Set both Take Profit and Stop Loss simultaneously when opening a position. This is the recommended approach for risk management.

## Reduce-Only Order

An order that can only reduce an existing position, never increase it or open a new one. Useful for setting exit orders without accidentally opening a position in the opposite direction.


---

# 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://docs.byreal.io/perps/order-types.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.
