Question regarding filtering/sorting of relevant stock news
I am reaching out to you with an interest in the way you have designed your Yahoo Finance application, whether on desktop, iOS or similar - and specifically, in the way that news you code the sorting/filtering-mechanism that 'chooses' which news are shown under which stocks.
I am currently building an news-application, where I am trying to utilize news API's and LLMs to gather relevant news articles for the user, but I am having issues with figuring out how I should approach and code a proper function, that ensures that the user only sees news relevant to their stock. And I thought what better way, than to contact one of the most well-driven and structured finance applications.
I don't expect your way of coding this mechanism to be open source (although it would be fantastic if it was), but are you able to share some tips or maybe a general description of the mechanisms you deploy to successfully sort and filter relevant news for each company?
E.g. the company First Solar (FSLR): This company currently has around 12 'Recent news'-articles shown in the desktop-app. In this specific case, I would expect the different news to primarily be sorted by title, as all the titles include 'First Solar' in them?
But in another example, e.g. Applied Digital (APLD): Some of the 'Recent News'-articles does not contain Applied Digital or APLD in the title, but in the content of the article - so I would expect that to be the sorting mechanism - by mentions of the company name in either the title, or in the articles content.
These seem "simple" and do-able. But there are other companies that I have a way harder time of succesfully sorting/filtering news for. One of these companies is PayPal. What I have experienced is, that when i filter news by mentions of the company in the title or content, it can be a challenge with companies like PayPal, Visa or anything similar.
The reason for this is of course, that some shopping-, store- or selling articles (which are usually very irrelevant to the stock) contain methods of payment, e.g. PayPal and so on and so forth. Which is why these companies are included. How do you solve this? Is it simply down to the quality of the news API's that I use to draw the news, or do you have an intelligt method/concept of handling this?
I am unsure whether this is the right place to contact for this sort of elaborate question, but I hope it can find it's way to the right person. I would really appreciate the help with my project.
Best regards