rrag / react-stockcharts

Highly customizable stock charts with ReactJS and d3
http://rrag.github.io/react-stockcharts
MIT License
3.88k stars 958 forks source link

talib & tulind considerations ? #722

Open parweb opened 5 years ago

parweb commented 5 years ago

have you encounter this npm packages 👍

I think it will be great to be compatible.

this repo succeed integration maybe a starting point https://github.com/askmike/gekko

me60732 commented 4 years ago

Indicators in react-stockcharts are nothing more then charts then charts themselves, so how you generate the data to plot the chart is entirely up to you, for instance i'm using tulind in one of my programs, I even use tulind for MACD and others available in react-stockcharts just for the sake of consistency. The data format varies, for instance tulind works with arrays for each input i.e close[], high[], low[], where as react-stockcharts uses an array of objects, i.e data[ {date:20-10-2019, close:20, high: 21, low:19}, {date:21-10-2019, close:21, high: 22, low:20} ] but other then that you can use whatever indicator library you want. It's the main thing I like about this library, it's very flexible and doesn't tie you into anything.