Skip to content
Connecting market data
Connect wallet

How to set up a trading bot on Hyperliquid, step by step

Rivemont builds and runs trading bots in your own Hyperliquid account. The setup has three steps, Choose, Amount and Review, and you can do all of them, backtest included, before you connect a wallet.

Before you start

  • A crypto wallet (Rabby, MetaMask or a phone wallet through WalletConnect). No email, no password.
  • USDC in your Hyperliquid account, deposited with the same wallet. Rivemont never holds your money: there is no Rivemont deposit address.
  • Nothing else to install. Everything below happens at rivemont.xyz/bots/new.

Step 1: Choose the bot and the market

Open New bot. Each bot type has one line saying what it is best for: Grid for a sideways market, DCA for buying dips, Infinity grid for an uptrend, and more. Pick one, then the Hyperliquid market it trades (BTC in the example below). Not sure which one? The Bots page explains every type, what it is best for and its risks.

Step 2: Set the amount and pick a plan

Type the amount in USDC: the margin the bot may use. The page shows the minimum for that market and bot. Then pick one of three plans, each with its own 30-day backtest next to it:

  • Safe: calmer settings and lower leverage than the other two, fewer trades, smaller swings. Lower risk, not no risk: it can still lose money.
  • Balanced (recommended): sized to how the coin moved over the last 30 days.
  • Aggressive: tighter settings and more leverage than the other two, more trades, bigger gains and losses.

For a grid, the plan sets the range around today's price, the number of lines and the leverage. The range scales with the coin's own volatility: at BTC-like volatility, Balanced is about ±6% around the price and Safe about ±12%; a more volatile coin gets a wider range. Customize every setting opens every setting of the bot instead (for a grid: the range, the number of lines, their spacing, leverage, margin mode and its exits), each with a line saying what it is for.

Step 3: Review the bot and its backtest

The review shows the bot on the coin's real chart: the grid's top and bottom, its lines and where it would stop. Next to it:

  • Backtest, labelled Simulation: these exact settings run over the last 7, 30 or 90 days of Hyperliquid prices, with Hyperliquid's and Rivemont's fees and funding included. The result is split into its parts (grid profit, position P&L, fees, funding) and compared with simply buying and holding the coin.
  • Estimated liquidation, the loss at the stop loss, the fees per round and the leverage.
  • A plain-words summary of what the bot will do.

A backtest is a simulation on past prices: the bot reacts once per candle in the test, real fills can differ, and past prices do not predict future ones. It is a way to see how the settings behave, not a forecast.

Step 4: Connect your wallet and start

  1. Press Connect wallet and sign one message. Signing proves the wallet is yours; it costs nothing and moves no money.
  2. Connect Hyperliquid with two free signatures: a trade-only API wallet and the Rivemont fee cap. What each one allows and how to revoke it.
  3. Press Start. The bot places its orders in your Hyperliquid account.

A worked grid example

The numbers are made up to show the arithmetic; your own setup shows its real figures.

  • BTC at $100,000. A grid from $95,000 to $105,000 with 10 lines: one line every $1,000.
  • Amount $200 at 2x leverage: $400 of orders, about $40 on each line.
  • When the price drops to a line, the bot buys; when it rises one line higher, it sells. Each buy-then-sell earns about 1.05% of $40, about $0.42, before fees.
  • Fees for that round, both fills as resting (maker) orders: Hyperliquid 0.015% twice plus Rivemont 0.1% twice, on $40: about $0.09. About $0.33 is left per round. How the fee is calculated.
  • By default the grid stops when the price leaves its range; one switch makes it wait for the price to come back instead. Inside the range, the coins the grid holds gain or lose with the price: a grid that ends up holding a falling coin loses money, and its stop loss caps how much.

After it starts

  • My bots shows each bot's status, its orders, position and result.
  • Pause and resume it, or change its amount (the new amount applies to its next orders).
  • Stop it: close its position at market, or keep the position and manage it yourself.
  • Settings → Stop everything stops every bot at once and deletes Rivemont's exchange keys.

The risks

  • Bots can lose money. A bot trades exactly the rules you set, in any market.
  • Leverage brings the liquidation price closer; the review shows the estimate before you start.
  • Your money sits in Hyperliquid's smart contracts while it is there; Hyperliquid's own risks apply.

Set up a bot · Look around the demo · Bot types in the Help Center

More guidesWhat is a funding rate? A plain-English guideFunding-rate arbitrage: earn funding without betting on priceHyperliquid funding rates: how they work and how to use themIs Rivemont safe? How it works without ever holding your moneyHow Rivemont's trading fee is calculated on HyperliquidWallet permissions on Rivemont: what you approve and how to revoke it