Welcome to our new support center! Some articles may still be missing; they will be added shortly. For the old support documentation go to https://support.altrady.com. If you have questions, open a new ticket here. New tickets on support.altrady.com won’t be answered; existing tickets will be finalised there.

Altrady Support Altrady Support

Connect HTX (Huobi)

Connecting your HTX (Huobi) account lets Altrady read your balances and place trades on your behalf. You’ll create an API key on HTX, then paste it into Altrady. It only takes a few minutes.

You’re always in control. Altrady only ever needs Trade permission. Never enable withdrawal permission on the API key you create; Altrady doesn’t need it, and you should never grant it to any trading app.

Not sure what an API key even is? Have a quick read of API Keys Explained first; it makes the rest of this much easier to follow.

Step 1: Log in to HTX

Open the HTX (Huobi) website in your browser and log in to your account.

Huobi login page🔍 Click the image to see a larger version

Step 2: Open API Management

Click the profile icon in the navigation bar, then select API Management.

Selecting API Management from the HTX profile menu🔍 Click the image to see a larger version

Step 3: Create a new API key

You’ll be taken to a new page.

  1. Add a Note if you’d like (this just helps you recognize the key later).
  2. You can leave the IP address field empty for now; you’ll add it later, once the key is in Altrady.
  3. Click Create.

Creating a new API key on HTX🔍 Click the image to see a larger version

Step 4: Confirm by email

A pop-up will ask for an email verification code to confirm the request.

Check your inbox, copy the code, paste it into the pop-up, and click Confirm.

Email verification pop-up on HTX🔍 Click the image to see a larger version

Adding an IP whitelist gives your API key extra security, and, as a bonus, it means the key won’t expire.

Now switch over to Altrady to get the IP addresses you’ll need:

  1. In Altrady, go to Settings > Exchange account API keys.
  2. Click + Connect Account.

The + Connect Account button on the Altrady API keys page🔍 Click the image to see a larger version

  1. From the dropdown, select HTX.

Selecting HTX from the exchange dropdown in Altrady🔍 Click the image to see a larger version

  1. Click the copy icon to copy Altrady’s IP addresses to your clipboard.

Copying Altrady’s IP addresses🔍 Click the image to see a larger version

Now back on HTX:

  1. In Permission settings, tick Trade.
  2. Paste the copied IP addresses into Link IP address or IP segment (optional).
  3. Click Create.

Ticking Trade permission and pasting the IP whitelist on HTX🔍 Click the image to see a larger version

Step 6: Verify again

A “Security Authentication” message appears. Click Send code, copy the code from the email you receive, and paste it in. If you have 2FA set up, enter that code too. Then click Confirm.

Step 7: Copy your API and Secret key

A pop-up shows your API key and Secret Key. Copy both; you’ll paste them into Altrady in a moment. Click Confirm, then head back to Altrady.

HTX pop-up showing the API key and Secret key🔍 Click the image to see a larger version

Step 8: Paste your keys into Altrady

Back in Altrady, paste the API key and Secret key into the fields under API key #1.

Pasting the API key and secret into Altrady under API key #1🔍 Click the image to see a larger version

HTX applies fairly strict rate limits. To keep things running smoothly, it helps to connect a second API key to the same account in Altrady:

  1. Create another API key on HTX, using the exact same method as above.
  2. Paste that new API key and secret into the fields under API key #2.
  3. You can always add more keys later: click Edit next to the account on the API keys page, create a new key on HTX, click + Add extra key, and paste the details.
  4. Click Connect.

Adding an extra API key in Altrady🔍 Click the image to see a larger version

Step 10: Click Connect

Clicking Connect in Altrady🔍 Click the image to see a larger version

Step 11: Click Next

Clicking Next to finish the connection🔍 Click the image to see a larger version

That’s it: your HTX (Huobi) account is now connected to Altrady. You can edit the connection anytime from the API keys page.

Successful HTX connection confirmation🔍 Click the image to see a larger version

Balances not showing up yet?

If your balances haven’t updated from the exchange, that’s usually just a quick refresh away; see the steps in Connection Problems.

Having trouble?

If your account won’t connect or balances aren’t syncing, check Connection Problems for the fix.

Was this article helpful?