> For the complete documentation index, see [llms.txt](https://docs.unich.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unich.com/cashout-order.md).

# Cashout Order

Cashout Order becomes available once the buyer's and seller's orders have been matched.

## Cashout Order rules

Currently, Cashout Order feature on Unich Pre-Order OTC allows both buyers and sellers to exit their positions - only if they withdraw the full collateral for each order and the cashout price is equal to the original matched order price.

Cashout Order is only available during 12-hour Trading Time.

<figure><img src="/files/z9nA5B1yFq4XE0g9djAF" alt=""><figcaption></figcaption></figure>

## Cashout Order example

Here's a clearer example of Bob’s Cashout Order:

Previously, Bob (Buyer 1) and Alice (Seller 1) matched a pre-order trade with a volume of 100 USDC.

Bob's Trade Details:

* **Order Type:** Buy
* **Token Amount:** 100 $UN
* **Price:** 1 USDC
* **Trading volume:** 100 x 1 = 100 USDC
* **Collateral:** 5 USDC (5% of trade volume)

Normally, Bob would wait until Settlement Time to complete the trade. But for some reason, he wants to exit early - so he uses the Cashout Order feature.

The system now creates a sell order for Bob’s position, making him a seller. This new order appears on the Order Book with the same token amount and price as the original order.

**Bob's Cashout Order:**

* **Order Type:** Cashout Sell
* **Token Amount:** 100 $UN
* **Price:** 1 USDC
* **Trading Volume:** 100 USDC
* **Collateral:** 5 USDC

After that, Sam (Buyer 2) matches Bob's cashout order. Bob gets back his collateral, and Sam takes over Bob's position - continuing the obligation to Alice.

<figure><img src="/files/aYb0XvbiJRjwDo6awPvO" alt=""><figcaption></figcaption></figure>

Result: Bob exits early and receives 100% of his collateral (minus a trading fee of 0.125% of the trade volume).

Similarly, if Alice (Seller 1) wants to cash out, the system will automatically sell her position and create a new buy order on the Order Book. The process is the same as above.<br>

*Note: No fees are charged for Cashout Orders on Unich Pre-Order OTC. The 0.125% fee based on trade volume is deducted from the previous matched order.*
