Market Explorer
is a small web app built using:
- Flask to serve the app
- Dash as a dashboarding framework
- ArcticDB for caching and storing market data
- Plotly to interactively visualise data and analyses
- pandas for data handling
- yfinance for fetching market data
Market data for desired products listed on e.g. the NASDAQ exchange can be plotted and analysed interactively.
Data are cached in an ArcticDB database to avoid redownloading over and over,
Market Explorer is packaged as a Conda environment specified in ./environment.yml
. While this package was developed on MacOS 14, it should work in any UNIX-like environment, such as a recent Ubuntu or Red Hat image.
Create the market-explorer
Conda environment with:
conda env create -f environment.yml
Create a .env
file in the repository root, e.g. by copying the .env.example
file, and change the environment variables as desired.
You will also need a dump of the NASDAQ tickers list from https://api.nasdaq.com/api/screener/stocks?tableonly=true&download=true
placed inside ./data/nasdaq.json
.
Run the Market Explorer Flask app with:
python3 app.py
The Market Explorer app will be available (by default) at http://127.0.0.1:5000/dashboard/.
The first boot might be slightly slower due to importing the NASDAQ ticker list and storing in the local database.