fristork/hyperliquid-trading-bot — explained in plain English
Analysis updated 2026-05-18
Automate grid trading strategies on the Hyperliquid exchange without manual order placement.
Test trading strategies safely on Hyperliquid testnet before using real funds.
Configure custom risk rules like max drawdown and stop-loss for automated trading.
| fristork/hyperliquid-trading-bot | adrienckr/notslop | alchemz/solana-pumpfun-token-bundler | |
|---|---|---|---|
| Stars | 78 | 78 | 78 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | easy | hard |
| Complexity | 3/5 | 2/5 | 4/5 |
| Audience | developer | writer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Node.js 20.19+ and a Hyperliquid private key set via environment variables.
This is a grid trading bot for Hyperliquid, a decentralized perpetual futures exchange, written in TypeScript and running on Node.js 20.19 or newer. A grid trading strategy works by placing a ladder of buy and sell limit orders at evenly-spaced price levels around the current market price. When the price dips, buy orders fill, when it rises, sell orders fill. The bot automatically maintains this grid, profiting from price oscillation without needing to predict direction. This bot implements that strategy with geometric price levels (spacing that grows proportionally with price rather than staying fixed), and can optionally rebalance the grid when price drifts too far. You configure the bot through YAML files in a bots directory: which trading pair to trade, how many grid levels to create, what price range to cover, and risk limits such as maximum drawdown, maximum position size as a percentage of your account, and optional stop-loss and take-profit thresholds. The bot connects to Hyperliquid's official API using WebSocket for live mid-price feeds and the exchange API for placing and canceling limit orders. Both a testnet and mainnet environment are supported, and the README strongly recommends testing on testnet first. Built on the @nktkas/hyperliquid SDK, viem for wallet handling, and pino for structured logging.
A TypeScript bot that automates grid trading on the Hyperliquid crypto exchange, placing buy and sell orders at set price levels.
Mainly TypeScript. The stack also includes TypeScript, Node.js, @nktkas/hyperliquid.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.