# Conditional Orders

Any supported order type can be gated behind one or more trigger conditions, evaluated in real time on the server.

### How Conditional Orders Work

A conditional order pairs a regular order (market, limit, TWAP, chase, etc.) with one or more trigger conditions. The order is held on the server and only executes when the conditions are met. All condition evaluation happens server-side in real time, no browser required.

### Adding Conditions

Use the **Edit Conditions** panel to attach trigger conditions to any order. You can add up to **5 conditions** per task.

For each condition, select:

* **Type:** the trigger type (Price, Candle Close, Candle Volume, Time)
* **Timeframe:** applicable for candlestick triggers (e.g. 1h, 4h, 1d)
* **Symbol:** the instrument to evaluate
* **Operator:** greater than or less than
* **Price / Value:** the threshold value

<figure><img src="/files/7rTTcpeIYP21s03SqIBo" alt=""><figcaption></figcaption></figure>

### Composite Logic

When using multiple conditions, you can combine them with **AND** or **OR** logic.

#### **OR** Logic

Executes the order immediately when **the first condition** is satisfied. All remaining conditions are ignored once any single condition fires.

#### **AND** Logic

Executes the order only when **all conditions are satisfied simultaneously**. Every condition must be true at the same time for the order to trigger.

### Examples

* **Start a TWAP on a price breakout:** attach a Price trigger at BTC > $100K to a HYPE limit chase order. The chase only begins once BTC crosses that level.
* **Execute on candle confirmation + volume:** combine a 4h Candle Close > $75K (AND) with a 1h Candle Volume > 100K USD. The order fires only when both conditions are true at once.
* **Schedule an algo:** use a Time trigger to start a TWAP at 8:00 PM UTC on a specific date.

For the full list of available trigger types, see Trigger Types.


---

# 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.insilicoterminal.com/documentation/cortex/conditional-orders.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.
