Build a crypto trading strategy with AI
Keel is an AI trading strategy builder for Hyperliquid's crypto perpetuals. Describe your idea in plain words and the AI builds it from blocks you can read and change. Keel backtests it with fees, slippage and funding, and when you're happy with it you run the same strategy live from your own Hyperliquid account.
Momentum + Funding Strategy on Hyperliquid
After trading fees, slippage and funding, on the default settings.
From an idea to a backtest
One strategy from the Keel library, taken from plain words to a result.
The idea, in plain words
“Every day, look at the most traded coins on Hyperliquid. Go long the ones with the strongest recent trend and short the weakest. Then lean away from coins where longs are paying a lot of funding, and toward coins where shorts are paying to hold.”
That is how a trader would say it. Below is the same idea as the library strategy Momentum + Funding Strategy on Hyperliquid, shown the way the Keel editor shows it.
The strategy, as blocks
Read it from the top. Price data comes in and splits into two branches. One ranks coins by their recent return. The other ranks them by funding, flipped so that cheap funding scores high. A combiner blends the two scores, and the last blocks turn the score into position sizes for a balanced long and short book. Switch to Code to see the same strategy as text.
Configuration
Globals(target_timeframe="1d", bar_offset="12h")
Universe(mode="top_volume", top_n=30, market="perp", resolved=["ADA", "AVAX", "BNB", "BTC", "DOGE", "DYDX", "ENA", "ETH", "FARTCOIN", "GRAM", "HYPE", "LINK", "LIT", "NEAR", "ONDO", "PAXG", "PUMP", "SOL", "SUI", "TAO", "TRUMP", "UNI", "VVV", "WLD", "XLM", "XPL", "XRP", "ZEC", "kBONK", "kPEPE"], resolved_at="2026-07-06T18:44:44.532321+00:00")
Execution(
rebalance="buffered",
buffer_threshold=0.2,
buffer_mode="relative",
rebalance_method="to_edge",
)
Pipeline([
PriceDataLoader(),
{
"momentum": [ROC(period=14), CrossSectionalZScore()],
"carry": [
FundingDataLoader(use_cache=True),
NegateTransform(),
CrossSectionalZScore(),
],
},
ForecastCombiner(weights={"momentum": 0.7, "carry": 0.3}),
ForecastScaler(avg_abs_target=10.0),
ForecastCapper(limit=20.0),
ForecastWeightNormalizer(target_leverage=1.0),
], name="momentum_funding_hyperliquid")
The backtest
Hyperliquid, Aug 2024 to Sep 2026, after trading fees, slippage and funding, on the default settings rather than the best run. A backtest shows how the rules behaved in the past, not what they will do next.
See the full backtest, monthly returns and every setting testedAn AI strategy builder for crypto perps
A crypto perp never closes. It trades through nights and weekends, and every hour longs and shorts pay each other funding, so a position held for a week carries a cost or an income a stock tool never models. Keel's AI builds the strategy for those markets, and every backtest charges trading fees, slippage and funding on Hyperliquid's own history. When the backtest looks right, Hyperliquid paper trading runs the same strategy forward on live prices before any money moves. How Keel works explains how one strategy runs in the backtest, on paper and live.
Describe it, check it, test it, run it
The AI does the building. You stay in charge of what the strategy does.
- 01
Describe the idea
Write it the way you would explain it to another trader: what to buy or short, when to get out, how big to go. You can also start from a strategy in the library and ask for changes.
- 02
Read and edit the blocks
The AI builds the strategy from Keel's 262 building blocks: market data, indicators, filters, ranking and position sizing. Each block sits on a canvas with its settings showing, so you can see exactly what the strategy will do. Change a setting yourself or ask the AI to. Every change is saved as a new version.
- 03
Backtest it with real costs
Keel runs the strategy over Hyperliquid price and funding history and charges fees, slippage and funding as it goes. You get the equity curve, the drawdowns and every trade. Ask the AI what drove a bad month and try a fix in the next version.
- 04
Paper trade, then run it live
Paper trading runs the strategy on live prices with no money at risk. When you are ready, connect your Hyperliquid account and Keel runs the same strategy you tested. Your money stays in your account. Keel can place trades there but can never withdraw.
Know what your strategy will do before it trades
There are a few common ways to automate a trading idea. They differ most in how much of the strategy you can see.
Writing it yourself in code
Full control if you can program. You also have to build the backtester, and funding or slippage often get left out. The live bot is usually a separate script from the one you tested, so the two can drift apart.
In Keel the backtest and the live run use the same strategy, with costs built in.
A ready-made bot
Quick to switch on, but the rules are hidden. When it starts losing you can't tell whether the market changed or the bot did, and many come with no backtest you can check.
In Keel every rule is a block you can open, and every change is a version you can backtest again.
A script from a chatbot
You get something that looks right in seconds. Checking that it handles funding, fees and position sizing is still your job, and it may call functions that don't exist.
In Keel the AI can only use blocks that exist, and you see a backtest before anything touches your account.
You decide what the strategy does. The AI helps you build it and test it, and live trading follows the rules you approved, exactly as written.
AI backtesting
AI backtesting means asking an AI to test a strategy for you and explain the result. On Keel the AI starts a real backtest on Keel's engine, over Hyperliquid price and funding history, with fees and slippage charged on every trade. It reads back the equity curve, the drawdowns and the trades, and can tell you which positions drove a bad month.
The AI does not make up the numbers. If you ask about a version nobody has tested, it starts a new run and waits for the engine. You can open every run in the app and compare versions side by side.
No-code trading bot builder
You don't have to write code to build your own trading bot here. You describe it, and the bot appears as blocks on a canvas: data, signals, filters, exits and sizing, each with its settings showing. Change a setting by clicking, or ask the AI to change it. That makes Keel a custom bot maker rather than a list of preset bots to rent.
When it is ready, the same bot paper trades on live prices and then runs from your own Hyperliquid account. There is a code view for anyone who wants it.
AI trading strategy generator
If you don't have an idea yet, the AI can generate one. Ask it for a few strategies that suit a market or a style, such as trend following on the big coins or a balanced long and short book, and it proposes rules you can read before anything is built. Pick one, and it builds and backtests it.
Think of it as a trading assistant that writes strategies, not one that tells you what to buy today. Every idea it generates is a set of rules you can test, change or throw away.
Build it from Claude or ChatGPT
If you already work through ideas in Claude or ChatGPT, connect Keel to it and ask there. The assistant finds the right blocks, builds the strategy, runs the backtest on Keel and gives you a link to the result.
The agent builds, tests and reads. When you want to run a strategy on your account, it hands it to the Keel app and you take it from there.
The agents page has the setup for Claude, ChatGPT and the coding assistants.
Can I build a trading bot without code?
Yes. You describe the idea in words, and the strategy appears as blocks on a canvas: data, indicators, filters and sizing. You change settings by clicking or by asking the AI. There is a code view if you want it, but you never have to use it.
How does the AI generate the strategy, and can I change it?
It works from Keel's 262 building blocks, each with known inputs, outputs and settings, and checks that they fit together before you see the result. It can't invent an indicator or a setting that doesn't exist. You can change anything: edit a setting on the canvas, ask the AI, or edit the code. Each change is saved as a new version, so you can compare backtests.
Can AI backtest my strategy?
Yes. Describe your entry, exit and sizing rules, and the AI rebuilds them from blocks and runs the backtest. If a rule needs something Keel doesn't have yet, it tells you instead of guessing.
How realistic is the backtest?
Every backtest charges trading fees and slippage on each trade and applies Hyperliquid's real funding payments to every open position. It is still a simulation. Fills are modelled, and past results don't predict future ones. Paper trading on live prices is a good next check before real money. How Keel works explains how the backtest and the live run use the same compiled strategy.
Which markets does it support?
Hyperliquid's crypto perpetual futures, such as BTC, ETH, SOL and HYPE. Stock and index perps are HIP-3 markets, and Keel doesn't support them yet. Support is coming soon.
Can I run it live, and who holds my money?
Yes. You connect the wallet you use on Hyperliquid and sign once to let Keel trade. Your money stays in your own Hyperliquid account. Keel can place trades there but can never withdraw, and you can pause a strategy at any time. The AI never places trades itself. The strategy you approved does, on the schedule it was built with.
Can I use ChatGPT or Claude to build it?
Yes. Connect Keel to Claude or ChatGPT and ask there. The assistant finds the blocks, builds and backtests the strategy on Keel, and gives you a link to the result in the Keel app. The agents page has the setup for each assistant.
What does it cost?
Starting is free. The free plan lets you build and backtest strategies, paper trade one strategy and run one live on a timeframe of 1 hour or slower, with a 5 basis point fee on live trades. Paid plans start at $49 a month and lower that fee. The pricing page has the full limits.
Describe your first strategy
Starting is free, and you see the blocks and the backtest before anything trades.