Closed phucsang0spt closed 6 years ago
You'll have to use the TradingView datafeed by setting the symbol. In my example I used NASDAQ:AAPL which will give you the datafeed of Apple Inc.'s stock price. If you want to use, for example, Bitcoin, use BINANCE:BTCUSD.
But i want to set datafeed like this : datafeed: new Datafeeds.UDFCompatibleDatafeed('http:mysite.com'),
On Thu, May 24, 2018 at 1:10 PM, Rafael Klaessen notifications@github.com wrote:
Closed #15 https://github.com/rafaelklaessen/react-tradingview-widget/issues/15.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rafaelklaessen/react-tradingview-widget/issues/15#event-1643410887, or mute the thread https://github.com/notifications/unsubscribe-auth/AkMUDrHLgSf3kdn_C0dsMVA8C82LQLaRks5t1k7UgaJpZM4UIj22 .
I have the same doubt, what about if I need to use my own feed?
Can you use your own datafeed with the TradingView Advanced Real-Time Chart Widget?
That means you are not supposed to support datafeed in your library , yes? So this library is not useful for this purpose.
I suppose so yes. The thing is, if TradingView's widget supports it, this component supports it. I just can't find any docs for datafeeds with TradingView's widget, hence my question.
How I set datafeet ?