lookup
suspend fun lookup(query: String, type: LookupType = LookupType.ALL, count: Int = 25): LookupResult(source)
Searches for financial instruments using the Yahoo Finance Lookup API.
Return
LookupResult containing matching financial instruments
Parameters
query
Search keyword (cannot be empty)
type
Type of financial instrument to search for (default: LookupType.ALL)
count
Maximum number of results to return (default: 25, range: 1-100)
Throws
If the API call fails, returns an error response, or if parameters are invalid