Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver2
207いいね 9059回再生

Websockets In Plotly Dash in real-time with SQLite3

We integrate real-time updates from a websocket into plotly dash. We stream real-time cryptocurrency price data from Binance and save down the aggregated trades to an sqlite3 database, which is then queried by our dashboard and updates displayed every 200ms.

We show how to smoothly animate and update a graph without having to re-draw it.

⭐ Code:
github.com/ChadThackray/dash-websockets-2022

Timestamps:
00:00 - Introduction / Project overview
03:12 - Backend / Database using Sqlite3
25:03 - Frontend / Charting using Plotly Dash

コメント