Strategies

validate_strategy_version

Run the automated validation pipeline — syntax check, entry/exit logic check, and a quick real-data backtest on the version's own primary timeframe and MTF config — against the current draft version of one of your strategies. Required before that version can be promoted to the stable channel.

Parameters

NameTypeDescription
idstringStrategy ID whose latest/draft version to validate
exchangeIdstringAn exchange you own, used only to source historical candle data
symbolstringTrading pair to validate against, e.g. BTC/USDT
timeframestringBacktest timeframe override (1m to 1w); defaults to the version's own primary timeframe
daysnumberBacktest length override, 1-90 days; defaults to a bounded window for the timeframe (about 2,160 candles, capped at 90 days)

Example Prompts

Try asking your AI assistant any of these:

“Validate the latest version of my strategy”
“Check if my strategy edits pass validation before I go live”
“Run the validation pipeline on my draft strategy”

Start Using validate_strategy_version

Set up the TradeStaq MCP server in under a minute.