Inspiration✨

The reason we created this application is that as beginners to personal finance, and stocks in general, we believe that having a bot that generates straightforward answers regarding a professional field through the use of AI would be extremely helpful. As it will not only reduce the time cost for users, but also significantly lower the entry barriers for newcomers.

Through embedding AI components into our system, users will get a clear overview of the specific stocks they want to look into no matter how inexperienced they are in financing.

What it does 📚

Our application includes:

  • Extraction of real-time stock prices
  • Calculate Simple Moving Averages (SMA) and Exponential Moving Averages (EMA)
  • Compute the Relative Strength Index (RSI) to assess the stock's momentum
  • Calculate the Moving Average Convergence Divergence (MACD)
  • Visualize stock price trends with interactive charts
  • AI Advise on investment of the stock

How we built it 🔨

Software we used:

  • IDE: Visual Studio Code
  • Language: Python(backend), HTML/CSS(frontend)
  • Other tools and APIs: Flask, OpenAI API Key, Matplotlib

The core function of our application is the RichGoose AI bot itself.

Backend: We initiated the building process by extracting real-time stock data from Yahoo Finance. We used various functions to calculate components, such as SMA, EMA, RSI, and MACD. For visualizing the stock plot, we employed the Matplotlib library. Once completed, we integrated AI components to provide users with a clear overview of the specific stocks they want to explore. By connecting the API key to the system, we enabled the natural language processor to understand user input. After collecting user information, the program sends the necessary data we 'scraped' to the AI, allowing it to generate clear and visually appealing responses to user questions.

Frontend: On the frontend, we've meticulously designed the entire web app's user interface using Figma. This comprehensive design encompasses various landing pages that guide users through the process of buying stocks, ensuring even those new to stock investments can easily navigate the platform. In terms of the design of the website, we have the bot page where users are able to input their questions and a stock information page. For all the UI design aspects of things described above, we used HTML/CSS along with Flask.

Challenges we ran into 🤯

The biggest challenge for us is the lack of experience we have in building a project in this limited time

  • Linking the GPT language model to the front end
  • Determining the size of the model, had to scale down
  • Organizing the UI design
  • Connecting to the API key in the beginning

Accomplishments that we're proud of 🙌

  • Utilization of GPT function calling
  • Successfully implementing the GPT language model to process the most recent data on the web.
  • Making a user-intuitive web application UI using Figma.

What we learned 📖

  • Creating dynamic HTML templates that display data from Python
  • Using version control tools (e.g. Git) to manage the project's codebase.
  • Understanding how to set up a web application using a Python web framework.
  • The use of API key

What's next for FlockStock 🔮

  • Implement features that are more customizable (saved stocks page, user profile page, etc)
  • Improve the UI design
  • At this stage, users are only allowed to enter a ticker label for certain companies, in the future, it will become more interactive in terms of the overall format of the “bot page”

For showcasing the bot's implementation and functionality, we've utilized a basic Flask framework. Note that our vision includes a seamless integration of this bot into the website, ensuring a cohesive and user-friendly experience for our future users. We're committed to delivering a cutting-edge platform that combines the power of user-friendly design with advanced technology to simplify stock investments for everyone.

Built With

Share this project:

Updates