---
id: document_item.recommendations-for-terminal-setup-for-autotrading
page_type: documentation_article
title: "Recommendations for Terminal Setup for Autotrading on Servers"
description: "Recommendations for running Moonbot autotrading on servers, including VDS optimized mode, pagefile configuration and settings that reduce resource usage."
section: documentation
category: "Strategies / Strategy Usage"
url: https://moonbot.pro/documentation/strategy-usage/recommendations-for-terminal-setup-for-autotrading?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/documentation/strategy-usage/recommendations-for-terminal-setup-for-autotrading?format=md
alternate_zh: https://moonbot.pro/zh/documentation/strategy-usage/recommendations-for-terminal-setup-for-autotrading?format=md
parent: https://moonbot.pro/documentation/strategy-usage?format=md
previous: https://moonbot.pro/documentation/strategy-usage/features-of-short-strategy-settings?format=md
next: null
status: published
updated_at: 2026-11-18T00:15:13+03:00
---

# Recommendations for Terminal Setup for Autotrading on Servers

1. Open **Menu → System Settings** and in the **System Settings** window:
   1. Enable the **VDS optimized mode** checkbox — this option conserves server resources by reducing memory and CPU usage for chart rendering, allowing more resources for algorithm execution.
   2. It is strongly recommended to set a fixed pagefile size of **4096 MB** on the server.
      1. **Manual setup:**\
         Click the **Set PageFile - Control Panel** button to open the **System** **Properties** window. In the Performance section, click **Settings**…, then go to the **Advanced** tab and click **Change**… in the **Virtual** **memory** section. Uncheck **Automatically manage paging file size**, select the drive (usually C:), choose **Custom** **size**, and enter:
         1. Initial size (MB): 4096
         2. Maximum size (MB): 4096
         3. Click **OK** and reboot the server.
      2. **Automatic setup:**\
         Click the **Set PageFile - Registry** button. If the terminal is not run as administrator, a message will appear: "*Please run the bot as Administrator!*" — close Moonbot, right-click the **MoonBot.exe** file and select **Run as administrator**. Then open **System Settings** again and click **Set PageFile - Registry**. The pagefile will be set to 4096 MB. Reboot the server.
   3. It\\s recommended to enable Windows **Auto-login**: enter your Windows account name in the **Login** field and the password in the **Password** field, then click **AutoLogin**. If you need to reset the **AutoLogin** settings in Windows, click on the **Reset AutoLogin** button.
   4. To launch Moonbot automatically with Windows startup, click **Autostart** **on windows startup**. Reboot the server to confirm — the terminal should start automatically.
2. Be sure to disable **Windows Updates and Windows Defender** on the server to prevent unexpected shutdowns of the terminal during updates. Otherwise, active orders will remain on the exchange without Moonbot control.
3. Disable **Automatic Daylight Saving Time** or set the time zone to **UTC** with time format in UTC.
4. If using the **MoonShot** strategy with a narrow price range (up to 0.5% between **MshotPriceMin** and **MshotPrice**), set the parameter **MShotAddDistance=50**, and also **MShotUsePrice=Trade** — prices for order adjustment will be based on the last trade, enabling faster response, which is especially useful for futures trading.
5. For fast-trading strategies — **MoonShot** with narrow spacing, **MoonStrike**, **Drops** with low drawdown — it is recommended to use a non-zero **HFT** value (an integer) in the **Buy** **conditions** tab.

   **How it works:**\
   The **HFT** parameter sets the time window (in milliseconds) during which an order is considered valid. If **HFT=0**, the order remains active until filled, canceled manually, or by the strategy.

   **Why it's needed:**\
   On servers with occasional high ping, order commands may reach the exchange too late. A short **HFT** window ensures that outdated orders are rejected, avoiding unfavorable executions.

   **Example:**\
   On **Vultr** servers with a 10–20 ms ping, you can set **HFT=100**. If the exchange rejects orders, increase to 200–300 ms. If an order with **HFT** is rejected, Moonbot will notify you via Telegram. You can configure the frequency of such reports in **Settings → Advanced → Remote**, under **Send System reports not more than once a minute**.
6. **AutoStart** Tab Settings
   1. Enable the **Auto stop on API** errors option. Set the error threshold to **3–4** using the slider. Below, enable the **Restart not earlier** checkbox and set the interval to **20 minutes** — the minimum time before restarting;
   2. Additionally, you may enable the **Auto stop by ping** parameter — triggers auto-stop when ping exceeds a defined threshold. We recommend setting this to **100 ms or higher**, depending on your server’s capabilities.

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [Documentation](https://moonbot.pro/documentation?format=md) / [Strategies](https://moonbot.pro/documentation/strategies?format=md) / [Strategy Usage](https://moonbot.pro/documentation/strategy-usage?format=md) / Recommendations for Terminal Setup for Autotrading on Servers

Parent section: [Strategy Usage](https://moonbot.pro/documentation/strategy-usage?format=md)

Previous: [Features of SHORT Strategy Settings](https://moonbot.pro/documentation/strategy-usage/features-of-short-strategy-settings?format=md)
