Trading prompts

Trading prompts that end in a backtest

The trading prompts that work ask an AI for a rule you can test, then test it. Below are prompts for ChatGPT, Claude, Gemini or any other assistant, grouped by job: finding an idea, turning it into a rule, backtesting it, checking it for overfitting, sizing it and reviewing what is running. The ones marked Needs Keel run a real backtest once your assistant is connected to Keel over MCP.

By Keel Research Team
Updated October 18, 2026
Build it from Keel's blocks
Needs Keel

Using Keel, find the components for these rules and build them as a strategy: [rules]. Show me which blocks you used, and tell me anything you could not express instead of approximating it.

The prompts

Trading prompts, by job

Square brackets mark what you fill in. Prompts marked Needs Keel run on Keel once your assistant is connected; the rest work in any chat.

Find an idea

Start with ideas that have a reason to work. An idea you can explain is one you can test and later trust.

  • Ideas with a reason behind them

    Any chat

    I trade crypto perpetual futures on daily bars. Give me five strategy ideas that each have a clear reason to work, such as trend following or funding carry. For each one, give the reason in one sentence, the market where it tends to fail, and the data it needs.

    A good answer: Each idea comes with a reason and a failure case. Ideas that need data you don't have are flagged, and no returns are quoted.

  • Make my idea specific

    Any chat

    Here is an idea I have: [describe it]. Ask me questions, one at a time, until it is specific enough to test: which coins, which timeframe, when to enter, when to exit and how much to hold.

    A good answer: The assistant asks before it answers. By the end you have every piece a backtest needs, written in your words.

Turn it into a rule

A rule is something a computer can follow without asking you. If a line needs judgement, it isn't a rule yet.

  • Write the exact rules

    Any chat

    Turn this idea into rules a computer can follow: [idea]. Put the entry, the exit, the position size and the coins on separate lines. Use only indicators with standard definitions, and state the value of every setting.

    A good answer: Every line can be checked by a machine. No line says things like when momentum looks strong.

  • Build it from Keel's blocks

    Needs Keel

    Using Keel, find the components for these rules and build them as a strategy: [rules]. Show me which blocks you used, and tell me anything you could not express instead of approximating it.

    A good answer: A saved strategy, a list of the blocks in it, and an honest note on anything that did not fit. You can open it in the Keel app and read it as blocks.

Backtest it

This is where most AI trading advice stops being a guess. On its own an assistant has no market history, so any return it quotes is invented.

  • Backtest and explain

    Needs Keel

    Backtest this strategy on Keel over its default window. Tell me the return, the worst drawdown and the number of trades, explain what drove the result, and give me the link to open it in the Keel app.

    A good answer: Numbers from a real run, a plain reading of why, and a link you can open to check every trade.

  • Compare a few settings

    Needs Keel

    Run this strategy on Keel with [setting] at three different values and compare the backtests side by side. Tell me whether the result holds across them or depends on one value.

    A good answer: Three runs on the same window and a straight answer. A result that only works at one value is a warning, and a good answer says so.

Check for overfitting

A strategy tuned until its backtest looks great usually trades worse than its backtest. These prompts look for that before money does.

  • Test it on other periods

    Needs Keel

    Is this result real or curve-fit? Run the strategy on Keel over a period it was not built on, and over a rising and a falling stretch, then give me one verdict and the runs behind it.

    A good answer: A verdict backed by runs on windows the strategy never saw, with the weakest one shown, not hidden.

  • Ask how the result could mislead you

    Any chat

    Here is my backtest result: [paste it]. List the ways it could be misleading, such as look-ahead, too few trades, one lucky coin or costs left out. For each, tell me how to check it.

    A good answer: A checklist you can work through, specific to the result you pasted, without reassurance.

Size it

Position size decides how a bad month feels. Ask for the arithmetic so you can check it.

  • Size it from the drawdown

    Any chat

    My account is [size] and I can accept losing [amount] in a bad stretch. This strategy's worst backtest drawdown was [drawdown]. How much of the account should it use, and what leverage does that mean? Show the arithmetic, and assume the next drawdown can be worse.

    A good answer: The working shown step by step, a margin for a deeper drawdown than the backtest, and a size you can say out loud.

Review what is running

