etf_holders
FinancialModelingPrep.etf_holders
— Functionetf_holders(fmp, symbol)
Returns the etf holders of a specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: An etf symbol.
See ETF-Holders for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the etf holders for SPY
data = etf_holders(fmp, "SPY")
etf_summary
FinancialModelingPrep.etf_summary
— Functionetf_summary(fmp, symbol)
Returns the etf summary for the specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: A stock symbol.
See ETF-Info for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the etf summary for SPY
data = etf_summary(fmp, "SPY")
institutional_holders
FinancialModelingPrep.institutional_holders
— Functioninstitutional_holders(fmp, symbol)
Returns the institutional holders of a specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: A stock symbol.
See Institutional-Holders for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the institutional holders of AAPL
data = institutional_holders(fmp, "AAPL")
mutual_fund_holders
FinancialModelingPrep.mutual_fund_holders
— Functionmutual_fund_holders(fmp, symbol)
Returns the mutual fund holders of a specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: A stock symbol.
See Mutual-Fund-Holders for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the mutual fund holders of AAPL
data = mutual_fund_holders(fmp, "AAPL")
etf_sector_weightings
FinancialModelingPrep.etf_sector_weightings
— Functionetf_sector_weightings(fmp, symbol)
Returns the sector weightings of a specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: An etf symbol.
See ETF-Sector-Weightings for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the sector weightings of SPY
data = etf_sector_weightings(fmp, "SPY")
etf_country_weightings
FinancialModelingPrep.etf_country_weightings
— Functionetf_country_weightings(fmp, symbol)
Returns the country weightings of a specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: An etf symbol.
See ETF-Country-Weightings for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the country weightings of SPY
data = etf_country_weightings(fmp, "SPY")
etf_exposure
FinancialModelingPrep.etf_exposure
— Functionetf_exposure(fmp, symbol)
Returns the etf exposure for a specified symbol.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.symbol::String
: A stock symbol.
See ETF-Stock-Exposure for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the etf exposure for AAPL
data = etf_exposure(fmp, "AAPL")
institutions_list
FinancialModelingPrep.institutions_list
— Functioninstitutions_list(fmp)
Returns all companies by CIK.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.
See Institutions-List for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get all institutions
data = institutions_list(fmp)
cik_search
FinancialModelingPrep.cik_search
— Functioncik_search(fmp, name)
Returns all CIKs matching the specified name.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.name::String
: A complete or partial institution name.
See Form-13F-Search for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get all CIKs matching "Berkshire"
data = cik_search(fmp, name = "Berkshire")
company_from_cik
FinancialModelingPrep.company_from_cik
— Functioncompany_from_cik(fmp, cik)
Returns all company names matching the specified CIK.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.cik::String
: A CIK.
See CIK-Mapper for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get the company name matching the CIK
data = company_from_cik(fmp, cik = "0001067983")
forms_13f
FinancialModelingPrep.forms_13f
— Functionforms_13f(fmp, cik, date)
Returns all form 13F filing matching the specified CIK and date.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.cik::String
: A CIK.date::String
: A yyyy-mm-dd formatted date string.
See Form-13F for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get all form 13F form for the CIK on June 30, 2022.
data = forms_13f(fmp, cik = "0001067983", date = "2022-06-30")
filing_dates
FinancialModelingPrep.filing_dates
— Functionfiling_dates(fmp, cik)
Returns all form 13F filing dates matching the specified CIK.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.cik::String
: A CIK.
See Form-13F-Filing-Dates for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get all form 13F filing dates matching the CIK
data = filing_dates(fmp, cik = "0001067983")
company_from_cusip
FinancialModelingPrep.company_from_cusip
— Functioncompany_from_cusip(fmp, cusip)
Returns all companies matching the specified cusip.
Arguments
fmp::FMP
: A Financial Modeling Prep instance.- cusip::String: A cusip.
See Cusip-Mapper for more details.
Examples
# create a FMP API instance
fmp = FMP()
# get all companies matching the cusip
data = company_from_cusip(fmp, cusip = "000360206")