/demo2
The last few weeks has been mostly filled with more exploratory work with websockets and the pure javascript side of the Lightweight Charts library. My short term goals were as follows:
- Instead of hard-coding the charts on the client-side, provide chart configuration as data and construct and layout the charts dynamically on the client-side.
- CSS is not my favorite subject, but I took some time to learn about CSS grid layouts.
- Be able to update more than one chart at a time.
- Use live data from a websocket as the source for the chart data. (The demo uses Bitstamp’s websocket API, because everyone in the world should have access to it without the need for proxies or a VPN.)
Before I even attempt live testing or live trading a strategy, I wanted to build up my understanding of realtime data visualization a bit more. It was a bit trickier than I anticipated, and there’s a ton of refinement I need to do. Some of my libraries are going to need a few changes too.
I’ve been using this little chartserver.jl project to feel those changes out. This one is allowed to be ugly and fight dirty battles.
No videos this time, because it moves too slowly to be interesting.
