# Auto Buy

## Auto Buy Resources (Energy & Bandwidth)

The **Auto Buy** feature enables you to purchase Energy or Bandwidth for a target address automatically. Instead of manually creating buy orders, the system will automatically place orders based on your pre-set configuration.

#### **Step 1: Connect your wallet**

Make sure your wallet is connected to the [Tronsave.io](https://tronsave.io/dashboard/buyer/buy-resource)

#### **Step 2:** Go to **Buyer → Buy Resource** tab

* Select **Energy** or **Bandwidth**.
* Under purchase type, choose **Auto**.

#### **Step 3**: Select the **Add Auto Buy Energy Rule** button

<figure><img src="https://1055070949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh0rlDWTk05Qu3lvB5Gve%2Fuploads%2FlGwh06GEzehyNQ5Oeowh%2Fimage.png?alt=media&#x26;token=a98bcf88-e722-4900-8918-78d238d7a6d6" alt=""><figcaption></figcaption></figure>

#### **Step 4:** Check internal Balance

<figure><img src="https://1055070949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh0rlDWTk05Qu3lvB5Gve%2Fuploads%2F9SKwhh1S8MU8zU5wS8OY%2Fimage.png?alt=media&#x26;token=16acad74-db84-41e3-a27f-55da16c657d6" alt=""><figcaption></figcaption></figure>

* Auto Buy requires payment from your **internal account balance** (not directly from your wallet).
* To fund your auto buy, simply click **Recharge** and deposit TRX into the address displayed.

#### **Step 5:** Configure **Auto Buy** Settings

* **Buy Order Settings** (applied each time an auto buy is triggered):
  * **Resource Target Address**: The wallet that needs Energy or Bandwidth.    &#x20;It cannot be a contract address or any other invalid address
  * **Amount**: The amount of resources to buy.
  * **Duration**: How long the resources will be rented.
  * **Price**: Choose Fast, Medium, Slow, or Manual price. (*Suggest choosing **Medium***)
* **Resource Buy Threshold**\
  The minimum resource balance. When the target’s Energy or Bandwidth falls below this threshold, the system automatically triggers a new order.
* **Duration Limit**\
  Decide when auto buy is active. You can set it to **Always** or configure a custom time range.
* **Budget Limit**\
  Define stopping conditions for auto buy:
  * **No Limit** – continue buying without restriction.
  * **Amount Limit** – stop auto buy once the total TRX spent reaches your set amount.
  * **Order Limit** – stop auto buy once the number of orders reaches your set limit.

👉 After saving, the system will automatically create buy orders whenever the target’s balance drops below the threshold until one of the budget limits is reached.

## Managing Auto Buy

Once an Auto Buy setting is created, you can manage it with the following actions:

<figure><img src="https://1055070949-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh0rlDWTk05Qu3lvB5Gve%2Fuploads%2F5CAntH2SEHmVYECFiWHC%2Fimage.png?alt=media&#x26;token=42525709-b53c-4a36-b5b6-9c9aa19f2325" alt=""><figcaption></figcaption></figure>

**\[ 1 ] Enable / Disable** – Temporarily stop or restart the auto buy without deleting the setting.

**\[ 2 ] Edit** – Change threshold, duration, price, or budget limits.

**\[ 3 ] Delete** – Permanently remove an auto buy setting.

**\[ 4 ] History** – View execution logs of past auto buy orders, including resource amount, duration, price, and TRX spent.

## 🧩 **Auto Buy – Q\&A**

**1. Which wallet does Auto Buy use for payment?**\
Auto Buy only uses the balance in your **internal account** for payments.

**2. When will Auto Buy be deactivated?**\
Auto Buy will automatically stop in the following cases:

* When the **Duration Limit** or **Budget Limit** is reached.
* When the user **manually inactivates** it.
* When the **internal account balance runs out**, the system will automatically set the running setup to *inactive*.

**3. What should I do if the system stops Auto Buy?**

* If Auto Buy stopped because it reached a limit (Duration or Budget), you can **edit the settings** and **reactivate** it, or create a **new Auto Buy setup**.
* If it stopped due to insufficient balance, **deposit more TRX into your internal account** and then **reactivate** the setup.
