Skip to content

feat: v0.4 — search/2 symbol/company autocomplete#6

Merged
fleveque merged 1 commit into
mainfrom
feat/v0.4-search
Jun 12, 2026
Merged

feat: v0.4 — search/2 symbol/company autocomplete#6
fleveque merged 1 commit into
mainfrom
feat/v0.4-search

Conversation

@fleveque

Copy link
Copy Markdown
Owner

Adds YahooFinanceEx.search/2 — free-text ticker/company autocomplete via Yahoo's /v1/finance/search endpoint (the same endpoint the legacy Ruby client used). Returns {:ok, results} with %{symbol:, name:, exchange:, type:} entries in Yahoo's relevance order; type is Yahoo's quoteType (EQUITY/ETF/MUTUALFUND/…) so callers filter instrument kinds. Blank queries short-circuit to {:ok, []} without HTTP. Goes through the same Session auth-retry path as every other endpoint.

Also:

  • Backfills the missing 0.3.0 CHANGELOG entry (0.3.0 shipped without one).
  • Hex description updated — dividend history and search are no longer "planned".

Consumed by quantic's Step 8 slice C (search-first add flow on Portfolio/Radar).

Test plan: 17 tests green (3 new: parsed matches + dropped no-symbol entries, blank-query short-circuit, empty result).

🤖 Generated with Claude Code

Free-text search via Yahoo's /v1/finance/search endpoint, returning
{symbol, name, exchange, type} entries in relevance order. type is
Yahoo's quoteType so callers can filter instrument kinds. Blank
queries short-circuit without HTTP.

Also backfills the missing 0.3.0 CHANGELOG entry and refreshes the
hex description (dividend history + search are no longer 'planned').

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@fleveque fleveque merged commit 838fb82 into main Jun 12, 2026
1 check passed
@fleveque fleveque deleted the feat/v0.4-search branch June 12, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant