get_index: Get confidence index data from Yale School of Management's...

View source: R/get_index.R

get_indexR Documentation

Get confidence index data from Yale School of Management's web

Description

Stock market confidence indexes are derived from survey data on the behavior of U.S. investors.

Usage

get_index(symbol = "US1YI")

Arguments

symbol

A string with a Confidence Index symbol:

  • US1YI: U.S. One-Year Confidence Index

  • USVI: U.S. Valuation Confidence Index

  • USBODI: U.S. Buy-On-Dips Confidence Index

  • USCI: U.S. Crash Confidence Index

Value

A data.table with index value, standard deviation, and type of investor, by date.

Note

The default value for symbol is "US1YI".

References

Yale School of Management, International Center for Finance: Stock Market Confidence Indices

Stock Market Confidence Indices: Terms of Use

See Also

US_confidence_indices

US_confidence_indices_url

get_index_description

get_index_info

check_index_symbol

Examples

## Not run: 
get_index("USCI")

## End(Not run)

EnriquePH/marketconf documentation built on Aug. 7, 2023, 1:36 p.m.