Retrieve the Simple Moving Average (SMA) for a specified ticker over a defined time range. The SMA calculates the average price across a set number of periods, smoothing price fluctuations to reveal underlying trends and potential signals.
- Provider
- Massive Stocks REST API
- Input summary
- {"name":"stockTicker","type":"string","required":true,"description":"Specify a case-sensitive ticker symbol for which to get simple moving average (SMA) data. For example, AAPL represents Apple Inc."}, {"name":"timestamp","type":"string","required":false,"description":"Query by timestamp. Either a date with the format YYYY-MM-DD or a millisecond timestamp."}, {"name":"timestamp.gte","type":"string","required":false,"description":"Search timestamp for values that are greater than or equal to the given value."}, {"name":"timestamp.gt","type":"string","required":false,"description":"Search timestamp for values that are greater than the given value."}, {"name":"timestamp.lte","type":"string","required":false,"description":"Search timestamp for values that are less than or equal to the given value."}, {"name":"timestamp.lt","type":"string","required":false,"description":"Search timestamp for values that are less than the given value."}, {"name":"timespan","type":"string","required":false,"description":"The size of the aggregate time window.","enum":["day"]}, {"name":"adjusted","type":"boolean","required":false,"description":"Whether or not the aggregates used to calculate the simple moving average are adjusted for splits. By default, aggregates are adjusted. Set this to false to get results ...
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available