Inspiration

We were inspired by the growing need for accessible and interactive tools that provide real-time stock market data. With the increasing popularity of stock trading and investing, we wanted to create a platform that allows users to track and visualize live stock performance in a user-friendly way.

What it does

Stock-Simulator allows users to input stock tickers and instantly visualize real-time stock data through interactive charts. The platform provides candlestick charts that update minute-by-minute, offering insights into the stock’s price movements throughout the day.

How we built it

The backend is built using Flask, a Python web framework, which communicates with Yahoo Finance API (via the yfinance package) to fetch real-time stock data. The data is processed and visualized with Plotly, a powerful graphing library, which generates interactive candlestick charts. The frontend is designed using HTML and Tailwind CSS for an aesthetically clean, responsive, and modern interface.

Challenges we ran into

  • Integrating live data with minute-by-minute updates in real time.
  • Ensuring the platform is responsive and works well on both desktop and mobile devices.
  • Handling errors and edge cases, such as invalid tickers or API downtime.

Accomplishments that we're proud of

  • Successfully integrated real-time stock data from Yahoo Finance.
  • Built interactive, dynamic candlestick charts that update live.
  • Created a clean and intuitive user interface with responsive design.

What we learned

  • Gained hands-on experience with Flask for building web applications.
  • Learned how to work with Plotly for dynamic data visualization.
  • Improved our understanding of how to fetch and manipulate real-time stock data via APIs.

What's next for Stock-Simulator

  • Implementing more advanced features like stock comparison and historical data analysis.
  • Enhancing the UI with more customization options and user preferences.
  • Potentially adding user authentication to allow users to save their favorite stocks for quick access.

Built With

Share this project:

Updates