technicalIndicators_sma
Calculate Simple Moving Average (SMA) for stocks using price data to identify trends and support trading decisions with Alpha Vantage financial data.
Instructions
Simple Moving Average (SMA)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The stock symbol (e.g., "IBM"). | |
| interval | Yes | Time interval (e.g., "daily", "60min", "weekly"). Check Alpha Vantage docs for valid intervals per indicator. | |
| datatype | No | Data format for the response. | json |
| month | No | Specific month for intraday intervals (YYYY-MM format). | |
| time_period | Yes | Number of data points used to calculate the indicator. | |
| series_type | Yes | The desired price type. |