Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 793 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 793 Bytes

Streamlit Stream STONKS!

stonks

A practical implementation of a realtime stocks dashboard using streamlit stream template.

How to run ?

Clone the repo,

  1. Get your API key from Finnhub 2.a. (Unsafe) Replace ${FINNHUB_TOKEN} in docker-compose.yml with your api 2.b. Set host machine's env variable FINNHUB_TOKEN=your-token-value
  2. docker-compose up

And you are done.

You can only have one active websocket connection at a time with free trial of finnhub!

snippet

Development

The docker-compose by default mounts the "consumer" directory to "src" inside container to leverage hot-reload of streamlit, so that you dont have to install any dependencies locally ! 😊