Analysis updated 2026-05-18
Run an automated trend-following strategy on a single Bybit perpetual futures pair.
Practice with dry-run mode to see trading signals before any real order is placed.
Test the strategy on Bybit's testnet with fake funds before switching to mainnet.
Tune EMA, ADX, and ATR parameters to change how the bot detects trends and sizes positions.
| vtraha/bybit-trading-bot | shadowspread/polymarket-auto-trading | rasoir0591/crosshair-x | |
|---|---|---|---|
| Stars | 252 | 252 | 251 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | hard | moderate | easy |
| Complexity | 3/5 | 3/5 | 1/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires Bybit API keys and, for live trading, real funds on a USDT-margined perpetual futures account.
This is an automated trading bot for the Bybit cryptocurrency exchange, designed to trade USDT-margined perpetual futures contracts. Perpetual futures are a type of derivative that lets traders bet on whether the price of a coin like Bitcoin or Ethereum will go up or down, without owning the actual coin. The bot is written in TypeScript and is intended to run continuously in the background, checking prices and placing trades according to a set of technical rules. The core strategy follows what is called trend-following: the bot looks at recent price history to decide whether the market is trending up or down, then opens a position in that direction. It uses three technical indicators to make decisions. The first is an EMA crossover, which compares two moving averages of different lengths to identify direction. The second is ADX with directional movement, which measures whether a trend is strong enough to trade or whether the market is just moving sideways. The third is ATR, which measures recent price volatility and is used to set stop-loss distances and calculate how large each position should be relative to the account. The bot has a dry-run mode that shows what trades it would make without placing any real orders, and it supports Bybit's testnet (a practice environment using fake money) before trading with real funds. The README is notably thorough and beginner-friendly, walking first-time users through every step from installing Node.js and cloning the repository, to creating API keys on Bybit, running in dry-run mode to see signals, then testnet trading, and finally switching to live trading. It explicitly warns users to never skip the practice stages. Configuration is done through an environment file where users set their API key, which trading pair to use, the lengths for the two moving averages, and risk parameters like how much of the account to risk per trade. The bot requires Node.js 20 or newer and a Bybit account with API access. The README carries a clear disclaimer that this is research software, not a product with guaranteed returns, and that cryptocurrency derivatives carry significant risk. The full README is longer than what was shown.
A beginner-friendly TypeScript trend-following bot for Bybit perpetual futures, using EMA, ADX, and ATR indicators with dry-run and testnet safeguards.
Mainly TypeScript. The stack also includes TypeScript, Node.js.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.