Pull Technical Indicators for a set of symbols over a specific number of periods set by the frequency
one or more symbols from the FMP available list that can be
found using fmpc_symbols_by_market
. A valid API token must be
set in order to enable functionality. See documentation for setting a token
under fmpc_set_token
.
'SMA', 'EMA', 'WMA', 'DEMA', 'TEMA', 'williams', 'RSI', 'ADX', 'standardDeviation'
the frequency of which to pull intraday data. Options are '1min', '5min', '15min', '30min', '1hour'
Number of periods over which to calculate the technical indicator
technical indicator in a data frame
Technical indicators include: 'SMA', 'EMA', 'WMA', 'DEMA', 'TEMA', 'williams', 'RSI', 'ADX', 'standardDeviation'
if (FALSE) {
# Setting API key to DEMO allows for AAPL only
fmpc_set_token()
fmpc_security_tech_indic('AAPL')
fmpc_security_tech_indic('AAPL', indicator = 'standardDeviation')
fmpc_security_tech_indic('AAPL', 'sma')
# For multiple symbols, set a valid API Token
fmpc_set_token('FMPAPIKEY')
fmpc_security_tech_indic(c('AAPL','MSFT','SPY'), indicator = 'RSI', freq = '15min', period = 25)
}