available_indexes

FinancialModelingPrep.available_indexesFunction
available_indexes(fmp)

Returns all available indexes.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.

See Available-Indexes for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get a list of all available indexes
data = available_indexes(fmp)

sp500_companies

FinancialModelingPrep.sp500_companiesFunction
sp500_companies(fmp, historical = false)

Returns all S&P 500 companies.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • historical::Bool: Return historical or current companies.

See List-of-S&P-500-Companies for more details.
See Historical-S&P-500-Companies for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get a list of all historical S&P 500 companies
data = sp500_companies(fmp, historical = true)

nasdaq_companies

FinancialModelingPrep.nasdaq_companiesFunction
nasdaq_companies(fmp, historical = false)

Returns all Nasdaq companies.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • historical::Bool: Return historical or current companies.

See List-of-Nasdaq-100-Companies for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get a list of all historical Nasdaq 100 companies
data = nasdaq_companies(fmp, historical = true)

dowjones_companies

FinancialModelingPrep.dowjones_companiesFunction
dowjones_companies(fmp, historical = false)

Returns all Dow Jones companies.

Arguments

  • fmp::FMP: A Financial Modeling Prep instance.
  • historical::Bool: Return historical or current companies.

See List-of-Dow-Jones-Companies for more details.
See Historical-Dow-Jones-Companies for more details.

Examples

# create a FMP API instance
fmp = FMP()

# get a list of all historical Dow Jones companies
data = dowjones_companies(fmp, historical = true)