Create a chart or graph of stock/index prices over time. Use when the user asks for a chart, graph, plot, or visualization of one or more tickers (e.g. "chart of AAPL", "graph TSLA and NVDA over the last year", "plot the S&P 500 this month"). Fetches real historical price data and outputs a line chart (or bar for single-period comparisons). Supports indices and markets (e.g. ^GSPC, TA35.TA).
Use this skill when the user explicitly wants a chart, graph, or plot:
Trigger phrases: "chart", "graph", "plot", "visualize", "visualization", "draw a graph".
Do not use this skill when the user wants a comparison table or analysis without asking for a chart — use compare_stocks or the ReAct agent instead.
tickers: list of ticker symbols (1–6). For indices use ^GSPC, ^IXIC, TA35.TA, etc.period (optional): time range — "1y", "6m", "3m", "month", "this month", "ytd", or "YYYY-MM-DD:YYYY-MM-DD". Default "1y".get_multi_historical_prices with tickers and date range.