Once a strategy runs, the useful question is whether it behaves like its backtest.

  • Review my running strategies

    Needs Keel

    Summarise the strategies running on my Keel account: positions, recent fills and how each one's drawdown compares with its backtest. Flag anything that looks stale or out of line, and change nothing.

    A good answer: A read-only summary that flags gaps between live and backtest. Starting or stopping a strategy stays with you, in the Keel app.

Why ask for a rule

Ask for a rule you can test, then test it

Asking an assistant what to buy gets you an answer that sounds sure of itself and can't be checked. The model has no live prices unless a tool gives them, so a target or a percentage in its reply is made up. Ask it again tomorrow and the pick may change.

A rule is different because it can be run on history. Hold a coin while its fast moving average is above its slow one, exit when it crosses back: that sentence can be backtested, with fees, slippage and funding charged, and you can read every trade it would have made. If it fails, you learn something specific. If it holds, you can paper trade it before any money moves.

So use the assistant for what it is good at: turning a loose idea into exact rules, explaining a result and listing what could be wrong with it. Leave the judging to a backtest.

Claude trading skills

The 7 trading skills Keel's MCP server sends

A skill is a written, step-by-step workflow an assistant follows for one job, so it does the job the same careful way each time instead of improvising. Claude made the idea popular, and the same files work as plain instructions for other assistants.

Keel writes its skills for the work people actually do with a trading assistant. When you connect to Keel's hosted MCP server, they arrive as prompts in clients that take prompts and through the keel_help tool everywhere else. You don't install anything.

  • strategy-creation

    Builds a new strategy from an idea you describe: finds the blocks, checks they fit together, saves it and backtests it if you ask.

  • component-discovery

    Finds the block that does what you name, such as a volatility filter, and shows what usually comes before and after it.

  • backtest-and-analyze

    Runs a backtest on a strategy, waits for it to finish and explains what drove the result.

  • overfit-check

    Re-runs a strategy on other periods and market conditions you agree to, compares the runs once and gives one verdict on whether the result holds up.

  • strategy-fork-and-iterate

    Makes one focused change to a strategy as its next version, or forks a library strategy first and changes the copy.

  • portfolio-review

    Summarises the strategies running on your account, read-only: positions, recent fills and drawdown against the backtest.

  • recover-from-error

    When tool calls keep failing, reads the errors and your connection status and suggests one specific next step.

ChatGPT, Claude and Gemini

Using these prompts in each assistant

ChatGPT

Every prompt not marked Needs Keel works in a normal chat. For the rest, connect Keel to ChatGPT once; the ChatGPT guide on Keel has the steps. Then paste the prompt as written.

Claude

The same split. Claude adds Keel as a custom connector, and after that the Needs Keel prompts run real backtests and Keel's skills are there when Claude needs them.

Gemini and others

The prompts that don't need Keel work as written in Gemini, Grok, DeepSeek or any chat model. To run the others, your assistant has to be able to add a remote MCP server; if it can, it connects to Keel the same way.

FAQ

Questions about trading prompts

What is the best prompt for trading?

One that asks for exact rules and then a test. Describe your idea, ask the assistant to write the entry, exit, size and coins as rules a computer can follow, then backtest those rules with fees and funding charged. A prompt that asks what to buy gets an answer you can't check.

Can ChatGPT give trading signals?

It can say buy or sell, but on its own it has no live prices or market history, so the signal is a guess dressed up. It is useful for turning your idea into a rule and explaining a result. Connected to Keel, ChatGPT can backtest the rule on real Hyperliquid history and show you the result.

What are Claude trading skills?

Written workflows Claude follows for one trading job, such as building a strategy, backtesting it or checking a result for overfitting. Keel's hosted MCP server sends 7 of them, and they arrive automatically when you connect Claude.

Do these prompts work in Gemini?

The prompts not marked Needs Keel work as written in Gemini or any other chat model. The marked ones need an assistant that can add a remote MCP server and connect to Keel. The LLM trading guide covers Gemini, Grok and DeepSeek one by one.

How do I backtest what the AI suggests?

Ask it for exact rules first, then run them somewhere that charges real costs. Connect your assistant to Keel and say backtest this strategy: it builds the rules from Keel's blocks, runs the backtest with fees, slippage and funding, and gives you a link to the result in the Keel app.

Do I need to pay to use these prompts?

No. The prompts are free to copy and the ones that don't need Keel work in any free chat. Keel itself has a free plan that includes backtests; the pricing page has the limits.