diff --git a/html/market/js/market_info.js b/html/market/js/market_info.js index acd0725..332f8c2 100644 --- a/html/market/js/market_info.js +++ b/html/market/js/market_info.js @@ -263,6 +263,7 @@ var Kvue = new Vue({ this.interval = interval; this.TvWidget.onChartReady(function() { _this3.onChartReady(_this3.TvWidget); + }); }, onChartReady: function onChartReady(TvWidget) { diff --git a/lib/JsApi/Datafeed.js b/lib/JsApi/Datafeed.js index 2b44da8..5180822 100644 --- a/lib/JsApi/Datafeed.js +++ b/lib/JsApi/Datafeed.js @@ -59,7 +59,7 @@ Datafeed.prototype.calculateHistoryDepth = function (resolution, resolutionBack, localStorage.setItem('resolution', resolution); return { resolutionBack: 'M', - intervalBack: 24 + intervalBack: 120 }; };