Strategies

generate_strategy

Use AI to generate a complete trading strategy from a natural language description. Describe your trading idea and FORGE AI will write the code, set the parameters, and prepare it for backtesting. **Charges Strategy Lab wallet:** $0.50 per experiment, plus $0.10 per extra pair on multi-pair runs, up to $27 per optimization. Agents should preflight the user's wallet balance via `check_auth` or pass `acknowledgeCost: true`.

Parameters

NameTypeDescription
descriptionstringNatural language description of your trading idea
marketstringTarget market (spot, futures)(default: futures)
acknowledgeCostbooleanSet true to confirm the user accepts the wallet charge. Tool returns a cost estimate without charging if omitted.

Example Prompts

Try asking your AI assistant any of these:

“Generate a strategy that scalps ETH using Bollinger Bands”
“Create an AI strategy for trend-following on Bitcoin”
“Build me a mean reversion strategy for altcoins”

Start Using generate_strategy

Set up the TradeStaq MCP server in under a minute.