set_symbol
Change the symbol displayed on a TradingView chart, optionally targeting a specific pane in multi-chart layouts. Failed changes roll back to the previous symbol.
Instructions
Change one TradingView chart to a different symbol, e.g. 'BTCUSD', 'OANDA:EURUSD', 'NASDAQ:AAPL'. chart_index selects a pane in multi-chart layouts; the active chart is used by default. The target pane is read back and failures are rolled back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol to display, optionally exchange-prefixed | |
| chart_index | No | Chart index in a multi-chart layout. Default: active chart |