From c258fafcaff91c9a9836a342b0fc05c5ba6c7515 Mon Sep 17 00:00:00 2001 From: balakrishna-binary Date: Thu, 1 Aug 2024 15:24:21 +0800 Subject: [PATCH 1/2] fix: ticks history api call --- src/javascript/app/pages/trade/charts/highchart.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/javascript/app/pages/trade/charts/highchart.js b/src/javascript/app/pages/trade/charts/highchart.js index 6c1dd26e5f3..5e946b14d65 100644 --- a/src/javascript/app/pages/trade/charts/highchart.js +++ b/src/javascript/app/pages/trade/charts/highchart.js @@ -338,7 +338,6 @@ const Highchart = (() => { start : ((purchase_time || start_time) - margin).toFixed(0), /* load more ticks first */ end : end_time ? (end_time + margin).toFixed(0) : 'latest', style : granularity === 0 ? 'ticks' : 'candles', - count : 4999, /* maximum number of ticks possible */ adjust_start_time: 1, }; From a07de517569d50a9bcf68f03dfa2c59707dfb2f6 Mon Sep 17 00:00:00 2001 From: balakrishna-binary Date: Wed, 14 Aug 2024 15:15:59 +0800 Subject: [PATCH 2/2] chore: update charts package --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c26d2d87bbb..2b28f3271c7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@babel/polyfill": "7.12.1", "@binary-com/binary-document-uploader": "^2.4.4", "@binary-com/binary-style": "^0.2.26", - "@binary-com/webtrader-charts": "^0.6.1", + "@binary-com/webtrader-charts": "^0.6.2", "@deriv-com/quill-ui": "^1.13.44", "@deriv/deriv-api": "^1.0.15", "@deriv/quill-icons": "^1.23.1", @@ -2375,9 +2375,9 @@ } }, "node_modules/@binary-com/webtrader-charts": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@binary-com/webtrader-charts/-/webtrader-charts-0.6.1.tgz", - "integrity": "sha512-QKOnKP4nTTxtTeJeKfLEHWPmO3rF4k7gmjT2wT1cuwnZKHAsIpaLc0umm5x4rh1Fnh3zzIkPd13SoxXZTeIRFg==", + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/@binary-com/webtrader-charts/-/webtrader-charts-0.6.2.tgz", + "integrity": "sha512-uDyWnNA0KtFJvYQvytOwgYTzbsazs2WueMKHwyMT5qktXOBHi/H4IXc31q7rfWK9eZm+XjpztuIb39ATSEK11A==", "dependencies": { "datatables.net-dt": "^2.0.7", "imports-loader": "^5.0.0", diff --git a/package.json b/package.json index 924f56e0c3c..18523969c86 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "@babel/polyfill": "7.12.1", "@binary-com/binary-document-uploader": "^2.4.4", "@binary-com/binary-style": "^0.2.26", - "@binary-com/webtrader-charts": "^0.6.1", + "@binary-com/webtrader-charts": "^0.6.2", "@deriv-com/quill-ui": "^1.13.44", "@deriv/deriv-api": "^1.0.15", "@deriv/quill-icons": "^1.23.1",