Frequently Asked Questions
Why is there no real-time stock data in the widgets?
Exchanges want each website to pay fees for real-time data. As per their requirements we are only allowed to stream delayed data. Here’s a list
of what’s available. Forex and crypto data is real-time.
Why is there no data from certain exchanges?
We buy data from many exchanges around the globe and keep adding new ones on a regular basis. Some exchanges are not yet supported. Available markets are listed here
I'd like to add a custom pine script to the widget.
It is not possible to add pine scripts to widgets at this time. You can publish an idea with your script and embed it.
I'd like to add a strategy to the widget.
It is not possible to add strategies to widgets at this time. You can publish an idea with your strategy and embed it.
What does “The symbol available only on TradingView” message mean?
This means we are not allowed to show that symbol in any timeframe in the widgets.
If I purchase an upgraded plan can I display real-time data on my website?
No. Paid upgraded plans do not affect the data in the widgets. Any upgraded plan affects your TradingView profile only. To get real-time data on your website, contact the exchange directly.
I need access to your API in order to get data or indicator values.
We don’t have an API that gives access to data. Our REST API
is meant for brokers who want to be supported on our trading platform.
I'd like to export/download data.
It is not possible to download or export data from TradingView at this time.
I’d like to remove/change the TradingView branding (logo, name) from the widget, or add my own.
I'd like to remove/change TradingView attribution (text and link under the widget).
The widget is not adapting to different screen sizes. What should I do?
Use the <i>Autosize</i> setting. When autosize is on, the widget uses 100% of available width and/or height of the enclosing element. It’s very important to set a specific height of parent element for the widget to work properly.
I’d like to change some colors or font size.
All available widget settings are presented in the point-and-click constructor. If what you want to change is not there, drop us a line at email@example.com
Can I use widgets on Angular 5 websites?
Yes. Here are some hints:
- Create a container element with a set ID attribute.
- Сall the new TradingView.widget() function when you want the widget to be shown. Apart from other settings, there should also be a container_id option in the parameter list. It should have the value of the previously created container ID attribute.
Why is embed code not working?
Potentially, the problem can arise from trying to insert the raw code dynamically, thus forcing the browser to block the embedded script execution. This may happen when injection via innerHTML occurs, for instance. Trying to dynamically inject the code with the means of certain libraries (e.g. jQuery) may also disrupt the proper initialization of the widget. If you are embedding the code on a site driven by 3rd party infrastructure, make sure to follow their instructions or ask the developer of the platform for help.