Posts

Programming My Own Trading Chart - Part 11

avatar of @leoplaw
25
@leoplaw
·
·
0 views
·
1 min read

One of the project supporters on the Discord group recently gave me a bit more of a push to put some more energy into the TradeX Chart project.

I just wrote the render loop and queue for TradeX. I've built it so that by default (boolean flag) it will drop frames and render the next most recent frame on the queue, if the current frame is taking too long to render, and purge any others in the queue.

It remains to be seen upon testing how jumpy / jerky this might be, but the rendering should always be up to date with the latest input or event, and thereby make the chart very responsive. So that's the theory at least for now.

This should also eliminate the chart lock up when it is overloaded with inputs / events and displaying large numbers of candles.

Come to think of it, this might even further improve it's performance with high frequency chart data updates.

Hopefully I can report back to you soon with positive results. 😀

Posted Using LeoFinance Beta