JorrinKievit / react-ts-tradingview-widgets

This is a React component library for TradingView Widgets
https://tradingview-widgets.jorrinkievit.xyz/
MIT License
154 stars 48 forks source link

Subscribing to latest price #46

Closed SolidiTea closed 9 months ago

SolidiTea commented 9 months ago

The component itself works great, good job !

Is there a way to subscribe to the prices displayed in the chart, most importantly the latest price ?

This is critical to allow users to work with the most up to date data and prevent two "sources of truth"

JorrinKievit commented 9 months ago

Unfortunately not a functionality the tradingview widgets provide. There is no way of interacting with the charts after initialization. For more customized charts, tradingview offers this -> https://www.tradingview.com/lightweight-charts/