sma
Calculate simple moving average for stocks to identify trends and analyze price movements over specified time periods using market data.
Instructions
Fetch simple moving average
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| interval | Yes | ||
| month | No | ||
| time_period | Yes | ||
| series_type | Yes | ||
| datatype | No | ||
| max_data_points | No | Maximum number of data points to return (default: 100) |
Input Schema (JSON Schema)
{
"properties": {
"datatype": {
"type": "string"
},
"interval": {
"type": "string"
},
"max_data_points": {
"default": 100,
"description": "Maximum number of data points to return (default: 100)",
"type": "number"
},
"month": {
"type": "string"
},
"series_type": {
"type": "string"
},
"symbol": {
"type": "string"
},
"time_period": {
"type": "number"
}
},
"required": [
"symbol",
"interval",
"time_period",
"series_type"
],
"type": "object"
}