Skip to content

Build a grid bot with an AI assistant: Claude and Prow

How to ask Claude to design a Hyperliquid grid or DCA bot: the prompt, what it decides, how Prow checks it, and why you start it yourself.

By the Prow teamPublished Updated 9 min read

On this page

You can ask an AI assistant to design a grid bot for you, but not to run it. Connect Claude to Prow with an API key, ask for a grid bot on a market with an amount, and the assistant reads the market, picks a range, a number of grids, a stop and a leverage, and checks them with Prow. Prow saves the result as a draft and gives you a link. You open it in Prow, read the settings, and start the bot with your own signature. The assistant never starts a bot and never touches an order.

This guide walks through one request from prompt to started bot, then lists what assistants get wrong. All prices and settings below are made-up examples, not advice and not a forecast. To connect Claude first, see Connect Prow to Claude, and to compare servers see Hyperliquid MCP server.

Before you start

You need a Prow key that has Build, pause and stop your bots ticked, added to Claude as a connector, and a funded Hyperliquid or Aster account. A key made before building was added cannot build: make a new one. Prow builds grid and DCA bots on Hyperliquid and Aster futures this way, grid and DCA bots on spot, and, while Prow has them on, Ladder, arbitrage, Funding and the spot hedge (see below).

A worked request

The prompt, as you could type it:

Look at BTC on Hyperliquid. Design a long grid bot with 100 USD, 2x leverage at most, in a range the price has respected recently. Check it with Prow, tell me the minimum investment, the profit per grid after fees and the stop loss, and save it as a draft.

What the assistant does with Prow's tools, in order:

  1. Reads the market. It asks Prow for the market's current price and its funding and fees.
  2. Reads the bot rules. It asks which bot types exist and what fields a grid needs, and gets an example already priced for that market.
  3. Chooses the settings. The range, the number of grids, grid spacing, the stop below the range, leverage and investment. This is the part where it is guessing: the assistant is a language model, not a forecaster.
  4. Checks them. Prow checks the settings against the market and answers with errors and warnings in plain words, plus the minimum investment, the profit per grid and an estimated liquidation price.
  5. Fixes and rechecks. If a check fails, the assistant changes the settings and asks again.
  6. Saves a draft. Prow stores the unstarted bot and returns a link.

Example settings an assistant might come back with, to show the shape of the answer and not a recommendation:

SettingExample value
MarketBTC on Hyperliquid, price 100,000 in this example
DirectionLong
Range94,000 to 106,000
Grids20, geometric
Stop loss91,000, below the range
Investment100 USD
Leverage2x

What Prow checks

The check uses the same rules as the create form in Prow, so the assistant cannot save settings the app would refuse. Among them:

  • Minimums. Every order must reach the venue's minimum, so a small investment spread over many grids fails, and the answer says what the minimum investment is.
  • Range. A grid range must be at least 2 percent wide, and the number of grids has limits on each venue (up to 150 on Hyperliquid and 100 on Aster).
  • Stop against price. A long grid needs its stop below the range, a short grid above it, a neutral grid both. A DCA stop must sit beyond the last extra order.
  • Leverage. From 1 to 5, and above 3 only on the deepest markets.
  • Liquidation. The answer includes an estimated liquidation price, so you can see whether it sits before or after the stop.

The check looks at the settings. It does not predict what the bot will earn. The assistant cannot send fees or change what Prow fills in itself. For the same settings explained for people, see Hyperliquid grid bot.

Open the draft and start it

The link opens Prow's create form with the settings filled in. Read them: range, grids, stop, investment and leverage. Prow checks them again when you press Continue, which can take a few seconds. Then you sign the bot's limits, the same as for a bot you built by hand. Until then nothing runs and no money moves. A draft you do not want can be deleted in Prow, or by asking the assistant.

A DCA variant

A DCA bot buys, adds more as the price falls, and sells on the bounce. A prompt that works:

Design a DCA bot for ETH on Hyperliquid, long, 100 USD, 1x. A base order of 20 USD and 4 extra orders of 20 USD, the first extra order 1.5% down, take profit 2% on each deal, and a stop that sits beyond the last extra order. Validate it and save a draft.

The things that fail are different: an extra order below the minimum, or a stop closer than the last extra order. Grid bot vs DCA bot explains which fits which market, and DCA bot covers the settings.

Spot, short and neutral grids

The assistant can also build on spot and in the other directions. A spot grid or DCA bot buys and sells the coin itself, so it is long only, at 1x. A prompt that works:

Look up the HYPE spot pair on Hyperliquid, design a spot grid with 200 USD in the range it has respected this month, check it and save a draft.

