Welcome to Finance, the Stock Trader Web App! This Flask application allows users to buy and sell stocks in a simulated stock market environment. Users can create accounts, manage their portfolios, and track their transactions seamlessly. The project is a part of the CS50x course and utilizes the IEX API for real-time stock data.
- User Authentication: Users can create accounts and securely log in to manage their portfolios.
- Stock Market Simulation: Utilizes real-time stock data to simulate a dynamic stock market environment.
- Buy and Sell Stocks: Users can buy and sell stocks using real-time data fetched from the IEX API.
- Portfolio Management: Users can view their current portfolio holdings and track their investment performance over time.
- Transaction History: Detailed transaction history is provided to users for transparent tracking of their trades.
- Flask
- HTML
- CSS
- SQLite3
- Python
- IEX API
To run the Stock Trader Web App locally on your machine, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/ammar-jesliy/finance.git
- Install the required dependencies:
pip install -r requirements.txt
- Set up the database by running:
flask db upgrade
- Start the Flask development server:
flask run
- Open your web browser and navigate to http://localhost:5000 to access the application.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please feel free to open an issue or submit a pull request.
This project was completed as part of the CS50x course offered by Harvard University. Special thanks to the CS50 team for their guidance and support throughout the course.