Well, I did find this: https://www.quantopian.com/help/fundamentals However, it is making me think there is no ETF data in the morningstar data...
security type Each security will be assigned to one of the below security type classifications; Common Stock (ST00000001) Preferred Stock (ST00000002)
stock_typeThe purpose of the Stock Types is to group companies according to the underlying fundamentals of their business. They answer the question: If I buy this stock, what kind of company am I buying? Unlike the style box, the emphasis with the Stock Types is on income statement, balance sheet, and cash-flow data—not price data or valuation multiples. We focus on the company, not the stock. Morningstar calculates this figure in-house on a monthly basis.
Right now I am trying to get a list of ETF's and follow certain fundamental critera.
Was thinking it may be stock_type or security_type. Where is the documentation of the morning star data? All I can find is the little bit on the API from the help. It would be great to just have some list of all fields and a few sample values. Or a way to look up a stock and see all the morning star data on it. Is there a way to do that?
dfFund = get_fundamentals(
query(
fundamentals.asset_classification.stock_type,
fundamentals.share_class_reference.security_type,
fundamentals.valuation.shares_outstanding,
fundamentals.valuation.market_cap
)
.filter(fundamentals.asset_classification.stock_type = "ETF"
.filter(fundamentals.valuation.market_cap < 2000000000 )
.order_by(fundamentals.valuation.market_cap.desc())
.limit(500)
)