https://github.com/lit26/market_watch
A full-stack platform that tracks personal stock and option trading
https://github.com/lit26/market_watch
option-trading python-flask reactjs stock-trading
Last synced: 9 months ago
JSON representation
A full-stack platform that tracks personal stock and option trading
- Host: GitHub
- URL: https://github.com/lit26/market_watch
- Owner: lit26
- License: mit
- Created: 2020-07-05T05:46:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T06:25:19.000Z (almost 5 years ago)
- Last Synced: 2025-01-30T21:31:44.707Z (11 months ago)
- Topics: option-trading, python-flask, reactjs, stock-trading
- Language: JavaScript
- Homepage:
- Size: 11.6 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Market_Watch
## Website
Front-end React.js website for display personal portfolio (stock & option).
## API
Back-end Python Flask API for storing stock and option portfolio.
| HTTP Method | URI | Action|
| ------------- | ------------- | ------------- |
| GET | http://[hostname]/api/history/all | get all the stock transactions |
| GET | http://[hostname]/api/history/[transaction_id] | get a stock transaction |
| POST | http://[hostname]/api/history/transaction | Create a new stock transaction |
| POST | http://[hostname]/api/history/transaction/[transaction_id] | Update an existing stock transaction
| GET | http://[hostname]/api/option/all | get all the option transactions |
| GET | http://[hostname]/api/option/[transaction_id] | get a option transaction |
| POST | http://[hostname]/api/option/transaction | Create a new option transaction |
| POST | http://[hostname]/api/option/transaction/[transaction_id] | Update an existing option transaction |
| GET | http://[hostname]/api/tickercategory/ | Getting ticker list of charts |
| GET | http://[hostname]/api/rehreshcharts | Refreshing charts |
| POST | http://[hostname]/api/delete_chart | Deleting chart at the backend |
## Running
For local run, React.js website normally run on http://localhost:3000 and Python Flask API run on http://localhost:5000 which will cause CORS errors, the project has already handle this by adding proxy in React.js package.json.
## Screenshot


## Watchlist
Watchlist will download charts from finvizfinance package. This will include personal watchlist and stock signal charts.
