Automated trading system
Cryptocurrency Algorithmic trading bot
hamster-bot - trading bot with many strategies. It allows you to build your own automated trading system.
Supported Cryptocurrency Exchange Markets
| logo | name | my referral links | official partnership | status |
|---|---|---|---|---|
| BitMEX | bitmex.com/register/J3NsL2 | listing blog | 100% | |
| Bybit | partner.bybit.com/b/hamster_bot | listing | 100% | |
| Binance | accounts.binance.com/en/register?ref=293309339 | API broker | USDⓈ-M futures | SPOT | |
| FTX | ftx.com/#a=hamsterbot | listing | 100% | |
| Huobi Spot | htx.com.am/invite/en-us/1h?invite_code=sk74c223 | SPOT | ||
| Kucoin Spot | kucoin.com/ucenter/signup?rcode=rPY332Q | SPOT | ||
| Gate.io Spot | gate.io/ref/XlBBV1gL?ref_type=102 | TG, X, VK, T | SPOT | |
| Bitget | partner.bitget.com/bg/V3FCF8 | listing blog | SPOT FUTURES | |
| OKX | okx.com/join/12031019 | API Broker | Perpetual SWAP | |
| Phemex | phemex.com/ru/register?referralCode=G8XVE5 | blog telegram | SPOT | |
| BitMart | bitmart.com/register-referral/en?r=ABqQTU | API Broker | in progress | |
| MEXC | mexc.com/register?inviteCode=mexc-1tVqA | API Broker | SPOT | |
| BingX | bingx.com/invite/KWZYRU/ | USDT-M Perp Futures |
For purchase questions, please contact telegram @dreamcast2
4843
Number of orders executed by hamster-bot For:
| this day 2026-02-28 | last day 2026-02-27 | this month Feb | last month Jan | since 2022-02-18 | |
|---|---|---|---|---|---|
| All | 7543 | 7048 | 185634 | 184674 | 9985457 |
| 160 | 157 | 3771 | 4457 | 54259 | |
| 250 | 259 | 7075 | 5043 | 322918 | |
| 5 | 3 | 80 | 85 | 408913 | |
| 3570 | 4083 | 102959 | 114281 | 2993842 | |
| 0 | 0 | 14 | 375 | 333127 | |
| 20 | 5 | 432 | 290 | 109849 | |
| 0 | 2 | 66 | 147 | 752655 | |
| 0 | 0 | 0 | 0 | 1 | |
| 1 | 0 | 7 | 9 | 10178 | |
| 0 | 0 | 0 | 0 | 80280 | |
| 3537 | 2496 | 70408 | 58771 | 4907571 | |
| 1 | 43 | 823 | 1216 | 11865 |
Trading volume in $ USDT by hamster-bot For:
| this day 2026-02-28 | last day 2026-02-27 | this month Feb | last month Jan | since 2023-04-15 | |
|---|---|---|---|---|---|
| 118863.97 | 206409.65 | 3518584.89 | 2646966.98 | 601476628.85 | |
| 572681.93 | 383846.33 | 6222523.43 | 5268512.77 | 471335326.13 | |
| 39230.86 | 25897.36 | 1256086.34 | 823715.34 | 388973062.78 | |
| 40.12 | 27209.52 | 603968.48 | 588766.18 | 2818065.79 |
Any strategy
You can trade any strategy in hamster-bot - just leave a request through the form
-
It works like this:
- You have a great strategy and want to trade it in hamster-bot;
- Fill out the Google form. Ideally, if you have a tradingview pine script strategy code;
- Waiting for the execution of the application. Receive a notification of readiness;
- Trade fully automated according to your strategy in hamster-bot on exchanges: BitMEX,
FTX, Bybit, Binance, Huobi, etc.
Automated trading system hamster-bot
Download
Links to download the current version 2026/02/28 (the bot version numbering is just the date 2.025/07/29):
Download NEW Win Download previous version Win (+ recommended to install Dimension 4 or nettime for time sync on Windows)
Download NEW Linux Download previous version Linux
Download NEW macOS Download previous version macOS
- For all strategies, backtests are available to validate and tune settings on historical data. A precise tick-level strategy tester is also expected soon.
- Trade notifications in Telegram
- WEB interface for convenient monitoring and quick settings changes without logging into your server. You can open the bot’s WEB interface from anywhere in any browser by visiting the bot page at your server’s IP address.
- Cross‑platform. Native builds for any OS.
- Console interface for advanced users.
- Optimized for running many accounts and settings variants in a single bot. Stability tested with over
2000bots in one process. System resource usage is minimal. For example, a bot running five strategies on three accounts uses only70MB of memory. - Many trading strategies available.
- Trend
- Counter‑trend
- Breakout
- Mean reversion
You can trade any strategy in hamster-bot — just submit a request via forms.gle/RLVqNCjg4dtosqmF6
Instructions:
Video guides
- youtu.be/ADfdh_iZUzE Bot overview. Downloading hamster-bot and first launch on Windows
- youtu.be/jxb6aZQwtN4 Guide to installing and running the bot on a Linux server new
- youtu.be/FJgu7OfgUWU Guide to updating the bot on Linux new
- youtu.be/YVgCUQ3GBEk Guide to running on a Linux server
- youtu.be/PZZsaVI8psc Web interface (guide)
- youtu.be/tQ7TIpom3HM Simplified settings mode
- youtu.be/Pe2LP0cN7JU Update overview 2.0220309_1
- youtu.be/ekGf5L_UR-Y Update overview 2.0220411_1
- youtu.be/KBGoRhYPWjE Update overview 2.0220518_1
- youtu.be/6-oZ-Ub5uto Closing options setup: Take‑Profit, Stop‑Loss, Trailing Stop
- youtu.be/cCvdnAOJl7k Automated trading via TradingView Alerts Webhook URL in hamster-bot on 7 exchanges
- youtu.be/DrXzbYX25g8 OKX support added and watchdog refactored
VPS rental
VPS (VDS) is a virtual dedicated server.
For us, a VPS is a full computer in a provider’s datacenter. The provider ensures stable server operation and reliable internet connectivity. This is important for trading!
We will use a VPS to run the bot program. This is the most reliable way to run software that trades on exchanges.
Which configuration to choose: when renting your first VPS, you can pick the cheapest option. Its performance will be sufficient. The software is optimized and not resource‑hungry.
Example providers: zomro.com, contabo.com, melbicom.ru
If possible, use my referral link : zomro.com/vps?from=413202 Promo code: zomro_413202
The bot can run on Linux, macOS, and Windows.
Recommended OS versions
Ubuntu: 20.04, 22.04, 24.04
❗️Choose a server location outside the US (most exchanges block requests from the US). Europe and Asia regions are OK.
You get remote access to the rented computer (IP address, login — usually root — and password).
To connect to your Linux VPS, use SSH with termius (or putty)
Termius can also be installed on a smartphone. The free version is enough. (ignore all purchase prompts)
Guide to install, run, and update on Linux (CLI)
First, connect to your VPS via SSH using termius (or putty)
After you pay for the server, you receive the IP address, login (usually root), and SSH password.
Installing the bot on a Linux server is very simple thanks to ready scripts.
Just copy → paste → run the commands in the terminal.
INSTALLATION
The main requirement is a unique, free port
- 1. Create a new folder for the bot (in the example, folder hb1). This way you can install many bots in separate folders hb1, hb2...:
mkdir -p /opt/hb1 - 2. Enter the created folder:
cd /opt/hb1 - 3. Download and run the install_local.sh script:
wget -qO- https://raw.githubusercontent.com/ksandric/hamster-bot/refs/heads/master/install_local.sh | bash
This command downloads the install_local.sh script and runs it. (the script downloads → unpacks the zip → creates a .service in systemd) - 4. During the process, the script will ask for a port and will check if it is free
Done! The bot is installed in the hb4 folder and a service named hb4.serviece will be started.
The terminal will show the bot log in real time. You can proceed to add API keys and configure strategies.
UPDATE
When you have 2 or more bots running on your VPS:/opt/hb1
/opt/hb2
/opt/hb3
To update the bot in /opt/hb2, run the following commands in order:
- 1. Go to the target folder (example: hb2):
cd /opt/hb2 - 2. Download and run the update_local.sh script:
wget -qO- https://raw.githubusercontent.com/ksandric/hamster-bot/refs/heads/master/update_local.sh | bash
Done! Only the bot in /hb2 will be updated and restarted. The script automatically finds the service associated with the selected folder.
Additional information:
If you installed many different bots on your Linux VPS and can’t tell which .service belongs to which bot folder, use this command:
grep -rl "hb_c" /usr/lib/systemd/system/
This command lists all services that reference the executable hb_c (the bot binary). This helps you find the correct service and the folder it belongs to.
In the screenshot, there are 5 services but only (2) bot folders — meaning there are extra services.
If you use a folder name as the search string, you’ll get a list of services pointing to that folder:
grep -rl "/hb/" /usr/lib/systemd/system/
If you want to remove a bot service, run:
1. systemctl stop hb2.service - stop the hb2 service
2. systemctl disable hb2.service - disable the hb2 service
3. rm -rf /usr/lib/systemd/system/hb2.service - remove the hb2.service file
Previous installation guide. Detailed and up to date, but more complex
Video guide link: youtu.be/jxb6aZQwtN4
First, connect to your VPS via SSH using termius (or putty)
- Create a folder for the bot (example folder name "hb")
mkdir -p /opt/hb - Go to the folder
cd /opt/hb - Download the zip archive
wget https://github.com/ksandric/hamster-bot/blob/master/hb_linux-x64.zip?raw=true - If unzip is not installed, install it
sudo apt install unzip - Unpack the archive
unzip hb_linux-x64.zip?raw=true - Delete the zip archive
rm -rf hb_linux-x64.zip?raw=true - Make the file executable (the binary is hb_c)
chmod +x ./hb_c
After that you can run it with ./hb_c, but that is not suitable for the bot. You should create a service so the bot runs in the background and doesn’t stop when the terminal session ends.
- Go to the directory
cd /usr/lib/systemd/system/ - Create the hamster-bot_1.service file. You can create it with:
nano hamster-bot_1.service
(the name can be any, the format is always.service. You can create many services, but make sure the bots use different ports in their configs)
File contents: hamster-bot_1.service
[Unit]
Description=hamster-bot_1
After=multi-user.target
[Service]
Environment="DOTNET_BUNDLE_EXTRACT_BASE_DIR=%h/.net"
Type=simple
ExecStart=/opt/hb/hb_c
WorkingDirectory=/opt/hb
RestartSec=61
Restart=always
[Install]
WantedBy=multi-user.target
- Save changes and close the file with
Ctrl+x, then pressY, thenEnter - Run the commands:
systemctl daemon-reloadsystemctl enable hamster-bot_1.serviceapt-get updateapt-get install -y libfreetype6apt-get install -y libfontconfig1apt-get install -y fontconfigsudo timedatectl set-timezone UTC- Optionally install fail2ban:
apt-get install fail2ban - To open the port where the bot runs so the web interface is accessible by your server IP (example port 80):
iptables -I INPUT -p tcp --dport 80 -j ACCEPTufw allow 80- To start the service, run:
systemctl start hamster-bot_1.service - Done! The service is now available and will start automatically with the server (+ auto‑restart if it stops). To manage the service:
- View log in real time:
journalctl --follow -u hamster-bot_1.service - Check status:
systemctl status hamster-bot_1.service - Stop:
systemctl stop hamster-bot_1.service - Disable:
systemctl disable hamster-bot_1.service - Restart:
systemctl restart hamster-bot_1.service - After starting, to read the bot log in real time:
- Go to the folder
cd /opt/hb/logs - Open the log
tail -f log_date_here.log(general log + logs per strategy)
Previous update guide. Detailed and up to date, but more complex
Video guide link: youtu.be/FJgu7OfgUWU
First, connect to your VPS via SSH using termius (or putty)
Example service name: "hamster-bot_1.service".
Bot files folder: "/opt/hb"
- Stop the bot (stop the service)
systemctl stop hamster-bot_1.service - Go to the bot folder
cd /opt/hb - Download the zip archive
wget https://github.com/ksandric/hamster-bot/blob/master/hb_linux-x64.zip?raw=true - Unpack with file replacement (settings_program.json will be ignored)
unzip -u hb_linux-x64.zip?raw=true -x settings_program.json - Delete the zip archive
rm -rf hb_linux-x64.zip?raw=true - Make the file executable again
chmod +x ./hb_c - Start the bot
systemctl restart hamster-bot_1.service - Done! The bot will continue running with your settings. Everything is applied without closing positions or orders
If you replace bot files manually via FTP, don’t forget to make the executable file runnable: chmod +x ./hb_c
- After launching the bot using these instructions, it runs as a service (in the background and auto‑starts with the server + auto‑restart if it stops). To manage the service:
- View log in real time:
journalctl --follow -u hamster-bot_1.service - Check status:
systemctl status hamster-bot_1.service - Stop:
systemctl stop hamster-bot_1.service - Disable:
systemctl disable hamster-bot_1.service - Restart:
systemctl restart hamster-bot_1.service - After startup, to read a specific bot log in real time:
- Go to the folder
cd /opt/hb/logs - Open the log
tail -f log_date_here.log(general log + per‑strategy logs)
Run on macOS
Not sure why, but this option exists
- Download the archive https://github.com/ksandric/hamster-bot/blob/master/hb_osx-x64.zip?raw=true
- Unpack the archive into a
hbfolder on the Desktop - Open the terminal
- Go to the program folder and run
cd Desktop/hb - Make it executable
chmod a+x hb_c - Run the bot
./hb_c - Open your browser (Safari) and go to:
127.0.0.1
Telegram connection:
-
Getting a token to log in to the WEB interface
- After clicking "Get token", the token is sent by the Telegram bot @new_hamster_bot
- To receive a private message from the bot, start a chat with
/start - One‑time login token looks like this:
re0hcc4rIE6cYUI - Token validity = 24 hours from creation
- ⚠️ The message is sent to your Telegram ID. This ID must be set in
settings_program.jsonunder"telegram_id"(restart the app to apply changes) ⚠️ - Get your
"telegram_id"using the bot @fetch_id_bot
-
Receiving bot notifications in Telegram
- The chat ID to receive notifications must be set in
settings_program.jsonunder"id_chat" - Get the required
"id_chat"using the bot @fetch_id_bot. To get theid_chatfor a specific chat, add @fetch_id_bot to the chat and it will send the ID (for chats it’s a negative number). To get a channelid_chat, forward any post from the channel to @fetch_id_bot - (optional) You can set your own Telegram bot token in
settings_program.json:"bot_token": "",. But the WEB interface login token is sent only by @new_hamster_bot - For more flexible notifications, you can set a separate chat per strategy setting. In
"tg_notification"use the"id_chat"parameter
After starting the executable, the bot’s WEB interface is available locally at http://127.0.0.1:80. If the bot runs on a server, the interface will be available by your server IP on the port set in the config file.
Contacts: developer @dreamcast2 | latest news on Telegram channel | chat
Donate bitcoin address 1JjzXNVKdbPscPFMXNptgtTM9KekTiz63a
Donate USDT TRC-20 address $ TQrGSbDM2wqvRqrmZKryEZAaedDzTYEhnc