Skip to main content
Add stats=1&ma=N to history for SMA and EMA. N must be an integer from 2 to 365. SMA uses the latest observed closes; EMA uses the full requested series.
curl
Illustrative response: ma=7 adds five fields to stats, even with fewer than seven observed closes.