frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: My first project, an AI-powered financial news analyzer

https://github.com/lamarcol/NotBot
2•lamarcol•1h ago
I'm 17, and I started NotBot a few months ago to see whether I could turn an idea into a working project. My main interest is economics, not becoming a programmer, but I enjoy experimenting with code.

A few months ago, I had the idea of creating a program that would analyze the most recent news about a specific stock and calculate a weighted average of their polarity to create a sort of sentiment indicator.

While researching, I found a YouTube video about creating a simple GitHub repository that did, in a simplified and imprecise way, what I had in mind. At first glance, I realized it was a very simple program: feedparser retrieved news from Google News, beautifulsoup4 extracted the content, the sentiment was analyzed with FinBERT, running through Transformers and PyTorch.

From there, I started modifying it with the free versions of Gemini. I had to solve a lot of problems, for example fixing the extraction of articles from Google News, I managed to solve it with a new library (googlenewsdecoder).

Then I had to replace FinBERT, because it classified sentiment based on the context of the words but didn't take into account the actual impact of the event using external sources.

I experimented with an LLM that allowed me to specify the evaluation criteria more precisely through a prompt. I found a free one with rather strict TPM and RPM limits (it was called openai/gpt-oss-120b).

I also created two coefficients: one that adjusted the reliability of the news based on its source, and another that adjusted its impact based on how recent it was (all selected news articles had been published within the last 24 hours). Each article was divided into title, description, and content, and each of these three sections had a different weight based on predefined values (title 35%, description 25%, and text 40%). If the content had fewer than 100 characters, the text was not assigned any weight, and the title accounted for 60% while the description accounted for 40%.

After these modifications, I took a break of about a month because of school commitments, during which I discovered Codex (OpenAI's agent).

I changed the main LLM and implemented Gemini (3.1 Flash-Lite) because the TPM limits of the LLM I was using were too restrictive.

Even though I started using Gemini, I didn't discard Groq. In fact, I used it as a fallback in case Gemini returned some kind of error.

Another important modification was the addition of asynchronous article downloading through aiohttp and the processing of multiple articles simultaneously through asyncio. Later, I decided to start using Groq again for article analysis. In fact, I had both LLMs analyze the longer articles and then calculated the average of their two polarity scores.

The first was Finnhub, which allowed me to search for many more news articles about a specific stock (by entering its name and ticker).

At that point, I had to split up the code because the script had become very long.

The last modification I made concerned news selection: I implemented a filter that prevented similar news articles from being selected, to avoid excessively distorting the polarity in an incorrect way.

First of all, I'd like to know, from an expert, how well the project is built from a structural point of view and how it could be improved. For future projects, what parameters should I take into consideration to understand whether a project is well built?

Secondly, I'd like to know how I can determine whether a program like this can actually work, or at least how it could be useful (even with some modifications).

The third and final point is: which aspects of the pipeline might require more attention or could be optimized? Does it make sense to continue working on the project (also with the idea of turning it into a product), or am I approaching a structural limit?

Show HN: Vegetable Gardening for Engineers

https://jrcpl.us/contrib/2020/gardening-for-engineers/
155•jrcplus•4d ago•31 comments

Show HN: SafeScript, a safe version of JavaScript for executing untrusted code

https://github.com/SafeScript/safescript
7•EGreg•2h ago•1 comments

Show HN:Free Web Tools

https://nyneon.net/tools/
3•Munayem•1h ago•3 comments

Show HN: My first project, an AI-powered financial news analyzer

https://github.com/lamarcol/NotBot
2•lamarcol•1h ago•0 comments

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
276•hedgerow-dev•1d ago•64 comments

Show HN: Bulk-harden all your GitHub repos' settings without an API token

https://gist.github.com/1ch4k/ba726954db1cc509c2071d54f93b5304
2•1ch4k•3h ago•1 comments

Show HN: Where Were We

https://wherewerewe.app/
53•zkiihne•1d ago•18 comments

Show HN: Nexjoin – A C++ remote desktop alternative (Windows XP+, macOS 10.13)

https://nexjoin.io/README.html
2•szigand•5h ago•1 comments

Show HN: Elo Ratings for Tests, ODIs, and T20Is

https://outside-edge.github.io/side_order/
3•neehao•5h ago•2 comments

Show HN: We compressed a 31B video+audio diffusion model to 14B, 6 steps, INT8

https://github.com/Video-Rebirth/hyperflow-h3-flash
75•jiant•1d ago•14 comments

Show HN: Ghanaian street games you can play in the browser

https://www.ghanastreetgames.com/
3•samuelaidoo45•8h ago•0 comments

Show HN: Notekpr – An open-source, E2EE alternative to Notion and Obsidian

https://notekpr.md
2•coolapso•6h ago•2 comments

Show HN: Maple – Sub-2-BPW Moe Pruning to Run Gemma 4 26B at 45 TPS on a 6GB GPU

https://github.com/AmSach/maple
20•AmSach•20h ago•5 comments

Show HN: Build a PC in 3D in the Browser

https://www.buildcores.com
2•ozaiworld•6h ago•2 comments

Show HN: An offline desktop companion to help maintain a healthy blink rhythm

https://eyesrhythm.com/
38•prnysoni•1d ago•22 comments

Show HN: Maple – Run Gemma 4 26B on a 6GB Laptop GPU at 45 TPS (Sub-2-BPW)

https://amsach.github.io/maple/
4•AmSach•7h ago•0 comments

Show HN: Spindle – a full-featured, type-safe web framework for OCaml 5

https://github.com/hyphatech/spindle
62•zaiev•3d ago•9 comments

Show HN: LLM weight editing tool made by a 15-year-old

https://github.com/Miyamoto-Renya/LaplacesScissors
13•032renya•21h ago•2 comments

Show HN: Waymark – A workflow engine that compiles jobs instead of replaying

https://github.com/piercefreeman/waymark
84•icyfox•3d ago•46 comments

Show HN: Recalc – Spreadsheet where cells can be Claude Code or Codex terminals

https://github.com/sshah03/recalc
3•sshah03•9h ago•2 comments

Show HN: Aircheck shows every post your agents queued today on one screen

https://aircheck.dev
3•kyisaiah47•9h ago•2 comments

Show HN: Joggo – a self-hosted GitHub Actions runner for the Windows PC you use

https://github.com/telluric-dev/joggo
2•AmirCat•9h ago•1 comments

Show HN: Nino – Fastest C# serializer, safe on untrusted input, also TS/Go/Rust

https://github.com/JasonXuDeveloper/Nino
3•jnx11•9h ago•0 comments

Show HN: Lipwise

https://getlipwise.com/
2•lnenad•9h ago•0 comments

Show HN: Cross-device passkey auth on Android 9, synced with Bitwarden

https://rsnel.github.io/passkeychain/
2•riksnel•10h ago•1 comments

Show HN: Micron – The Oberon with the Power of C

https://github.com/rochus-keller/Micron
5•Rochus•10h ago•6 comments

Show HN: Tmux-restore saves tmux windows and agent sessions across reboots

https://github.com/andrewboldi/tmux-restore
62•boldi•5d ago•37 comments

Show HN: Green tests are not proof – verifier for C/C++ and firmware fixes

https://unfix.dev/
15•u-pump•3d ago•2 comments

Show HN: Is your product AI slop?

https://slopcalculator.com/
3•nshelia•5h ago•3 comments

Show HN: A decent text-to-image model trained for ~$20K (Apache 2.0 Weights)

https://www.linum.ai/field-notes/pjit-21k
284•schopra909•4d ago•29 comments