Skip to content

Stock market simulator in form of web application, built in Python-Flask

License

Notifications You must be signed in to change notification settings

Muyoouu/stockmarket-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Logo

stockmarket-webapp

Stock market simulator in form of web application, built in Python-Flask

About The Project

Product Name Screen Shot

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.

(back to top)

Built With

  • Python
  • Flask
  • Bootstrap
  • SQLite

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • pip
    apt-get install python3-pip
  • python 3.10

Installation

  1. Get a free API Key at https://www.alphavantage.co/
  2. Clone the repo
    git clone https://github.com/Muyoouu/stockmarket-webapp.git
  3. Install pip packages
    pip install -r /path/to/requirements.txt
  4. Export your API KEY in terminal to create environment variable
    export API_KEY='ENTER YOUR API KEY'
  5. Run your Flask app in local using this command
    flask run

(back to top)

Usage

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/

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Musa Yohanes - [email protected]

Project Link: https://github.com/Muyoouu/stockmarket-webapp

(back to top)

Acknowledgments

  • 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!

(back to top)

About

Stock market simulator in form of web application, built in Python-Flask

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages