A simple moving average (SMA) adds recent prices for a specified period and divides the total by that same number of periods. SMA is typically used to indicate whether a security is in an uptrend or downtrend and can also be combined with a long-term moving average to improve the signal`s abilities.
Name | Type | Description | Notes |
---|---|---|---|
identifier | Character | A Security identifier (Ticker, FIGI, ISIN, CUSIP, Intrinio ID) | |
period | Integer | The number of observations, per period, to calculate Simple Moving Average | [optional] [default to 20] |
price_key | Character | The Stock Price field to use when calculating Simple Moving Average | [optional] [default to close] |
start_date | Character | Return technical indicator values on or after the date | [optional] |
end_date | Character | Return technical indicator values on or before the date | [optional] |
page_size | Integer | The number of results to return | [optional] [default to 100] |
next_page | Character | Gets the next page of data from a previous API call | [optional] |
Name | Type | Description |
---|---|---|
technicals | List of SimpleMovingAverageTechnicalValue | |
technicals_data_frame | Data Frame | Data frame representation of technicals |
indicator | TechnicalIndicator | The name and symbol of the technical indicator |
security | SecuritySummary | The Security of the Stock Price |
next_page | Character | The token required to request the next page of the data. If null, no further results are available. |