The Stock Portfolio Management System is a web application designed to help users manage their stock portfolios. Users can add, view, and delete stocks from their portfolio, with real-time stock data fetched from the IEX Cloud API. The application is built with Django on the backend and Bootstrap for the frontend, providing a responsive and user-friendly interface.
- Backend: Django
- Frontend: HTML, Bootstrap
- Database: SQLite
- APIs: IEX Cloud API for real-time stock data
__pycache__/
migrations/
templates/
├── about.html
├── add_stock.html
├── base.html
├── delete_stock.html
├── home.html
__init__.py
admin.py
apps.py
forms.py
models.py
tests.py
urls.py
views.py
stocks/
├── __pycache__/
├── __init__.py
├── asgi.py
├── settings.py
├── urls.py
├── wsgi.py
db.sqlite3
manage.py
- Python 3.x
- Django
- An API key from IEX Cloud (Replace
pk_a981c459352a4e17abc059d0cef5b16ewith your own API key inviews.py)
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd <project-directory>
- Install the required packages:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Run the server:
python manage.py runserver
- Open your web browser and navigate to
http://127.0.0.1:8000/.
- Home Page: Displays the current portfolio with real-time data. Enter a stock ticker symbol to get its current details.
- Add Stock: Navigate to the "Add Stock" page, enter the stock ticker symbol, and click "Add".
- Delete Stock: Navigate to the "Delete Stock" page, select the stock to delete, and confirm deletion.
- About Us: Information about the application and its purpose.
If you would like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
For any inquiries, please contact [Your Name] at [Your Email].