Skip to content

News Symbol filter matches ordinary words for short tickers #1387

Description

@luokerenx4

Symptom

The News Symbol filter treats a ticker as a case-insensitive substring of the title, body, and categories. Searching for Ford's F therefore also returns an unrelated headline such as Fed cuts rates; short tickers such as A and T are similarly noisy.

Reproduction

Open Market → News, enter F in Symbol, and search. At the HTTP boundary, provide two provider records titled Fed cuts rates and F announces earnings, then request /api/news?symbol=F: both records are returned. A maintainer audit regression reproduced this on PR #1383.

Expected behavior and ownership

Use explicit ticker boundaries for Symbol filtering while retaining substring matching for Keyword. Preserve supported ticker punctuation and mirror the contract in demo handlers. Relevant code: src/webui/routes/news.ts (matchesNewsFilters) and ui/src/demo/handlers/newsList.ts.

Deferral

The maintainer accepted #1383's reading stream and sidebar after repairing tab selection and refining navigation. Ticker matching is deferred to a focused follow-up rather than expanding that accepted UI work. Related #1381 covers precise tag filtering; this issue explicitly covers the separate Symbol input.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions