by byttrade
Free crypto trading bot by BYTtrade: 4 backtested 4h trend-following strategies for perpetual futures, reproducible backtest, web panel, 11 exchanges, AI-agent API. Demo first. High risk.
# Add to your Claude Code skills
git clone https://github.com/byttrade/free-crypto-trading-botGuides for using ai agents skills like free-crypto-trading-bot.
free-crypto-trading-bot is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by byttrade. Free crypto trading bot by BYTtrade: 4 backtested 4h trend-following strategies for perpetual futures, reproducible backtest, web panel, 11 exchanges, AI-agent API. Demo first. High risk. It has 56 GitHub stars.
free-crypto-trading-bot's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/byttrade/free-crypto-trading-bot" and add it to your Claude Code skills directory (see the Installation section above).
free-crypto-trading-bot is primarily written in Python. It is open-source under byttrade on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh free-crypto-trading-bot against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Risk warning and disclaimer. This is high-risk trading: perpetual futures can lose your entire deposit. BYTtrade is not responsible for the results you get or for any losses. Backtest and paper-trading results do not guarantee future returns. Nothing here is investment advice. You act at your own risk. The software comes without any warranty; see sections 8 and 9 of the LICENSE.
It is for people who want to try systematic trading on a demo account and check a backtest themselves. It is not for anyone who expects a guaranteed income: read the limitations first.
pip (Python 3.10+), or uvx without installing anything:
pip install 'free-crypto-trading-bot[live]'
free-crypto-trading-bot panel # open http://127.0.0.1:8790
uvx --from 'free-crypto-trading-bot[live]' free-crypto-trading-bot panel
Docker:
curl -O https://raw.githubusercontent.com/byttrade/free-crypto-trading-bot/main/docker-compose.yml
docker compose run --rm bot panel-user # once: the login of the panel
docker compose up -d # open http://127.0.0.1:8790
From source:
git clone https://github.com/byttrade/free-crypto-trading-bot && cd free-crypto-trading-bot
pip install -e '.[live]'
python -m trend4h panel
In the panel: add the API keys of a demo account in Settings, look through Strategy, press Start. The guide covers every step, from creating keys to Docker and running on a server.
The command has three names that do the same: free-crypto-trading-bot, trend4h and python -m trend4h.
trend4h is the internal name of the project: the Python package and the name the LICENSE uses. Keys, settings,
state and downloaded data are kept in the folder you run the command from.
Only want the backtest? No keys and no account are needed:
pip install free-crypto-trading-bot
free-crypto-trading-bot fetch # public Binance data, about 3 minutes, 11 MB
free-crypto-trading-bot report # all four strategies on both periods
| Overview | Strategy |
|---|---|
| State, time to the next 4h bar, balance, result, open positions and last trades. | Strategies, coins, position size, limits. The panel says so when the settings differ from the research. |
| Exchange keys | Your AI agents |
|---|---|
Keys go to .env on your machine and are never shown again. |
Tokens with read or demo-control rights. |
| Journal | Start dialog | On a phone |
|---|---|---|
Demo data in every picture.
20 large Binance USDT-M perpetuals, 4h and 1d candles. PF is gross profit over gross loss; Σ R is the total result in units of risk per trade; drawdown is in % of capital at 1 % risk per trade. The results come in two parts: the periods the rules were chosen on, and an earlier period the choice never saw.
Rules were searched on 2023-01-01 … 2025-06-30 (selection). 2025-07-01 … 2026-06-30 is called verification, but it is not a blind test: results on it also took part in choosing these four strategies from about 3 000 variants.
| Strategy | Period | Trades | PF | Σ R | Drawdown, % |
|---|---|---|---|---|---|
Supertrend + daily EMA50 (st4h_ema50_1d) |
selection | 839 | 1.33 | +180.6 |