Tradingview Another Widget
emin-karadag opened this issue · comments
Hello,
Is there only one widget in this library?
For example how do I add a TradingView Mini Chart Widget?
Thank you...
Hi! Thanks for the issue.
Yes, this component only wraps the advanced real-time chart widget. (And does so in a very simplistic way.)
The mini chart widget seems more difficult to use with React, but if you could point me at a React version of it, I could consider building a more complete library that includes all TradingView widgets.
Let me know! Thanks.
Thank you for your reply.
I would appreciate if you could build a library for the React version. :)
Please includes all TradingView widgets :)))
Thank you too
Hi,
I understand only the advanced real-time chart widget is usable.
I was hoping to use this package for the TradingView Symbol Overview Widget.
https://www.tradingview.com/widget/symbol-overview/
Any chance you know how to implement it in react?
Thank you.
I know that @WebMasterSam has forked this repo here and has added some additional widgets... Perhaps you could look at that fork?
Would also be happy to merge said fork into this package.
@rafaelklaessen I checked the repo. It doesn't include the widget I needed.
@darrengogh97, @emin-karadag If you need to create the missing widget it would be very easy. Just copy paste one of those. Check before copying the widget because they don't always work the same way. I think there's 2-3 different ways to instanciate the widge. Depending on the one you want, start from a widget that works the same way and you will be up and running in a matter of minutes.
@WebMasterSam Hey can you please show me an example of how I could create a different widget?
@IbrahimSam96 can you send me the link of the plugin ? I will try to create the version in my branch for you.
Fundamentals https://www.tradingview.com/widget/fundamental-data/
Market Overview https://www.tradingview.com/widget/market-overview/
Market Quotes https://www.tradingview.com/widget/market-quotes/
Thanks for offering your help!
I'm sorry how can I access the Fundamentals widget ?
Hey, sorry I'm fairly new to the development space. Should I use it the same way I use the TradingViewWidget ? I tried copying the code and pasting but i get an error on onload. Thanks for your help and patience
I adjusted the GIT address to your version in the package.json in the node modules.
Should I normally just
import TradingViewStockFundamentalsWidget from react-tradingview-widget
I tried doing that but I'm still getting the TradingViewWidget instead of TradingViewStockFundamentalsWidget :(