Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.04 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.04 KB

Influxdb Dash

Collect historical stock data from Alphavanteage API and store into Influxdb timeseries db and visualize as web app.

Setup & run

Set .env file credentials

  • alphavantage_scraper/.env
  • influxdb/.env
  • dash_app/.env
$ docker-compose up --build --detach  

NOTE: temp fix for initial access token missing.

  1. Start Influxdb: Create all access API tocken > set in scraper dir .env
  2. Restart scraper script

Influxdb

Timerseries database 2.5.1 Influx docs Web interface <HOST URL>:8086/ influxdb notebook

Development setup

Start as standalone host instance from witin /influxdb dir:

docker run \
    --name influxdb \
    -p 8086:8086 \
    --volume $PWD:/var/lib/influxdb2 \
    influxdb:2.5.1

Python data scraper

Collecting time series data from REST API

Dash web app

Web interface for data visualization Web interface <HOST URL>:8080/

dash app