analyze_stock
Compute key technical indicators for any stock, including SMA, EMA, and RSI, over a customizable lookback period.
Instructions
Compute common technical indicators for a stock over a lookback window.
Args:
symbol: Ticker symbol, e.g. AAPL.
period: Lookback window (see get_stock_history). Defaults to 6 months.
Returns the latest close alongside SMA(20), SMA(50), EMA(20) and RSI(14). Indicators
that lack enough history in the window are returned as null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | 6mo |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||