quote Summary
suspend fun quoteSummary(symbol: String, vararg modules: QuoteSummaryModule): QuoteSummaryModuleResult(source)
Retrieves detailed company information using Yahoo's QuoteSummary modules.
Yahoo Finance provides 37 different data modules including price, financials, balance sheet, income statement, cash flow, analyst recommendations, and more. You can request specific modules to get only the data you need.
Return
QuoteSummaryModuleResult containing the requested module data
Parameters
symbol
The ticker symbol (e.g., "AAPL")
modules
Variable number of QuoteSummaryModule enum values specifying which data modules to retrieve (e.g., PRICE, FINANCIAL_DATA, BALANCE_SHEET_HISTORY)
Throws
if the symbol is invalid or the request fails