This commit is contained in:
David Brazda
2023-05-09 12:13:02 +02:00
parent 16ee5c9f3d
commit 9dd5ff3e73
4 changed files with 21 additions and 5 deletions

View File

@ -337,7 +337,9 @@ $(document).ready(function () {
row = stratinRecords.row('.selected').data();
window.$('#runModal').modal('show');
$('#bt_from').val(localStorage.getItem("bt_from"));
//console.log(localStorage.getItem("bt_from"))
$('#bt_to').val(localStorage.getItem("bt_to"));
//console.log(localStorage.getItem("bt_to"))
$('#mode').val(localStorage.getItem("mode"));
$('#account').val(localStorage.getItem("account"));
$('#debug').val(localStorage.getItem("debug"));

View File

@ -1,9 +1,6 @@
function populate_real_time_chart() {
if (chart !== null) {
chart.remove();
clear_status_header();
}
cleanup_chart()
initialize_chart()
intitialize_candles()

View File

@ -86,7 +86,7 @@ function cleanup_chart() {
avgBuyLine = null
volumeSeries = null
vwapSeries = null
if (toolTip !== null) {
if (toolTip) {
toolTip.style.display = 'none';
}
}