Want to say something about tradingview lightweight-charts #1792
Unanswered
GitCatacao
asked this question in
General
Replies: 3 comments
-
Treading viewer |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have never read such a useless comment in my life. Kudos to you for your effort. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your feedback. We will continue our work to improve the library and documentation site, and have taken your feedback on board. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have seen and I used many libraries so far for financial charts, some good, some not so good.
The way you present your "lightweight-charts" are very tempting, but in my opinion something is not as it should be.
The fact that the volumes are treated separately creates an epic mess.
When you need to call them in the tooltip via
param.seriesData.get(candlestickSeries);
they no longer belong to the series of type "line" or "candlestick" since the data is excluded even if passed in this wayand an
undefined
value is returned.See the reference link:
https://tradingview.github.io/lightweight-charts/tutorials/how_to/tooltips#tracking-tooltip
So it would be necessary to look for the timestamp within the data provided and derive the volume from there, which is complicated and requires additional computing power.
The same goes for moving averages that can be easily generated with the functions provided, but which are not passed within the tooltip. This is probably more difficult to solve.
See the reference link:
https://tradingview.github.io/lightweight-charts/tutorials/demos/moving-average
So in my opinion, either you really integrate the volumes, or you don't integrate them, because treating them in this way is a pity.
The other part, the one you provide to the new companies, seems to me to be done with logic, but it's not the one that interests me.
Having said that, congratulations on your company that is truly megagalactic and good work.
I am abandoning the tradingview, lightweight-charts project because after working on it for a day I was dissatisfied.
In case you fix the above I will be a happy user to return to your product.
If so, please provide a complete example of all this with volumes and moving averages in the tooltip to make the developer's life easier.
Another thing I would like to say is that it is complicated to switch from line to candlestick, because line uses the
value
parameter, while candlestick already has theclose
. So every time a datamapping is necessary, when instead the same data provided to the chart could be used. In finance there is novalue
value. It is anopen
, aclose
, alow
or ahigh
.Regards.
Beta Was this translation helpful? Give feedback.
All reactions