batch_run
Run a selected action (screenshot, OHLCV, strategy) across multiple symbols and timeframes to batch-process TradingView charts, aiding universe scans.
Instructions
Run an action across multiple symbols and/or timeframes
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to run for each symbol/timeframe. get_study_values reads every visible indicator per symbol and is the one to use for universe scans. | |
| symbols | Yes | Array of symbols to iterate (e.g., ["BTCUSD", "ETHUSD", "AAPL"]) | |
| delay_ms | No | Delay between iterations in ms (0-60000, default 2000) | |
| entity_id | No | Exact strategy entity ID for get_strategy_results; recommended when more than one strategy is present | |
| timeframes | No | Array of timeframes (e.g., ["D", "60", "15"]) | |
| ohlcv_count | No | Bar count for get_ohlcv action (1-500, default 100) | |
| restore_start_state | No | Restore the starting chart symbol/timeframe in a guaranteed cleanup path (default true) |