fix fetch data in signal page and the backtest export excel issue

This commit is contained in:
2026-02-02 21:30:19 +08:00
parent 50f9734dcd
commit 891f0ea2b0
21 changed files with 8328 additions and 57803 deletions
+4 -2
View File
@@ -255,7 +255,9 @@
// --- 3. Construct Row ---
htmlContent += `
<tr>
<td>${item.symbol}</td>
<td>
<div class="fw-bold">${item.name || item.symbol}</div>
</td>
<td><span class="${dateStyle}" style="font-size: 0.75rem; padding: 2px 5px; border-radius: 4px;">${displayDate}</span></td>
<td class="fw-bold">${item.last_close}</td>
<td class="${item.change_pct >= 0 ? 'text-up' : 'text-down'}">
@@ -330,7 +332,7 @@
}
}
setInterval(checkStatus, 30000);
setInterval(checkStatus, 300000);
checkStatus(); // Initial check
// --- 5. Initial Load ---