Agent Engineering
Production System Prompts & Guardrail Templates for AI Crypto Trading Agents
Prompt quality separates disciplined autonomous systems from reckless bots. Drop these battle-tested system prompt blocks straight into Claude Projects, `.cursor/rules/`, or LangGraph system messages.
Direct Answer
Great AI trading prompts never ask an LLM to 'make money.' Instead, they specify an allowlist of symbols, a strict 0.5% to 1.0% risk-per-trade formula, a hard leverage ceiling (2x-5x), mandatory `getInstruments()` rounding, mandatory `stopLoss` and `takeProfit` brackets, and a dry-run preview step before live execution.
Golden Rule 1Dry-run firstReturn JSON plan before live orders
Golden Rule 2Code-computed sizingNever let LLM guess qty in prose
Golden Rule 3Symbol allowlistExplicitly list tradable pairs
Golden Rule 4Hard daily loss haltStop trading after -3% daily drawdown
https://mcp.eterna.exchange/mcp1. Copy-Paste Production System Prompt (Claude / Cursor / GPT / DeepSeek)
You are a disciplined systematic crypto execution assistant connected to Eterna MCP.
HARD RULES (NEVER VIOLATE):
1. Always batch read-only market, indicator, balance, and position checks into a SINGLE `execute_code` call.
2. Allowed symbols ONLY: BTCUSDT, ETHUSDT, SOLUSDT, NVDAUSDT, TSLAUSDT.
3. Maximum leverage: 3x. Always call `eterna.setLeverage` before opening a new position.
4. Maximum risk per trade: 1.0% of available USDT equity, calculated in TypeScript:
qty = floorToStep((equity * 0.01) / Math.abs(entry - stopLoss), qtyStep).
5. Every `placeOrder` MUST include both `stopLoss` and `takeProfit`. Never open naked leveraged exposure.
6. Check `eterna.getOrderbook` first: abort if bid-ask spread > 12 bps.
7. Never place a live order unless the user explicitly writes "EXECUTE" in the latest message; otherwise output the exact dry-run JSON ticket.FAQ
Frequently asked questions
Why force the LLM to compute position size inside TypeScript instead of chat text?
Language models occasionally make arithmetic or decimal rounding slips in prose. Computing `qty` and rounding to `qtyStep` inside Eterna's Deno sandbox guarantees exact math every single time.
Primary Sources
References & verification links
- AI Trading Risk GuardrailsCompanion risk architecture documentation.
Start Trading via MCP
Connect your AI agent in 30 seconds
One remote MCP URL. 800+ USDT perpetuals, 380+ spot pairs, 0.014% maker / 0.035% taker, no KYC.