charting-library-examples icon indicating copy to clipboard operation
charting-library-examples copied to clipboard

Save/Load API in TradingView charts stops price streaming unexpectedly

Open money-development opened this issue 1 year ago • 1 comments

Save/Load API in TradingView charts stops price streaming unexpectedly

Description: When using the save and load API in TradingView charts, the chart state is saved and loaded as expected. However, the price streaming is interrupted when a chart is loaded after being saved. Suggesting that some outdated layout settings are preventing the price stream from continuing

Steps to Reproduce: Open the TradingView chart Create a drawing or adjust the layout Save the chart state using the save API Load the saved state Observe that price streaming is stopped or delayed after loading the chart state

Expected Behavior: The price streaming should continue without interruption after the chart state is loaded

money-development avatar Jan 15 '25 12:01 money-development

A similar issue I raised earlier probably has the same roots https://github.com/tradingview/charting-library-examples/issues/406

money-development avatar Jan 15 '25 12:01 money-development