Grok trading prompts: 8 copy-paste templates
Short answer: A good Grok trading prompt names the tool (OpenFinance), gives exact numbers for size, leverage and stops, says what to check first, and ends with 'show me the order and wait for me to reply "confirm"'. The 8 templates below cover research, Polymarket odds, a sized Hyperliquid perp, a Solana swap, P&L, take-profit and stop-loss, paper trading and a daily review.
MCP URL: https://api.openfinance.tech/agent/mcp · HTTP streamable · add it in Grok at grok.com/connectors → New Connector → Custom · no KYC on OpenFinance itself.
Before you start
- Connect OpenFinance in Grok. Go to grok.com/connectors, click New Connector → Custom, paste the MCP URL and sign in. The full walkthrough is on How can Grok place trades?
- Keep a small balance. OpenFinance has no server-side spend caps yet. The limits you write in these prompts are requests to Grok, not blocks on the server, so only keep what you are willing to trade with.
- Fill in the brackets. Replace every
[bracket]with your own market, amount or price before you send the prompt. - Expect a summary before each order. The agent shows a summary of each order and waits for you to reply "confirm". The trade templates also ask for that in writing.
1. Research a market
Using OpenFinance, research [BTC] for me. Show the current price, the 24-hour
change, the Hyperliquid funding rate and order book depth near the mid price.
Then summarise what people on X are saying about it today, and give me one bull
case and one bear case in two lines each. Do not place any orders.
Grok pulls market data through the hyperliquid tool, reads X, and replies with a short brief. Nothing is traded.
2. Compare Polymarket odds
Using OpenFinance, find the Polymarket market on [event]. Show each outcome's
current price as an implied probability, the volume, and the best bid and ask.
Compare those odds with the latest news and posts on X, and tell me if any
outcome looks mispriced and why. If I want to buy $[10] of [outcome], show me
the order and wait for me to reply "confirm".
Grok reads the market through the polymarket tool, explains the odds, and only prepares an order for the outcome and amount you name. More on this in Trade Polymarket with Grok.
3. Size a Hyperliquid perp with a stop
Using OpenFinance, I want to go [long] [ETH] on Hyperliquid at [3]x leverage.
My stop is at [price]. I am willing to lose at most $[20] if the stop is hit.
Work out the position size and margin from that, and show the estimated
liquidation price. If the liquidation price is closer than my stop, tell me and
stop. Otherwise place the entry with the stop-loss attached. Show me the order
and wait for me to reply "confirm".
Grok sizes the position from your risk amount and stop, checks the liquidation price against the stop, and shows one summary before anything is sent.
4. Swap a Solana token after a liquidity check
Using OpenFinance, search for [token] on Solana. Show the mint address, the USD
price and any liquidity and holder data you can find. If liquidity is below
$[250,000], or you can't find liquidity data, stop and tell me. Otherwise get a
Jupiter quote to swap $[20] of USDC into it and show the expected amount out and
price impact. Show me the order and wait for me to reply "confirm".
Grok uses onchain_search_tokens and the token metadata and price tools, stops if the check fails, and otherwise asks Jupiter for a quote through onchain_jupiter_order. Check the mint address yourself, because many tokens share a ticker.
5. Check positions and P&L
Using OpenFinance, show all my open positions on Hyperliquid and Polymarket and
my token holdings on Solana and EVM. For each position, list size, entry price,
current price and unrealised P&L. Put it in one table with a total at the
bottom. Do not place any orders.
Grok calls the read tools for each venue and your wallet addresses and returns one table. Nothing is traded.
6. Set a take-profit and stop-loss
Using OpenFinance, for my open [ETH] position on Hyperliquid, set a take-profit
at [price] and a stop-loss at [price] for the full size. First show me the
current entry, mark price and liquidation price, and tell me if either level
looks wrong for a [long]. Show me the orders and wait for me to reply "confirm".
Grok checks the position, flags a level on the wrong side of the price, and prepares both trigger orders for one confirmation.
7. Build a paper-trading tracker on live prices
Using OpenFinance for prices only, do not place any live orders. Start a paper
account with $[1,000]. When I describe a trade, fetch the live price, record it
in a paper ledger as if it filled, and show the ledger as a table with cash,
open positions, entry, current price and P&L. Update the prices every time I
ask "paper update". When I say "go live" for a trade, show me the real order and
wait for me to reply "confirm".
Grok keeps the paper ledger in the conversation using live OpenFinance prices. OpenFinance has no built-in paper mode, so this is how you practise first.
8. Daily review
Using OpenFinance, give me my daily review. Show my balances and open positions
with P&L since I last asked, any funding paid or received on Hyperliquid, and
any Polymarket markets I hold that resolve this week. Check each position
against these rules: [max $100 per position, max 3x leverage]. List anything
that breaks a rule, then suggest up to 3 actions. Do not place any orders. If I
pick an action, show me the order and wait for me to reply "confirm".
Grok reads your account, checks it against your own rules, and suggests actions without trading. Paste it at the start of each day.
Tips for writing your own
- Name OpenFinance in the prompt so Grok uses the connector, not a web search.
- Give numbers, not adjectives: "$20 at 3x with a stop at [price]", not "a small long".
- Say what to check first and when to stop.
- End every trade prompt with 'show me the order and wait for me to reply "confirm"'.
Frequently asked questions
What makes a good Grok trading prompt?
It names OpenFinance, gives exact amounts, leverage and stop levels, says what Grok should check before trading, and ends with 'show me the order and wait for me to reply "confirm"'.
Can Grok place the trade from these prompts?
Yes, once OpenFinance is connected as a custom connector in Grok. The agent shows a summary of each order and waits for you to reply "confirm".
Do the limits in my prompt stop a trade?
They are requests to Grok, not blocks on the server. OpenFinance has no server-side spend caps yet, so keep a small balance and read every summary before you reply "confirm".
Can I practise without real money?
Yes. Use template 7. OpenFinance has no built-in paper mode, but Grok can keep a paper-trading ledger on live OpenFinance prices for you.
Can Grok trade stocks with these prompts?
Through OpenFinance, Grok trades stock perps on Hyperliquid, such as xyz:NVDA and xyz:TSLA, not shares in a brokerage account. Swap the market in templates 1, 3 and 6 to use them.