StonksAI: Your AI Financial Advisor

Inspiration

The world of personal finance is unnecessarily complex and often intimidating, leading to a significant gap in financial literacy. Traditional advice is generic, and manually tracking multiple savings and investment accounts is a tedious chore. We saw a powerful opportunity to leverage Artificial Intelligence to transform this experience from a frustrating obligation into a personalized, engaging journey toward financial mastery.

Our core belief is that everyone should be able to take control of their finances. StonksAI is designed as the essential tool to demystify and vulgarize complex financial concepts that can feel overwhelming to beginners. Our inspiration was to create a truly smart, proactive financial co-pilot that makes understanding and optimizing your money as intuitive as asking a question, empowering users to make confident decisions.


What it does ✨

StonksAI is your cutting-edge AI-powered personal finance platform, designed to demystify investing, optimize savings, and provide actionable, hyper-personalized financial insights. We go beyond simple tracking to become a strategic partner in your wealth-building journey.

  • Advanced Portfolio & Account Monitoring 🏦: Consolidate and monitor all your savings, checking, and investment accounts in one secure place, providing a holistic view of your entire financial landscape. This includes:

    • In-Depth Visualization: Dynamic graphs and sector/geographic "pie" charts to instantly visualize asset allocation and manage exposure.
    • Dividend Calendar: A clear calendar of upcoming dividend payouts to track passive income.
    • AI Portfolio Creation: An integrated tool to help you generate a new, optimized portfolio based on your specific goals and risk tolerance.
  • AI Financial Assistant (Personalized Chatbot) 🤖: Our dedicated chatbot is directly linked to your live portfolio's assets and transaction history. This allows it to give the most personalized and context-aware responses, guiding your future financial decisions, whether they concern diversification, growth strategies, or risk management.

  • Intelligent Stock Research Page 📈: A dedicated page for stock research featuring instantaneously updated data and charts. This page is enhanced with "AI Prompt Buttons"—suggested questions the AI can answer about the specific stock to help the user conduct focused, in-depth analysis and smarter decision-making.


How we built it

Our architecture is focused on speed, modularity, and leveraging state-of-the-art AI. We designed a Hackathon-Ready MVP with the following stack:

  • Frontend: React Native (for cross-platform iOS/Android compatibility) to build a slick, intuitive user interface that feels native on any device.
  • Backend: FastAPI (Python) for rapid API development, handling secure data transmission, efficient AI integration, and integrating the live Financial Data API.
  • Database/Auth: Supabase for a scalable database, robust user authentication, and secure data storage.
  • AI/ML: The Gemini API handles sophisticated natural language understanding (NLU) and complex financial strategy validation. We also leveraged Mistral (or similar smaller, specialized models) for rapid, contextual stock research summarization.

Challenges we ran into

  • Integrating Live Financial Data: A major technical hurdle was successfully integrating a live Financial Data API to power the graphs, update stock data, and provide current valuation for shares. This was critical for the app's core functionality.
  • Prompt Engineering for Financial Nuance: Crafting effective, detailed prompts for the LLM (Gemini) was a significant challenge. We had to ensure the AI could consistently provide safe, non-generic, and balanced financial advice that guides, but doesn't mandate, user decisions, prioritizing compliance and responsibility.
  • Balancing Simplicity and Detail: The difficulty lay in designing a UI that cleanly presents complex financial data (like sector breakdowns and risk metrics) and AI insights without overwhelming the user, successfully maintaining a low barrier to entry for financial newcomers.

Accomplishments that we're proud of

  • Functional AI Financial Strategy Advisor: We successfully built an LLM prompt chain that can evaluate a user's stated financial goals and portfolio structure to deliver a clear, actionable "Financial Health Check" with concrete areas for improvement.
  • Developing a "Zero-Jargon" Educational Interface: We achieved our goal of ensuring that all AI responses and data visualizations are presented in clear, accessible language, finally making advanced financial concepts understandable for everyone, regardless of their background.

What we learned

This project provided invaluable lessons at the intersection of finance, user experience, and generative AI. We quickly learned the critical importance of data security and privacy when handling sensitive financial information. More profoundly, we gained deep insight into the art of Prompt Engineering and realizing that an effective financial advisor LLM requires highly structured prompts to ensure advice is responsible, compliant, and genuinely helpful rather than just conversational.


What's next for StonksAI - Your AI financial advisor

The next phase of StonksAI will focus on expanding our core capabilities to transition from an MVP to a truly indispensable financial co-pilot:

  1. Direct Broker Integration: Establishing secure, encrypted connections to major brokerage platforms to enable live, seamless portfolio synchronization with the application.
  2. AI Modeling Resilience: Implementing advanced AI models to refine the portfolio "health check" with better, more nuanced recommendations. We plan to dedicate time to further training our models to improve the resilience and redundancy of the information provided.
  3. Gamified Financial Education: Developing interactive, bite-sized lessons and challenges to boost financial literacy through engaging, habit-forming mechanics.

Built With

Share this project:

Updates