stack-orderflow icon indicating copy to clipboard operation
stack-orderflow copied to clipboard

High CPU, errors

Open k8p8sz opened this issue 3 years ago • 1 comments

Hi, Thanks for the nice app. I could get the gui with running the plotting_backend.py code but I have some issue:

  • throws errors in command windows
  • uses very high cpu and window freezes.

Please see screenshot: Any comment how should I resolve these? Thanks

k8p8sz avatar Jun 16 '22 08:06 k8p8sz

Hi @k8p8sz thanks for trying out. I am also noticing the real time streaming is very resource intensive and I am looking into it. Using a static data should be fine though.

The RunTimeWarning is probably due to the setting of price level bins - in your case it might be too big that one candlestick only contains one level of orderflow data. You may try to use a smaller price bin.

I have some major refactorings in my code, and for now, I have taken down the Influx component and real time streaming example. Will update when I find a solution.

tysonwu avatar Jun 17 '22 05:06 tysonwu