screener
Searches for stocks using a custom query with the Yahoo Finance Screener API.
Return
ScreenerResult containing matching stocks with their data
Parameters
ScreenerQuery containing custom filter conditions
Field to sort results by (default: ScreenerSortField.TICKER)
Whether to sort in ascending order (default: false)
Number of results to return (default: 100, max: 250)
Pagination offset for retrieving additional results (default: 0)
Throws
If the API call fails or returns an error response
Searches for stocks using a predefined screener query with the Yahoo Finance Screener API.
Return
ScreenerResult containing matching stocks with their data
Parameters
Predefined screener ID (e.g., "day_gainers", "most_actives")
Number of results to return (range: 1-250)
Custom sort field (if null, uses the predefined screener's default)
Custom sort direction (if null, uses the predefined screener's default)
Throws
If the API call fails or returns an error response
Searches for stocks using a predefined screener query with the Yahoo Finance Screener API.
Return
ScreenerResult containing matching stocks with their data
Parameters
PredefinedScreener enum value (e.g., DAY_GAINERS, MOST_ACTIVES)
Number of results to return (range: 1-250)
Custom sort field (if null, uses the predefined screener's default)
Custom sort direction (if null, uses the predefined screener's default)
Throws
If the API call fails or returns an error response