# How to automate a Hyperliquid strategy without writing code

November 1, 2026 · https://f.xyz/blog/automate-a-hyperliquid-strategy-without-code

Describe the rules in chat. fxyz writes the bot, runs it on paper money against the live market, and runs it on your account when you're ready. Grids, market making, funding arb, TWAP and more.

Running a strategy on Hyperliquid usually means writing code, hosting it, and handling restarts, rate limits and errors. On fxyz you describe the strategy in chat and click Run.

## What you can build

| You want to… | You get |
|---|---|
| Quote both sides of a book | a market-making bot |
| Buy and sell in a range | a grid bot |
| Earn the funding gap between venues | a funding-arb bot |
| Trade the spread between two venues | a cross-venue spread bot |
| Keep a mix at fixed weights | a rebalancing bot |
| Follow trends | a momentum bot |
| Fill a big order slowly | a TWAP, iceberg, scale-in or DCA recipe |
| Enter with a take-profit and stop in one go | a bracket recipe |

## Bots and order recipes

There are two shapes, and the chat picks the right one from what you ask:

- A **bot** runs until you stop it. If fxyz has to restart it for any reason, it resumes by itself.
- An **order recipe** does one job and exits. It appears on the trade page's order form next to Market and Limit. Choose it, fill in its settings, submit, and watch each child order fill.

## Step by step

1. Open a new chat and describe the rules: *"Grid on HYPE between 30 and 40, 20 levels, $50 per level, stop if price leaves the range."*
2. fxyz writes the code in your own workspace. Read it, or just ask for changes.
3. Flip **Paper** and click **Run**. The bot trades $10,000 of paper money against the live order book. Logs stream as it runs.
4. When it behaves the way you want, flip to **Live**, start small, and click Run.

## Paper mode is the live market

Paper mode reads the same prices, funding and depth as a live run. Only the fills are simulated, matched against the live book. It shows if the logic works. It can't show how your real orders would move the book.

## Your money stays on your exchange

Bots trade with a trade-only key on your own account. The AI that writes the code is not allowed to write withdrawals or transfers, and fxyz's exchange clients don't have them. More in [An AI that trades for you but can't withdraw your money](/blog/ai-trading-bot-that-cant-withdraw).

## Or start from someone else's

Public bots, recipes and dashboards are on [Discover](/dashboard/discover). Copy one and it runs on your own account.

<a class="cta" href="/create">Describe a strategy</a>

## Questions

### Do I need to know how to code?

No. You describe the rules in chat and fxyz writes the code. You can read the code and ask for changes in plain words.

### What is the difference between a bot and an order recipe?

A bot keeps running until you stop it, like a grid or a market maker. An order recipe (an executor) does one job and stops, like a TWAP or an iceberg order, and you start it from the order form on the trade page.

### Can I test a bot before using real money?

Yes. Paper mode runs the bot on live prices and order books and simulates only the fills. It starts with $10,000 of paper money and never touches your exchange account.

### What happens if fxyz restarts while my bot runs?

A bot is resumed automatically. It stays off only when you stop it or it stops itself (for example, a stop condition fired).

### Which exchanges does it support?

Hyperliquid, Lighter, Lighter (Robinhood), Pacifica, Backpack and Binance.
