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 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 price values.

Fetches the minus directional indicator values.

Fetches the minus directional movement 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

Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

aluminum(interval \\ "monthly")

Fetches the prices for aluminum.

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

balance_sheets(symbol)

Fetches the balance sheets for a given symbol.

Required

  • symbol - The stock symbol to fetch the balance sheets for.
Link to this function

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.
Link to this function

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.
Link to this function

brent(interval \\ "monthly")

Fetches the prices for Brent crude oil.

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

coffee(interval \\ "monthly")

Fetches the prices for coffee

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

commodities(interval \\ "monthly")

Fetches the prices for commodities index

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

company_overview(symbol)

Fetches the company overview for a given symbol.

Required

  • symbol - The stock symbol to fetch the overview for.
Link to this function

copper(interval \\ "monthly")

Fetches the prices for copper.

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

corn(interval \\ "monthly")

Fetches the prices for corn

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

cotton(interval \\ "monthly")

Fetches the prices for cotton

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

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.
Link to this function

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. Either compact or full.
Link to this function

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.
Link to this function

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. Either compact or full.
Link to this function

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. Either compact or full.
Link to this function

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. Either compact or full.
Link to this function

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.
Link to this function

durable_goods_orders()

Fetches the durable goods orders of the United States.

Link to this function

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.
Link to this function

earnings(symbol)

Fetches the earnings for a given symbol.

Required

  • symbol - The stock symbol to fetch the earnings for.
Link to this function

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.
Link to this function

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.
Link to this function

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. Either compact or full.
Link to this function

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.
Link to this function

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. Either compact or full.
Link to this function

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. Either compact or full.
Link to this function

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. Either compact or full.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

income_statements(symbol)

Fetches the income statements for a given symbol.

Required

  • symbol - The stock symbol to fetch the income statements for.

Fetches the inflation rate of the United States.

Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

market_status()

Fetches the market status.

Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

natural_gas(interval \\ "monthly")

Fetches the prices for natural gas.

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

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.
Link to this function

nonfarm_payroll()

Fetches the nonfarm payroll of the United States.

Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.

Fetches the quote for a given symbol.

Required

  • symbol - The stock symbol to fetch the quote for.
Link to this function

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.
Link to this function

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.

Fetches the retail sales of the United States.

Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

search(keywords)

Fetches the search results for a given keyword.

Required

  • keywords - The keywords to search for.
Link to this function

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.
Link to this function

start(type, args)

Callback implementation for Application.start/2.

Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

sugar(interval \\ "monthly")

Fetches the prices for sugar

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

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.
Link to this function

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.
Link to this function

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. Either compact or full.
Link to this function

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. Either compact or full.
Link to this function

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. Either compact or full.
Link to this function

time_series_monthly(symbol)

Fetches the monthly time series for a given symbol.

Required

  • symbol - The stock symbol to fetch the time series for.
Link to this function

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.
Link to this function

time_series_weekly(symbol)

Fetches the weekly time series for a given symbol.

Required

  • symbol - The stock symbol to fetch the time series for.
Link to this function

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.
Link to this function

top_gainers_losers_and_active()

Fetches the top gainers, losers, and most actively traded US tickers.

Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

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.
Link to this function

unemployment_rate()

Fetches the unemployment rate of the United States.

Link to this function

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.
Link to this function

wheat(interval \\ "monthly")

Fetches the prices for wheat

Optional

  • interval - The interval between two consecutive data points in the time series.
Link to this function

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.
Link to this function

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.
Link to this function

wti(interval \\ "monthly")

Fetches the prices for WTI crude oil.

Optional

  • interval - The interval between two consecutive data points in the time series.