explaingit

htx-trading-toolkit/htx-human-elite-copy-trading-bot

Analysis updated 2026-05-18

125TypeScriptAudience · generalComplexity · 3/5LicenseSetup · moderate

TLDR

A TypeScript bot that automatically copies trades from chosen expert traders on the HTX crypto exchange, using proportional sizing, a fixed ratio, or aggregate trader sentiment.

Mindmap

mindmap
  root((HTX Copy Bot))
    What it does
      Mirrors elite traders
      Futures positions
      Real time detection
    Copy modes
      Smart Copy
      Fixed Ratio
      Elite Sentiment
    Risk controls
      Stop loss
      Take profit
      Daily loss limit
    Tech stack
      TypeScript
      Node.js
      HTX API
    Use cases
      Automated copy trading
      Paper trading tests

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically mirror an experienced trader's futures positions on HTX without manually copying each trade

USE CASE 2

Test a copy trading strategy risk-free using paper trading before committing real funds

USE CASE 3

React to overall elite trader sentiment instead of following one specific person

USE CASE 4

Apply automatic stop loss, take profit, and daily loss limits to a copy trading strategy

What is it built with?

TypeScriptNode.jsZodPinoVitest

How does it compare?

htx-trading-toolkit/htx-human-elite-copy-trading-botmultichain-bot-lab/polymarket-copy-trading-botclarilayer/clarilayer
Stars125125124
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardeasy
Complexity3/54/53/5
Audiencegeneraldeveloperdata

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an HTX account with futures API access enabled for live trading.

Use, modify, and distribute freely, including for commercial purposes, as long as you keep the original copyright notice.

In plain English

HTX Human Elite Copy Trading Bot is a TypeScript program that automatically copies the trades of selected expert traders on the HTX cryptocurrency exchange, formerly known as Huobi. It works with USDT margined futures contracts, meaning it copies positions that use borrowed capital to amplify both gains and losses, rather than buying coins outright. The bot watches one or more chosen elite traders and copies their moves in one of three ways. Smart Copy sizes your trades in proportion to how much of their own funds the leader is using, so your exposure roughly matches theirs. Fixed Ratio copies a set percentage of whatever size the leader trades, for example always taking 10 percent of their position. Elite Sentiment does not follow a specific person at all. Instead it reacts to HTX's public data on what the overall pool of elite traders is doing, going long or short based on how many of them are buying versus selling. Before risking real money, the bot can run in paper trading mode, which simulates trades against a fake starting balance so a user can see how a strategy would have performed. It also includes several safety settings: stop loss and take profit percentages that close a position automatically, a maximum size per trade, a limit on how many positions can be open at once, and a daily loss limit that pauses copying if losses get too large in one day. To use it, a person needs Node.js installed and an HTX account with API access enabled for futures trading. Configuration happens through a single environment file where the user lists the trader IDs to follow, chooses a copy mode, and sets the risk limits. A command line interface lets someone validate their settings, list the traders they have configured, check current sentiment data, or run a single test cycle before starting the bot for real. The project is released under the MIT license, so it is free to use and modify. As with any automated trading tool, it carries real financial risk. The author warns that trading futures with borrowed capital can lose more than the amount originally invested, and recommends thorough paper trading before using real funds.

Copy-paste prompts

Prompt 1
Help me set up the HTX Human Elite Copy Trading Bot's .env file to copy trader IDs elite_alpha and elite_beta using Smart Copy mode.
Prompt 2
Explain the difference between Smart Copy, Fixed Ratio, and Elite Sentiment modes in the HTX copy trading bot and help me pick one for a conservative risk profile.
Prompt 3
Walk me through running the HTX Human Elite Copy Trading Bot in paper trading mode and interpreting the dry-run output.
Prompt 4
Add a Telegram notification hook to the HTX Human Elite Copy Trading Bot's copy engine that alerts me whenever a new position opens.

Frequently asked questions

What is htx-human-elite-copy-trading-bot?

A TypeScript bot that automatically copies trades from chosen expert traders on the HTX crypto exchange, using proportional sizing, a fixed ratio, or aggregate trader sentiment.

What language is htx-human-elite-copy-trading-bot written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Zod.

What license does htx-human-elite-copy-trading-bot use?

Use, modify, and distribute freely, including for commercial purposes, as long as you keep the original copyright notice.

How hard is htx-human-elite-copy-trading-bot to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is htx-human-elite-copy-trading-bot for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.