Last active
March 9, 2024 15:35
-
-
Save major/52237f0d175f70f07fcc1ebb7bd662a5 to your computer and use it in GitHub Desktop.
Testing TradingView Embeds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TradingView embed testing | |
<!-- TradingView Widget BEGIN --> | |
<div class="tradingview-widget-container" style="height:100%;width:100%"> | |
<div class="tradingview-widget-container__widget" style="height:calc(100% - 32px);width:100%"></div> | |
<div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/" rel="noopener nofollow" target="_blank"><span class="blue-text">Track all markets on TradingView</span></a></div> | |
<script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-advanced-chart.js" async> | |
{ | |
"autosize": true, | |
"symbol": "XLP/SPY", | |
"timezone": "Etc/UTC", | |
"theme": "dark", | |
"style": "2", | |
"locale": "en", | |
"enable_publishing": false, | |
"hide_top_toolbar": true, | |
"range": "60M", | |
"calendar": false, | |
"studies": [ | |
"STD;MA%Ribbon" | |
], | |
"hide_volume": true, | |
"support_host": "https://www.tradingview.com" | |
} | |
</script> | |
</div> | |
<!-- TradingView Widget END --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment