quoteSummary

suspend fun quoteSummary(symbol: String, vararg modules: QuoteSummaryModule): QuoteSummaryModuleResult(source)

Fetches quote summary data for a given symbol from the Yahoo Finance QuoteSummary API.

Return

QuoteSummaryModuleResult containing the requested module data

Parameters

symbol

The stock symbol to query (e.g., "AAPL", "GOOGL")

modules

Variable number of QuoteSummaryModule to retrieve (e.g., PRICE, FINANCIAL_DATA, EARNINGS)

Throws

If the API call fails or returns an error response


Fetches quote summary data for a given symbol from the Yahoo Finance QuoteSummary API.

Return

QuoteSummaryModuleResult containing the requested module data

Parameters

symbol

The stock symbol to query (e.g., "AAPL", "GOOGL")

modules

Set of QuoteSummaryModule to retrieve

Throws

If the API call fails or returns an error response