calculate_sma
Compute the latest simple moving average for a trading symbol. Specify symbol, optional period (default 20) and timeframe (default daily). Returns the current SMA value.
Instructions
Simple moving average (latest value).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | ||
| timeframe | No | ONE_DAY |