TradingView-only: strategy comparison
stock_backtest_compareCompare every backtest strategy for a symbol under the returned execution timing to get a provider-by-provider leaderboard and the winning strategy providers agree on.
Instructions
Compare every strategy under the returned execution_model timing.
Args: symbol: Ticker. period: Lookback period. initial_capital: Starting cash.
Returns: Envelope with the strategy leaderboard per provider and the winning strategy they agree on (or a stated disagreement).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "stock_backtest_compare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1y | |
| symbol | Yes | ||
| initial_capital | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||