https://github.com/nishant-nayak/finance-flask
A Flask based Web Application that allows users to buy and sell real shares with virtual cash
https://github.com/nishant-nayak/finance-flask
api flask html-css-javascript python shares sqlite3
Last synced: 2 months ago
JSON representation
A Flask based Web Application that allows users to buy and sell real shares with virtual cash
- Host: GitHub
- URL: https://github.com/nishant-nayak/finance-flask
- Owner: nishant-nayak
- Created: 2021-04-30T20:43:52.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T21:05:25.000Z (about 5 years ago)
- Last Synced: 2025-05-20T13:10:03.330Z (about 1 year ago)
- Topics: api, flask, html-css-javascript, python, shares, sqlite3
- Language: Python
- Homepage:
- Size: 136 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stock Market Trading Simulator
[](https://palletsprojects.com/p/flask/)
[](https://github.com/nishant-nayak)
[](https://github.com/ellerbrock/open-source-badges/)
---
## Features
- Users can login and register through the web interface

- Users can view their current portfolio

- Users can buy and sell shares using virtual cash

- Users can view their detailed transaction history

- Latest share prices obtained from the [IEX Cloud](https://iexcloud.io/) API
## How to Install
1. Clone the repository using the following command:
`git clone https://github.com/nishant-nayak/finance-flask.git`
2. Install all the necessary Python package requirements by running the following command:
`pip install -r requirements.txt`
3. Set up the [Environment Variables](#environment-variables)
4. To run the Flask server on localhost port 5000, run the following command:
`flask run`
## Environment Variables
The API_KEY is stored in a `.env` file within the project folder. To obtain an API Key, follow the steps defined at [IEX Cloud](https://iexcloud.io/core-data/). For the project to work, create a file with the name `.env` and enter the following contents:
`API_KEY=`
## Contact
[GitHub](https://github.com/nishant-nayak) | [Email](mailto:nishantnayak2001@gmail.com) | [LinkedIn](https://www.linkedin.com/in/nishant-nayak-01/)