To register on the HTX exchange, we recommend using the referral link:
🔗 https://www.htx.com/invite/en-us/1f?invite_code=joinmoonbot
Currently, the Moonbot terminal for HTX supports only spot market trading.
When using dedicated servers, it is recommended to choose the Tokyo (Japan) location.
Iceberg order mode is not supported.
The Pencil → Emulator and the BackTest functionality are not supported.
To enable an additional discount on fees in your HTX exchange account (see the image below), follow these steps:
-
Open an account on the HTX exchange;
-
Go to the My Fee Rates section;
-
In the Select fee rate discount block, choose the options:
-
Extra 25% OFF:
Reduce Spot Fees by Deducting HTX.
-
Extra 5% OFF:
Reduce futures fees with HTX deduction.
* This will be useful when trading futures via the exchange’s web interface, as the Moonbot terminal cannot currently be connected to HTX Futures.
Instructions for creating API keys in your HTX exchange account
Before creating API keys in your HTX exchange account, you must complete identity verification (KYC). Without completing KYC, API keys will not have permission to perform trading operations.
⚠️ Attention!
Up to 20 API keys can be created within one HTX account.
Do not share your API keys with third parties to prevent loss of assets. For security purposes, it is recommended to bind API keys to specific IP addresses. One API key can be linked to a maximum of 20 IP addresses or IP segments. You can specify one address or multiple addresses separated by commas. For example: 192.168.1.1,192.168.1.2,192.168.0.1/24.
An API key that is not bound to an IP address but has trading or withdrawal permissions will be automatically deactivated after 90 days of inactivity. With regular use, the validity period of the API key is automatically extended by 90 days from the date of last use.
To create an API keys:
-
In your HTX exchange account, open the API Management section.
-
Please read the information from the HTX exchange and click the Create API Key button.
"Note
You can use our robust API to access services, such as market data querying and automated trading. Read "API Documentation" to learn more.
Each account can create up to 20 API Keys.
Do not disclose your API Keys to prevent asset losses. For security reasons, it is recommended to link API keys to specific IP addresses. An API Key can be linked to a maximum of 20 IP addresses or IP segments. You may input a single IP address or multiple addresses directly, and separate different addresses with a comma. For example: 192.168.1.1,192.168.1.2,192.168.0.0/24
An API key not linked with an IP address but has trading or withdrawal permissions will be automatically deactivated after 90 days of inactivity. If used regularly, the API key's validity will be extended automatically for 90 days from the last usage".
-
In the Select API Key Type window, choose the top option System generated.
-
In the next step, in the Create API Key window, in the Notes* field enter any key name, for example MOONBOT — this is for your reference only.
-
Enable the Trade checkbox.
-
If necessary, bind the API key to an IP address or IP segment: in the corresponding field, enter one or more IP addresses separated by commas (no more than 20 IP addresses).
-
Click the Create HMAC API button, after which the Risk Reminder window will open.
-
In the Risk Reminder window, carefully read all items, check the required boxes, and click the I understand button.
-
In the Security Verification window (see image below), perform the following actions:
-
In the top field E-mail Verification Code, click the phrase Get verification code.
Receive the verification code via email and enter it in this field;
-
In the middle field SMS code, click the phrase Get verification code.
Receive the verification code via SMS and enter it in this field;
-
In the bottom field GA code, enter the code from the Google Authenticator app or its equivalent;
-
Click the Confirm button.
After that, the Successfully Create window will open with information about the created API key.
⚠️ Attention!
The API key will be shown only once and cannot be recovered if lost. Please store it properly.
To avoid loss of assets, do not disclose your Access Key or Secret Key to anyone.
If you forget your Secret Key, delete it and request the creation of a new key pair.
Copy the Access Key and Secret Key to a secure storage device (for example, a flash drive) or write them down on paper, then click the Confirm button (see image below).
How to activate API keys in the Moonbot PRO terminal for the HTX exchange
-
Copy the folder with your main PRO terminal for another exchange into a new folder and launch the terminal as administrator;
-
Go to Settings → Login, select HTX in the Exchange field, and click the Apply button;
-
In Settings → Login, register the API keys from your main account or subaccount of the HTX exchange;
-
To avoid manually monitoring the balance of HTX tokens used to pay trading fees, open Settings → Advanced → Engine Settings and enable the option Auto-purchase BNB.
For the HTX exchange, in this mode the terminal will automatically purchase HTX tokens (instead of BNB, as on the Binance exchange).In the adjacent fields, specify the minimum threshold amount of HTX tokens and the number of HTX tokens for auto-purchase;
-
In the lower right corner of the main Moonbot terminal window, click on PRO version to open the Moon Credits window with additional module activations;
-
In the Moon Credits window (see image below), the balance of your Moon Credits is displayed at the bottom.
Activating the main account or one subaccount of the HTX exchange requires 500 Moon Credits.
If the balance is sufficient, in the Activate API Key block click the Activate for 500 Credits button — the API keys of the selected account will be activated in this terminal;
-
If you need to activate additional subaccounts of the same exchange, repeat the procedure the required number of times.