A Hyperliquid trading bot you write in plain text
Say what you want in a few lines, watch the backtest update as you type, run it on paper, then live on Hyperliquid. No code to write and no template to bend to.
Write it the way you would say it
long BTC when rsi 14 < 30 on 1h, take 50% at +3%, rest at +6%, stop 2%, size $1000
Open in the editor, where it backtests as you type.
That is a complete strategy: buy when the hourly RSI drops under 30, take half off at +3% and the rest at +6%, and stop out 2% below the entry. The editor checks each line as you type, says what it cannot read, and draws the backtest on the venue's own candles.
More than one entry and one exit
A breakout with a trailing stop
long BTC when close > donchian upper 20 on 4h, trail 3%, stop 5%, size $1000
Open in the editor, where it backtests as you type.
The trail is parked at the venue and follows the best price since the entry, never back.
A pair on the spread between two coins
leg a = BTC leg b = ETH let z = zscore(log(close b / close a), 90) on 1d pair long b, short a size $2000 each when z < -2 and z > -3.5 exit when z > -0.5 stop when z < -3.5
Open in the editor, where it backtests as you type.
Funding carry across two venues
leg a = ETH on hyperliquid leg b = ETH on aster pair short a, long b size $5000 each when funding a - funding b > 0.01%/h for 3h exit when funding a - funding b < 0.002%/h or after 7d stop $250
Open in the editor, where it backtests as you type.
Copy a wallet, with limits
Copy another wallet's Hyperliquid perp fills as they come: scaled down, only the markets you name, within a cap per market and in total, and closed and halted if the copy loses more than you allow.
Risk is part of the language
stop 2%,stop at 80000andtrail 3%for exits that hold.slippage 0.05%sets how far from the price an entry may fill; one the book cannot fill there waits.max loss $50is the strategy's loss budget: reach it and everything exits and the strategy ends.liquidation $1000 past stoppicks the highest leverage that keeps liquidation that far beyond your stop, or does not enter.size $250 to $750 by roc 14 on 1h from 0% to 5%sizes each entry with the market.
Paper first, then live
Every strategy can run on paper on the runner before it touches money. Going live is a step you take on purpose, and one kill switch stops every strategy at once. Alerts reach your phone by web push.
The runner trades through an agent you create and approve. A Hyperliquid agent can trade but cannot withdraw, so your funds stay in your account.
Proof before size
Backtests split in-sample from out-of-sample, and the technical analysis panel judges a rule against luck, so you see whether an edge survives data it was not tuned on. Playbook's levers rerun the backtest a third tighter and a third wider on every stop, trail and take, so you see how fragile each number is.
Questions
Which venues can a strategy trade?
Backtests and paper runs read Hyperliquid, Lighter and Aster. Live runs trade Hyperliquid perps.
Do I need to code?
No. Every word of the language, with an example that runs, is in the editor's HELP.
Can I trade by hand as well?
Yes. The Hyperliquid trading terminal trades by hand, and any position you hold can be handed to a strategy.
The editor opens empty, or with any strategy above: each one's link opens it.
Open the strategy editor