Programming My Own Trading Chart - Part 11

avatar

Screenshot_20230222_000226.png

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



0
0
0.000
2 comments
avatar

Congratulations @leoplaw! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You distributed more than 9000 upvotes.
Your next target is to reach 10000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Check out our last posts:

The Hive Gamification Proposal
Support the HiveBuzz project. Vote for our proposal!
0
0
0.000