How do I create empty chart and update with realtime data #443
-
I was trying to create empty plot and after that update it with realtime data. Just want to plot it no any indicator or anything just simple candlestick chart only. How do I do it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
There are two examples included which updates in real time. One uses http calls to fetch new data, and stalls the whole plot during that time (bfx.py), and the other uses websockets and is a bit more involved (complicated.py). finplot is for plotting, not for fetching data, so you'll have to build that part yourself. Best is perhaps to use |
Beta Was this translation helpful? Give feedback.
There are two examples included which updates in real time. One uses http calls to fetch new data, and stalls the whole plot during that time (bfx.py), and the other uses websockets and is a bit more involved (complicated.py). finplot is for plotting, not for fetching data, so you'll have to build that part yourself. Best is perhaps to use
complicated.py
and strip away code you don't need and you'll end up with a few lines that you can modify to suit your needs.