Im doing a research on Crypto API and want to get the current price of a coin. I used TradingView widget to display all the chart and data on my webpage. So now I only want to retrieve the current price from the widget, is it possible? 
What've tried:
This widget is in iframe, so i tried to called document.getElementsByTagName('iframe')[0].contentWindow.document.body.innerText; But unfortunately, it showed Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame. Does anyone know ways to retrieve these value from the JS script?
For the full code I cant paste it here because stackoverflow blocked it, can go to this page to generate widget