A Flask-based web application that allows users to manage a personalized stock watchlist.
- 🔐 User Authentication (Signup/Login/Logout)
- 📊 Stock Watchlist (Add, remove, and track stocks)
- 📰 Real-time Stock News (Yahoo! Finance integration)
- 📈 Stock Price Updates (Automatic daily updates)
- 📩 Email Notifications (Significant price changes & daily reports)
- 📉 Historical Stock Data Visualization
- 💾 Download Watchlist as CSV
- 🛠 Profile Management
-
Clone the Repository
git clone https://github.com/funburak/Stonks.git cd Stonks -
Set Up Poetry If you don't have Poetry installed, you can install it by following the instructions here.
-
Install Dependencies
poetry install
-
Set Up Environment Variables Create a .env file in the root directory and add the following:
SECRET_KEY=your_secret_key SQLALCHEMY_DATABASE_URI=your_database_uri MAIL_USERNAME=your_gmail_username MAIL_PASSWORD=your_gmail_password_for_apps TZ=your_timezone CLOUDINARY_CLOUD_NAME=your_cloud_name CLOUDINARY_API_KEY=your_api_key CLOUDINARY_API_SECRET=your_api_secret
-
Initialize the Database
poetry run flask db init poetry run flask db migrate poetry run flask db upgrade
-
Run the Application
poetry run flask run
For detailed documentation, refer to the docs directory.
Stonks will be live on Render until 15 March 2025 at this website