Web application built in Flask-app, simulate stock-trading experience in stock-market.
Using real-time data provided by Alpha Vantage Free API, this app can simulate stock-market experience.
To get a local copy up and running follow these simple example steps.
- pip
apt-get install python3-pip
- python 3.10
- Get a free API Key at https://www.alphavantage.co/
- Clone the repo
git clone https://github.com/Muyoouu/stockmarket-webapp.git
- Install pip packages
pip install -r /path/to/requirements.txt
- Export your API KEY in terminal to create environment variable
export API_KEY='ENTER YOUR API KEY'
- Run your Flask app in local using this command
flask run
For starters, user should register a username-password in register page. After signed-in, user will be redirected to main page which will show user stock portofolios (if any).
Also there are features user can access, several feature available currently are:
- Quote - provide current stock price
- Buy - add stock to user portofolios (using mock-up cash balance)
- Sell - sell stock from user portofolios (adding mock-up cash balance)
- History - provide history of transactions done by user
Video Demo: https://youtu.be/g4sKowr7SDI
For more details, check out the web-app: https://stocksims.pythonanywhere.com/
Distributed under the MIT License. See LICENSE.txt
for more information.
Musa Yohanes - [email protected]
Project Link: https://github.com/Muyoouu/stockmarket-webapp
- This project initially was an assignment from learning course CS50. Which provide the ideas and guides for the app development.
- Real-time stock data provided by Alpha Vantage API.
- Credits to the README file template provided by Best-README-Template, very helpful!