lookup

suspend fun lookup(query: String, type: LookupType = LookupType.ALL, count: Int = 25): LookupResult(source)

Looks up securities by query string with optional type filtering.

This method searches for stocks, ETFs, mutual funds, indices, futures, currencies, and other financial instruments matching the query.

Return

LookupResult containing matching securities

Parameters

query

Search query string (e.g., "Apple", "AAPL", "technology")

type

Type of security to search for (default: ALL)

count

Maximum number of results to return (default: 25)

Throws

if the request fails

Samples