ta_slug_sma
Calculate the full simple moving average (SMA) series for any cryptocurrency asset using historical price data with customizable window and timeframe.
Instructions
Full SMA series
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Asset slug (e.g. bitcoin) | |
| start | No | Start timestamp in ms | |
| end | No | End timestamp in ms | |
| window | No | SMA window size (default: 5) | |
| fetchInterval | No | Timeframe for price bars | |
| includeOriginal | No | Include original price data |