# Matching engine status

The `OrderMatcherResult` represents various outcomes that can occur during the order matching process. Below are the possible statuses along with their descriptions:

* **SLIPPAGE**: This status indicates that the order has hit its protection price.
* **OK**: The order was successfully processed without any issues.
* **EXPIRED**: The order has expired due [STP](/layerakira-documentation/integration/trading/order/self-trade-prevention-modes-stp-modes.md).
* **HIT\_SWAPS\_LIMIT**: The order has reached the maximum limit of swaps allowed.
* **MIN\_RECEIVE\_FAILED**: The minimum receive amount requirement has failed. This occurs when the amount received from a trade is less than the minimum acceptable amount specified by the user for his router taker order.
* **NOT\_ENOUGH\_LIQUIDITY**: There is not enough liquidity available to fulfil the order. This can happen if there are insufficient buy or sell orders in the market to match with the user's order.
* **GAS\_COST**: The order has failed due to high gas costs. Gas costs refer to the fees required to execute transactions on the blockchain. This error would indicated that outcome of trade cannot cover cost of trade deployment on chain (only applicable if receive token of trade is gas token)
* **FAILED\_VALIDATION:** The order has failed validation checks. This can occur if the order does not meet certain criteria.


---

# 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://layer-akira.gitbook.io/layerakira-documentation/integration/trading/matching-engine-status.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.
