StockTracker is a Python application that help analyse and visualise stock performance data for a list of companies. It provides a user-friendly GUI for comparing stock prices, viewing historical trends, and staying updated with the latest news.
Please head to StockTracker for more detailed explanation.
A version of the web app that contains part of the database has been deployed here.
StockTracker is designed to simplify stock analysis and decision-making. It fetches stock data for multiple companies, plots interactive graphs, and offers real-time news updates. Key features include:
- Graphical representation of historical stock prices.
- Live stock price tracking and display.
- Integration with Alpha Vantage, providing the latest available closing price.
- Integrate with News API for up-to-date news related to selected companies.
- Python 3.10
- Flask
- Plotly
- Pandas
- psycopg2-binary
- Streamlit
- yfinance
- PostgreSQL
Please refer to the how-to guide for detailed installation instructions.
The image showcases the GUI, featuring elements such as the company selection dropdown menu, latest closing price, current news, and historical performance.
StockTracker incorporates various tests to ensure its stability and reliability. To execute these tests, follow these steps:
- Go to the tests directory.
- Run the tests.
NOTE: This section is deprecated due to the migration from csv files to PostgreSQL database.
Contributions to StockTracker are welcome! If you'd like to contribute, please follow these guidelines:
- Fork the project.
- Create your feature branch (git checkout -b feature/your-feature-name).
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature/your-feature-name).
- Open a pull request.
This project is licensed under the MIT License.