tle}}".replace(/&amp;/g, '&')]
        if (localStorage.getItem("mode") == "dark") {
            var graph_mode = "dark";
        }
        else {
            var graph_mode = "light"
        }

        new TradingView.widget(
        {
            "autosize": true,
            "symbol": ticker,
            "interval": "D",
            "timezone": "Etc/UTC",
            "theme": graph_mode,
            "style": "1",
            "locale": "en",
            "toolbar_bg": "#f1f3f6",
            "enable_publish