# Smart Order

**Smart Order** is an optional feature that helps buyers maximize order matching for large Energy rental requests, even when the market cannot fully match the order at the time of creation.

## How to Create a Smart Order

1. **Enter your order details** in the Buy form:
   * **Amount**: Minimum **10,000,000 Energy**
   * **Duration**: Minimum **3 days**
2. Click the **"Advanced Settings"** button.

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

3. Tick the checkbox to **enable "Smart Matching".**

<figure><img src="/files/0IBlfXKgomVASHZQYflp" alt=""><figcaption></figcaption></figure>

## How It Works

When Smart Order is enabled:

1. Your order will be matched normally — the system will fill as much as possible based on available delegated Energy from sellers.
2. If the order is **not fully matched**, the system will **continue monitoring sellers who have already partially filled your order**.
3. If any of those sellers **regain enough Energy (minimum 100,000)** through TRX recharge or delegation:
   * The system will **automatically match more Energy** from them to your order.
   * The **duration** of this additional match will be from the current time until the **original expiration time** of your order.
   * You will receive a **refund** for the unused duration of the newly matched amount.

{% hint style="info" %}

* The actual duration is counted from **now until the unlock time**, so it may be **shorter than** your selected duration.

👉 **The missing duration will** **be calculated and refunded in TRX** automatically.
{% endhint %}

#### Example

You place an order for **10,000,000 Energy for 3 days**.\
Only **9,000,000** is matched initially. One day later, a seller who matched part of your order released **1,000,000 Energy**.

→ The system auto-matches that 1,000,000 for the remaining **2 days**.\
→ You receive a **refund for 1 day** (the unused portion) on that amount.

### Benefits

* Helps you get the full amount of Energy without manual tracking
* Makes use of sellers’ **regained Energy** without needing a new order
* Ensures fair refunds when the matched duration is shorter than requested
* Increases match success rates for large Energy requests

### Notes

* Smart Order **does not guarantee** full fulfillment, but improves the chances over time
* It only works with **sellers who have already matched part of your order** and **have regained at least 100,000 Energy**.
* Smart Order is **only active during the first one-third of the matched duration**.\
  → For example: If a seller matched for 3 days, Smart Order will only auto-match more Energy **within the first day**. After that, only regular matching applies.

### Refund Detail

* Click the "**My Order**" tab and choose the order detail
* Click the "**Refund**" tab

<figure><img src="/files/JHOLqw7IF8PR432imIZT" alt="" width="563"><figcaption></figcaption></figure>


---

# 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.tronsave.io/buyer/how-to-buy-energy-and-bandwidth/buy-on-the-website/smart-order.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.
