plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.
https://plotly.com/dash
MIT License
20.86k stars 2.01k forks source link

asyncio #111

Closed Elektra58 closed 6 years ago

Elektra58 commented 6 years ago

Is it possible to pull the data from an asynchronous API such as InteractiveBrokers' and use Dash for realtime data? We are using a new framework ib_insync and integrating this with Dash would be fantastic.

chriddyp commented 6 years ago

Your best bet right now would probably be to use the Interval component (see https://plot.ly/dash/live-updates) and read the data from a file or a shared memory store like Redis (see https://plot.ly/dash/performance)