Short and neutral grids run on futures, and only on the deepest markets, the same rule as in the app. The check says so in plain words if a market does not allow them.

Other bot types

Arbitrage, Funding and the spot hedge are not saved as drafts, because Prow creates them only when you start them, with your signature on every leg. The assistant checks the settings with the same rules Prow's own form uses, then gives you a link that opens that form with the settings filled in. Nothing is saved, started or signed until you do it in Prow. The rates it reads for these bots are what the market pays now: they change within minutes, can turn negative, and are not a promise of what a bot will earn.

  • Arbitrage holds a long and a short on the same coin, between Hyperliquid and Aster or between Hyperliquid spot and its perp. It needs money already on each venue and, for the funding and price gap strategies, accounts on both. Try: "Show me the current arbitrage opportunities that a Prow bot can run, pick a coin and give me a link to the arbitrage form with 1,000 USD."
  • Funding holds coins on Hyperliquid spot and shorts the same amount on the perp, and collects the funding the short is paid while it is positive. It needs a Hyperliquid account on a unified balance. Try: "Show me the Funding bot modes and today's funding rates, and give me a link to the steady mode with 1,000 USDC."
  • Spot hedge shorts as many coins on the Hyperliquid perp as you hold. Try: "I hold 0.05 BTC. Check a spot hedge for it at 1x and give me the link."

A type that Prow has switched off in the app is not offered to the assistant either.

Good prompts and bad prompts

  • Good: names the venue and market, the amount you will risk, a leverage cap, and asks for the check results. "Tell me the minimum investment and the loss if the stop is hit."
  • Good: asks for a draft, not "start it". The assistant cannot start it anyway.
  • Bad: "Make me money on BTC." No amount, no limit and nothing to check.
  • Bad: "Use the highest leverage so it earns more." Leverage multiplies a loss as well.
  • Bad: pasting a post from a stranger and asking the assistant to follow it. Text you paste can contain instructions you did not write.

What assistants get wrong

  • Stale prices. A model may quote a price from memory or from an old page. Ask it to read the market from Prow in the same chat, and read the price on the form before you start.
  • Ranges that are too tight. A narrow range trades often but the price leaves it fast, and a long grid then holds the whole position. Prow rejects a range under 2 percent, but a 3 percent range passes and may still be too tight for a coin that moves 5 percent in a day.
  • Ignoring fees. A small grid step can be eaten by the fees of a round trip. The check returns profit per grid after fees: read it.
  • Too much leverage and a stop too close to liquidation. The check warns about some of these. It cannot know your risk appetite.
  • Sounding sure. The assistant will explain a choice with confidence whether or not it is right.

The checks catch rule breaks. They cannot tell a good idea from a bad one. Past price moves do not predict what a bot will do, and Prow's own tests found no bot type with a reliable edge, as the grid bot guide says. Use the assistant to save typing, not to decide your risk.

Limits

  • It builds every bot type Prow has switched on for you. Grid, DCA and Ladder are saved as drafts. Arbitrage, Funding and the spot hedge are handed over as a link that fills their form, because Prow creates them only when you start them. A type that is off in the app is off for the assistant too.
  • It cannot start a bot, change the signed limits of a running bot (stop loss, range, investment, leverage), place an order or move money.
  • It can pause and stop your bots if the key allows it. Stopping closes the position at the market price.
  • It does not run your settings on past prices.

To build the same draft from a script instead of an assistant, see Hyperliquid API trading bot without writing exchange code. To add stops and trailing exits, see Set a stop loss, take profit and trailing stop via API.

Prow's fee on trades is 0% until Dec 31, 2026, then 0.025% per trade, plus the venue's own fee. The connector and the key cost nothing.

Frequently asked questions

Can Claude run a trading bot for me?

It can design one and save a draft, then give you a link. You start the bot in Prow with your own signature. After that the bot runs on Prow's servers, not inside Claude, and Claude can pause or stop it, and make its take profit and trailing tighter, but it cannot change its stop loss, range or leverage.

Can ChatGPT build a grid bot with Prow?

Not yet. ChatGPT does not accept an API key header for a custom connector, so it cannot carry a Prow key.

Will the AI pick a profitable grid?

No one can promise that. The assistant chooses settings from what it reads. Prow checks that they are valid, not that they will earn. Many grids lose money when the price trends.

What if the assistant gets the price wrong?

Prow checks the settings against the market itself, and the draft opens with the live price on the form. If the range is far from the price, the check or the form shows it. Read the numbers before you sign.

Does it work on Aster and Lighter?

Bots can be built for Hyperliquid and Aster futures. The assistant can also read funding and fees on Lighter, but Prow does not run bots there.

Sources

Checked December 2, 2026: