Optionaldb: string | { dbToken: string; dbUrl: string }Optional database configuration:
undefined → uses ${getTempDir()}/NasdaqSymbols.sqlitestring → local SQLite file path{ dbUrl: string; dbToken: string } → Turso/LibSQL remoteArray of ingestor URLs (e.g., Google App Script endpoints) to query for missing symbols.
Graceful shutdown – disconnects the database driver.
Get symbol data. Searches Nasdaq API, external ingestors, and the DB. The sequence order is optimized dynamically based on whether it is running in an Edge environment.
null if the symbol is not found or is inactive.
Force a full refresh of the symbol database. Called automatically on first use if needed.
Nasdaq symbol database using ts-core SQLite (local or Turso) alongside API & Ingestor fallbacks.
Automatically refreshes on first use or when data is older than today (NY time). Modifies search hierarchy (DB vs API) dynamically based on edge vs non-edge runtimes.