The web-application visualizes S&P 500 stock market data.
The application is written in Python and uses Flask, Dash yFinance and Pandas. It is staged and deployed using Heroku pipeline.
The app doesnot use any database. It collects data from yFinance (Yahoo Finance API) and creates an market_data
object, which then gets used in the app.dashboard.callbacks
function for generating graph and table.
- Create virtualenv
venv
for python-3.7 - Activate virtualenv
- Install requirements
pip install -r requirements.txt
- run server
gunicorn run_server:server
uri = /api/v1/history/
Input parameter
ticker = Ticker name of listed S&P 500 (required)
Response:
<Date>
Close
High
Low
Open
Volume
Stock Splits
Dividends