3
0 Comments

Which lib do you use for stocks charting?

Hi all,

I'm looking for a solution for creating charts for financial data (preferrably ready-to-go for React). Obviously the easiest one would be just a TradingView widget. It has a lot of options like drawing shapes and adding indicators, but TV wants you to put a visible link to their website, plus it's obviously limited if you wanted some some fancy customization.

I've looked for the alternatives and found that there are free libs like charts.js but they are basically too limited and on the other hand there are paid libs like highcharts.js. These are quite good, but also eventually might be limited, plus highcharts is somewhat slow I think.

Another option is going low-level and writing something with d3 (or better I guess, using an already existing lib like that one https://github.com/reactivemarkets/react-financial-charts). Performance is great, customization options are endless. Downside - additional coding work, maybe lots of it, not sure.

What's your take on this? Does anybody uses stock charting in their project and have some thoughts?

on June 17, 2021