The StockWatch App is a web-based application designed to help users monitor and manage their stock portfolios. Built with Flask for the backend and Plotly Dash for the frontend, this app allows users to track their favorite stocks, view historical data, and maintain a personalized watchlist.
- 🔐 User Authentication: Secure registration and login functionalities.
- 📊 Stock Data Integration: Fetch delayed stock data using the Polygon.io API.
- 📈 Watchlist Management: Add, view, and remove stocks from your personalized watchlist.
- 📉 Data Visualization: Interactive charts and graphs to visualize stock performance.
- 📱 Responsive Design: Accessible on desktop.
- Backend: Flask, SQLAlchemy
- Frontend: Plotly Dash, Dash Bootstrap Components, CSS
- Database: SQLite
- API: Polygon.io
- Development Tools: VScode, Codespaces, GitHub
- Deployment: tbd
- Python 3.12
- Pipenv
-
Clone the Repository:
git clone https://github.com/yourusername/stock-tracker-app.git cd stock-tracker-app
-
Set Up Virtual Environment:
pipenv --python 3.12 pipenv install
-
Set Up Environment Variables: Create a
.env
file in the root directory and add your configuration:SECRET_KEY=your_secret_key DATABASE_URL=mysql://username:password@localhost/dbname POLYGON_API_KEY=your_polygon_api_key
-
Initialize the Database:
pipenv run flask db upgrade
-
Run the Application:
pipenv run flask run
-
Register and Login:
- Navigate to the registration page to create an account.
- Use your credentials to log in.
-
Search for Stocks:
- Use the search functionality to find stocks and view their data.
-
Add to Watchlist:
- Add stocks to your watchlist for easy tracking.
-
View Data:
- Access historical data visualized through interactive charts.
For questions or feedback, please contact [email protected].