AlphaVantage (alpha_vantage_client v0.2.0)
Summary
Functions
Fetches the Chaikin A/D line values.
Fetches the Chaikin A/D oscillator values.
Fetches the average directional movement index values.
Fetches the average directional movement index rating values.
Fetches the prices for aluminum.
Fetches the absolute price oscillator values.
Fetches the Aroon indicator values.
Fetches the Aroon oscillator values.
Fetches the average true range values.
Fetches the balance sheets for a given symbol.
Fetches the bollinger bands values.
Fetches the balance of power values.
Fetches the prices for Brent crude oil.
Fetches the cash flow statements for a given symbol.
Fetches the commodity channel index values.
Fetches the Chande momentum oscillator values.
Fetches the prices for coffee
Fetches the prices for commodities index
Fetches the company overview for a given symbol.
Fetches the prices for copper.
Fetches the prices for corn
Fetches the prices for cotton
Fetches the consumer price index of the United States.
Fetches the daily crypto exchange rate for a given currency pair.
Fetches the crypto exchange rate for a given currency pair.
Fetches the intraday crypto exchange rate for a given currency pair.
Fetches the monthly crypto exchange rate for a given currency pair.
Fetches the weekly crypto exchange rate for a given currency pair.
Fetches double exponential moving average values for a given symbol.
Fetches the durable goods orders of the United States.
Fetches the direction movement index values.
Fetches the earnings for a given symbol.
Fetches exponential moving average values for a given symbol.
Fetches the federal funds rate of the United States.
Fetches the daily exchange rate for a given currency pair.
Fetches the current exchange rate for a given currency pair.
Fetches the intraday exchange rate for a given currency pair.
Fetches the monthly exchange rate for a given currency pair.
Fetches the weekly exchange rate for a given currency pair.
Fetches the Hilbert transform, dominant cycle period values.
Fetches the Hilbert transform, dominant cycle phase values.
Fetches the Hilbert transform, phasor components values.
Fetches the Hilbert transform, sine wave values.
Fetches the Hilbert transform, instantaneous trendline values.
Fetches the Hilbert transform, trend vs cycle mode values.
Fetches the income statements for a given symbol.
Fetches the inflation rate of the United States.
Fetches Kaufman adaptive moving average values for a given symbol.
Fetches the moving average convergence / divergence values.
Fetches the moving average convergence / divergence values with controllable moving average type.
Fetches the MESA adaptive moving average values for a given symbol.
Fetches the market status.
Fetches the money flow index values.
Fetches the midpoint
Fetches the midpoint price values.
Fetches the minus directional indicator values.
Fetches the minus directional movement values.
Fetches the momentum values.
Fetches the normalized average true range values.
Fetches the prices for natural gas.
Fetches the news sentiment
Fetches the nonfarm payroll of the United States.
Fetches the on balance volume values.
Fetches the plus directional indicator values.
Fetches the plus directional movement values.
Fetches the percentage price oscillator values.
Fetches the quote for a given symbol.
Fetches the real GDP of the United States.
Fetches the real GDP per capita of the United States.
Fetches the retail sales of the United States.
Fetches the rate of change values.
Fetches the rate of change ratio values.
Fetches the relative strength index values.
Fetches the parabolic sar values.
Fetches the search results for a given keyword.
Fetches simple moving average values for a given symbol.
Callback implementation for Application.start/2
.
Fetches the stochastic oscillator values.
Fetches the stochastic oscillator fast values.
Fetches the stochastic relative strength index values.
Fetches the prices for sugar
Fetches the triple exponential moving average values for a given symbol.
Fetches triple exponential moving average values for a given symbol.
Fetches the daily time series for a given symbol.
Fetches the daily adjusted time series for a given symbol.
Fetches the daily time series for a given symbol.
Fetches the monthly time series for a given symbol.
Fetches the monthly adjusted time series for a given symbol.
Fetches the weekly time series for a given symbol.
Fetches the weekly adjusted time series for a given symbol.
Fetches the top gainers, losers, and most actively traded US tickers.
Fetches the true range values.
Fetches the treasury yield of the United States.
Fetches triangular moving average values for a given symbol.
Fetches the 1-day rate of change of a triple smooth exponential moving average values.
Fetches the ultimate oscillator values.
Fetches the unemployment rate of the United States.
Fetches the volume weighted average price.
Fetches the prices for wheat
Fetches the Williams' %R values.
Fetches weighted moving average values for a given symbol.
Fetches the prices for WTI crude oil.
Functions
ad(symbol, interval)
Fetches the Chaikin A/D line values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
adosc(symbol, interval, opts \\ [])
Fetches the Chaikin A/D oscillator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
Optional
fastperiod
- The time period of the fast Aroon oscillator.slowperiod
- The time period of the slow Aroon oscillator.
adx(symbol, interval, time_period)
Fetches the average directional movement index values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each ADX value.
adxr(symbol, interval, time_period)
Fetches the average directional movement index rating values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each ADXR value.
aluminum(interval \\ "monthly")
Fetches the prices for aluminum.
Optional
interval
- The interval between two consecutive data points in the time series.
apo(symbol, interval, series_type, opts \\ [])
Fetches the absolute price oscillator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
Optional
fastperiod
- The time period of the fast EMA.slowperiod
- The time period of the slow EMA.matype
- The type of moving average to be used.
aroon(symbol, interval, time_period)
Fetches the Aroon indicator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
aroonosc(symbol, interval, time_period)
Fetches the Aroon oscillator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
atr(symbol, interval, time_period)
Fetches the average true range values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
balance_sheets(symbol)
Fetches the balance sheets for a given symbol.
Required
symbol
- The stock symbol to fetch the balance sheets for.
bbands(symbol, interval, time_period, series_type, opts \\ [])
Fetches the bollinger bands values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
Optional
ndbevup
- The number of standard deviations above the upper band.nbdevdn
- The number of standard deviations below the lower band.matype
- The type of moving average to use.
bop(symbol, interval)
Fetches the balance of power values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
brent(interval \\ "monthly")
Fetches the prices for Brent crude oil.
Optional
interval
- The interval between two consecutive data points in the time series.
cash_flow_statements(symbol)
Fetches the cash flow statements for a given symbol.
Required
symbol
- The stock symbol to fetch the cash flow statements for.
cci(symbol, interval, time_period)
Fetches the commodity channel index values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
cmo(symbol, interval, time_period, series_type)
Fetches the Chande momentum oscillator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.series_type
- The desired price type in the time series.
coffee(interval \\ "monthly")
Fetches the prices for coffee
Optional
interval
- The interval between two consecutive data points in the time series.
commodities(interval \\ "monthly")
Fetches the prices for commodities index
Optional
interval
- The interval between two consecutive data points in the time series.
company_overview(symbol)
Fetches the company overview for a given symbol.
Required
symbol
- The stock symbol to fetch the overview for.
copper(interval \\ "monthly")
Fetches the prices for copper.
Optional
interval
- The interval between two consecutive data points in the time series.
corn(interval \\ "monthly")
Fetches the prices for corn
Optional
interval
- The interval between two consecutive data points in the time series.
cotton(interval \\ "monthly")
Fetches the prices for cotton
Optional
interval
- The interval between two consecutive data points in the time series.
cpi(interval \\ "monthly")
Fetches the consumer price index of the United States.
Optional
interval
- The interval between two consecutive data points in the time series.
crypto_daily(symbol, market, outputsize \\ "compact")
Fetches the daily crypto exchange rate for a given currency pair.
Required
symbol
- The currency to convert from.market
- The currency to convert to.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
crypto_exchange_rates(from_symbol, to_symbol)
Fetches the crypto exchange rate for a given currency pair.
Required
from_symbol
- The currency to convert from.to_symbol
- The currency to convert to.
crypto_intraday(symbol, market, interval, outputsize \\ "compact")
Fetches the intraday crypto exchange rate for a given currency pair.
Required
symbol
- The currency to convert from.market
- The currency to convert to.interval
- The interval between two consecutive data points in the time series.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
crypto_monthly(symbol, market, outputsize \\ "compact")
Fetches the monthly crypto exchange rate for a given currency pair.
Required
symbol
- The currency to convert from.market
- The currency to convert to.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
crypto_weekly(symbol, market, outputsize \\ "compact")
Fetches the weekly crypto exchange rate for a given currency pair.
Required
symbol
- The currency to convert from.market
- The currency to convert to.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
dema(symbol, interval, time_period, series_type)
Fetches double exponential moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
durable_goods_orders()
Fetches the durable goods orders of the United States.
dx(symbol, interval, time_period)
Fetches the direction movement index values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
earnings(symbol)
Fetches the earnings for a given symbol.
Required
symbol
- The stock symbol to fetch the earnings for.
ema(symbol, interval, time_period, series_type)
Fetches exponential moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
federal_funds_rate(interval \\ "monthly")
Fetches the federal funds rate of the United States.
Optional
interval
- The interval between two consecutive data points in the time series.
fx_daily(from_symbol, to_symbol, outputsize \\ "compact")
Fetches the daily exchange rate for a given currency pair.
Required
from_symbol
- The currency to convert from.to_symbol
- The currency to convert to.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
fx_exchange_rates(from_currency, to_currency)
Fetches the current exchange rate for a given currency pair.
Required
from_currency
- The currency to convert from.to_currency
- The currency to convert to.
fx_intraday(from_symbol, to_symbol, interval, outputsize \\ "compact")
Fetches the intraday exchange rate for a given currency pair.
Required
from_symbol
- The currency to convert from.to_symbol
- The currency to convert to.interval
- The interval between two consecutive data points in the time series.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
fx_monthly(from_symbol, to_symbol, outputsize \\ "compact")
Fetches the monthly exchange rate for a given currency pair.
Required
from_symbol
- The currency to convert from.to_symbol
- The currency to convert to.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
fx_weekly(from_symbol, to_symbol, outputsize \\ "compact")
Fetches the weekly exchange rate for a given currency pair.
Required
from_symbol
- The currency to convert from.to_symbol
- The currency to convert to.
Optional
outputsize
- The size of the time series to return. Eithercompact
orfull
.
ht_dcperiod(symbol, interval, series_type)
Fetches the Hilbert transform, dominant cycle period values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
ht_dcphase(symbol, interval, series_type)
Fetches the Hilbert transform, dominant cycle phase values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
ht_phasor(symbol, interval, series_type)
Fetches the Hilbert transform, phasor components values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
ht_sine(symbol, interval, series_type)
Fetches the Hilbert transform, sine wave values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
ht_trendline(symbol, interval, series_type)
Fetches the Hilbert transform, instantaneous trendline values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
ht_trendmode(symbol, interval, series_type)
Fetches the Hilbert transform, trend vs cycle mode values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
income_statements(symbol)
Fetches the income statements for a given symbol.
Required
symbol
- The stock symbol to fetch the income statements for.
inflation()
Fetches the inflation rate of the United States.
kama(symbol, interval, time_period, series_type)
Fetches Kaufman adaptive moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
macd(symbol, interval, series_type, opts \\ [])
Fetches the moving average convergence / divergence values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
Optional
fastperiod
- The time period of the fast EMA.slowperiod
- The time period of the slow EMA.signalperiod
- The time period of the signal EMA.
macdext(symbol, interval, series_type, opts \\ [])
Fetches the moving average convergence / divergence values with controllable moving average type.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
Optional
fastperiod
- The time period of the fast EMA.slowperiod
- The time period of the slow EMA.signalperiod
- The time period of the signal EMA.
mama(symbol, interval, time_period, series_type)
Fetches the MESA adaptive moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
market_status()
Fetches the market status.
mfi(symbol, interval, time_period)
Fetches the money flow index values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
midpoint(symbol, interval, time_period, series_type)
Fetches the midpoint
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.series_type
- The desired price type in the time series.
midprice(symbol, interval, time_period)
Fetches the midpoint price values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
minus_di(symbol, interval, time_period)
Fetches the minus directional indicator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
minus_dm(symbol, interval, time_period)
Fetches the minus directional movement values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
mom(symbol, interval, time_period, series_type)
Fetches the momentum values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.series_type
- The desired price type in the time series.
natr(symbol, interval, time_period)
Fetches the normalized average true range values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
natural_gas(interval \\ "monthly")
Fetches the prices for natural gas.
Optional
interval
- The interval between two consecutive data points in the time series.
news_sentiment(params \\ [])
Fetches the news sentiment
Optional
tickers
- A comma-separated list of stock tickers.topics
- A comma-separated list of topics.time_from
- A date in the format YYYYMMDDTHHMM.time_to
- A date in the format YYYYMMDDTHHMM.sort
- The sort order of the results. Possible values are LATEST, EARLIEST, RELEVANCE.limit
- The number of results to return. Possible values are 1-1000.
nonfarm_payroll()
Fetches the nonfarm payroll of the United States.
obv(symbol, interval)
Fetches the on balance volume values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
plus_di(symbol, interval, time_period)
Fetches the plus directional indicator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
plus_dm(symbol, interval, time_period)
Fetches the plus directional movement values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.
ppo(symbol, interval, series_type, opts \\ [])
Fetches the percentage price oscillator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.series_type
- The desired price type in the time series.
Optional
fastperiod
- The time period of the fast EMA.slowperiod
- The time period of the slow EMA.matype
- The type of moving average to be used.
quote(symbol)
Fetches the quote for a given symbol.
Required
symbol
- The stock symbol to fetch the quote for.
real_gdp(interval \\ "annual")
Fetches the real GDP of the United States.
Optional
interval
- The interval between two consecutive data points in the time series.
real_gdp_per_capita()
Fetches the real GDP per capita of the United States.
Optional
interval
- The interval between two consecutive data points in the time series.
retail_sales()
Fetches the retail sales of the United States.
roc(symbol, interval, time_period, series_type)
Fetches the rate of change values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.series_type
- The desired price type in the time series.
rocr(symbol, interval, time_period, series_type)
Fetches the rate of change ratio values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.series_type
- The desired price type in the time series.
rsi(symbol, interval, time_period, series_type)
Fetches the relative strength index values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each RSI value.series_type
- The desired price type in the time series.
sar(symbol, interval, opts \\ [])
Fetches the parabolic sar values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
Optional
acceleration
- The acceleration factor.maximum
- The maximum acceleration factor.
search(keywords)
Fetches the search results for a given keyword.
Required
keywords
- The keywords to search for.
sma(symbol, interval, time_period, series_type)
Fetches simple moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
start(type, args)
Callback implementation for Application.start/2
.
stoch(symbol, interval, opts \\ [])
Fetches the stochastic oscillator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
Optional
fastkperiod
- The time period of the fastk moving average.slowkperiod
- The time period of the slowk moving average.slowdperiod
- The time period of the slowd moving average.slowkmatype
- The type of moving average for the slowk moving average.slowdmatype
- The type of moving average for the slowd moving average.
stochf(symbol, interval, opts \\ [])
Fetches the stochastic oscillator fast values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
Optional
fastkperiod
- The time period of the fastk moving average.fastdperiod
- The time period of the fastd moving average.fastdmatype
- The type of moving average for the fastd moving average.
stochrsi(symbol, interval, time_period, series_type, opts \\ [])
Fetches the stochastic relative strength index values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each RSI value.series_type
- The desired price type in the time series.
Optional
fastkperiod
- The time period of the fastk moving average.fastdperiod
- The time period of the fastd moving average.fastdmatype
- The type of moving average for the fastd moving average.
sugar(interval \\ "monthly")
Fetches the prices for sugar
Optional
interval
- The interval between two consecutive data points in the time series.
t3(symbol, interval, time_period, series_type)
Fetches the triple exponential moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
tema(symbol, interval, time_period, series_type)
Fetches triple exponential moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
time_series_daily(symbol, outputsize \\ "compact")
Fetches the daily time series for a given symbol.
Required
symbol
- The stock symbol to fetch the time series for.outputsize
- The size of the time series to return. Eithercompact
orfull
.
time_series_daily_adjusted(symbol, outputsize \\ "compact")
Fetches the daily adjusted time series for a given symbol.
Required
symbol
- The stock symbol to fetch the time series for.outputsize
- The size of the time series to return. Eithercompact
orfull
.
time_series_intraday(symbol, interval, params \\ [])
Fetches the daily time series for a given symbol.
Required
symbol
- The stock symbol to fetch the time series for.interval
- The interval to fetch the time series for.
Optional
adjusted
- If true, the adjusted time series is returned.extended_hours
- If true, the extended hours time series is returned.outputsize
- The size of the time series to return. Eithercompact
orfull
.
time_series_monthly(symbol)
Fetches the monthly time series for a given symbol.
Required
symbol
- The stock symbol to fetch the time series for.
time_series_monthly_adjusted(symbol)
Fetches the monthly adjusted time series for a given symbol.
Required
symbol
- The stock symbol to fetch the time series for.
time_series_weekly(symbol)
Fetches the weekly time series for a given symbol.
Required
symbol
- The stock symbol to fetch the time series for.
time_series_weekly_adjusted(symbol)
Fetches the weekly adjusted time series for a given symbol.
Required
symbol
- The stock symbol to fetch the time series for.
top_gainers_losers_and_active()
Fetches the top gainers, losers, and most actively traded US tickers.
trange(symbol, interval)
Fetches the true range values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
treasury_yield(interval \\ "daily", maturity \\ "10year")
Fetches the treasury yield of the United States.
Optional
interval
- The interval between two consecutive data points in the time series.maturity
- The maturity of treasury yield.
trima(symbol, interval, time_period, series_type)
Fetches triangular moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
trix(symbol, interval, time_period, series_type)
Fetches the 1-day rate of change of a triple smooth exponential moving average values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each momentum value.series_type
- The desired price type in the time series.
ultosc(symbol, interval, opts \\ [])
Fetches the ultimate oscillator values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
Optional
timeperiod1
- The number of data points used to calculate the first momentum value.timeperiod2
- The number of data points used to calculate the second momentum value.timeperiod3
- The number of data points used to calculate the third momentum value.
unemployment_rate()
Fetches the unemployment rate of the United States.
vwap(symbol, interval)
Fetches the volume weighted average price.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.
wheat(interval \\ "monthly")
Fetches the prices for wheat
Optional
interval
- The interval between two consecutive data points in the time series.
willr(symbol, interval, time_period)
Fetches the Williams' %R values.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each Williams' %R value.
wma(symbol, interval, time_period, series_type)
Fetches weighted moving average values for a given symbol.
Required
symbol
- The stock symbol to fetch the data for.interval
- The time interval between two consecutive data points in the time series.time_period
- The number of data points used to calculate each moving average value.series_type
- The desired price type in the time series.
wti(interval \\ "monthly")
Fetches the prices for WTI crude oil.
Optional
interval
- The interval between two consecutive data points in the time series.