Inspiration

There is a flood of news in the investment market every day, making it difficult for ordinary investors to gauge the overall market sentiment and decide how to invest based on these updates. Using AI to quickly summarize the latest news and extract the resulting market sentiment and investment insights can be highly beneficial for everyday investors.

What it does

Here how the extension works:

  • Extracts key news headlines from Yahoo Finance,
  • Uses the Gemini Nano Prompt API to summarize and personalize the content,
  • And delivers clear insights on market sentiment and investment strategies.

How we built it

I built a Chrome extension that provides a user interface to collect personalized information. The extension uses JavaScript to extract headline news from Yahoo Finance and then calls the Gemini Nano Prompt API to generate concise summaries of market sentiment and tailored investment insights.

Challenges we ran into

The Gemini Nano Prompt API required some time to generate responses, which affected the user experience. To make the interaction smoother, I switched to the Prompt Stream API, allowing results to appear progressively and improving responsiveness.

Accomplishments that we're proud of

The generated market sentiment and investment suggestions are clearly grounded in the latest financial news and personalized user data, making them genuinely useful for investment decisions. The system supports multiple asset classes—including stocks, crypto, and housing—and can be easily extended to cover more in the future.

What we learned

The Gemini Nano Prompt API demonstrates strong summarization and reasoning capabilities, effectively generating valuable insights from the provided information. Its performance on edge devices is also impressive, offering both speed and efficiency.

What's next for AI Investment Insight

We plan to enhance the project in the following ways:

  • Expand coverage to include more asset classes.
  • Improve news extraction, allowing users to analyze not only the past 24 hours but also customize the time range for deeper historical insights.

Built With

Share this project:

Updates