# Order-book

## **DNA Purchase (Order-Book)**

1. Users select the DNA of the Alt they wish to purchase. If the desired Alt is not visible, search for the Alt's name under ‘Home’ - ‘Popular Alt’ - ‘See All’.

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

2. In the DNA order window, select ‘Limit Order’ as the order type. Clicking on the desired purchase price in the order-book will automatically enter the price in the buy order window. You can also manually enter the desired price.

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

*📍 The minimum order amount for order-book trading is 500 KEY, and the maximum order amount is limited to 10,000,000 KEY. The fee is calculated as: Total Fee = Executed Amount (= Order Quantity x Order Price) x Trading Fee Rate (= 1%).*

3. For the purchase quantity, select ‘Max’ if you want to use your entire balance, or manually enter an amount or select from the 25%, 50%, or 75% options to buy a portion. After entering the price and quantity, click the ‘Buy’ button.

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

4. Review the buy order details and click the ‘Buy’ button again to submit the limit order. Note that since it's a limit order, if you enter a price lower than the current market price, the order will not be executed immediately. It will only be executed when the market price drops to your specified price. You can check your order details under the 'DNA' tab - 'Open Orders'.

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

*🌟 If you select ‘Market Order’ as the order type and enter the quantity before clicking the ‘Buy’ button, your purchase order will be executed immediately at the current market price.*

***

## **DNA Sale (Order-Book)**

1. Under the 'DNA' tab - 'Owned', select the DNA of the Alt you wish to sell.

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

2. After selecting 'Limit Order' as the order type, enter the price and quantity, then click the 'Sell' button to submit the sell order. When placing a sell order, if you enter a price above the current sell order-book, your order will be placed as a limit order. If you enter a price below the current buy order-book, your order will be executed immediately as a market order. After entering the price and quantity, click the 'Sell' button.

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

*🌟 If you select ‘Market Order’ as the order type and enter the quantity before clicking 'Sell' button, your sell order will be executed immediately at the current market price.*

3. Review the sell order details and click the 'Sell' button once more to submit the limit order. You can check your order details under the 'DNA' tab - 'Order Details'.

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

***

## **Order Cancellation**

When placing a buy or sell order using a 'Limit Order,' the order will not be executed until the market price reaches your specified price. You can view any unexecuted orders under the 'DNA' tab - 'Open Orders'. If you wish to place a new order at a different price or cancel an existing order, select the order and click "Cancel Order" to cancel it.

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

*🌟 Once an order has already been executed, it cannot be canceled. For more detailed information about order cancellation, please refer to the* [*Order Cancellation*](/user-guide/dna-trading/order-rejection-and-cancellation.md) *section.*


---

# 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.alt.town/user-guide/dna-trading/orderbook-buy.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.
