updated
All checks were successful
Deployment / deploy-docker (push) Successful in 9s

This commit is contained in:
Melchior Reimers
2026-01-25 17:46:47 +01:00
parent eb9c822cff
commit 64ffd9aa32
2 changed files with 56 additions and 11 deletions

View File

@@ -547,10 +547,11 @@
async function fetchData() {
try {
// Verwende limit für trades um Performance zu verbessern
const [t, m, s] = await Promise.all([
fetch(`${API}/trades?days=7`).then(r => r.json()),
fetch(`${API}/trades?days=7&limit=1000`).then(r => r.json()),
fetch(`${API}/metadata`).then(r => r.json()),
fetch(`${API}/summary`).then(r => r.json())
fetch(`${API}/summary?days=7`).then(r => r.json())
]);
store = { ...store, trades: t.dataset || [], metadata: m.dataset || [], summary: s.dataset || [] };
updateDashboard();