From 0370a3f58d11e6300fa58fbd9463e0854dff08ff Mon Sep 17 00:00:00 2001 From: aldertnl Date: Wed, 25 Nov 2026 12:32:52 +0000 Subject: [PATCH] feat: improve Bitkit Watch reliability for v0.1.5 --- .dockerignore | 4 + .github/workflows/deploy.yml | 26 +- .gitignore | 3 + README.md | 30 +- app.js | 3038 +-- assets/api.js | 871 + assets/charts.js | 518 + assets/market-history.js | 22 + assets/portfolio.js | 418 + assets/satoshi-demo-snapshot.js | 22823 ++++++++-------------- assets/storage.js | 839 + docs/deployment.md | 31 +- index.html | 19 +- package-lock.json | 63 + package.json | 19 + playwright.config.mjs | 19 + privacy-policy.html | 2 +- scripts/build-satoshi-demo-snapshot.mjs | 29 +- scripts/check-release.mjs | 18 + scripts/prepare-release.mjs | 130 + scripts/serve.mjs | 37 + scripts/verify-release.sh | 24 +- styles.css | 17 +- terms-of-use.html | 2 +- tests/browser/watch.spec.mjs | 209 + tests/release.test.mjs | 110 + tests/security.test.mjs | 169 +- 27 files changed, 12359 insertions(+), 17131 deletions(-) create mode 100644 assets/api.js create mode 100644 assets/charts.js create mode 100644 assets/market-history.js create mode 100644 assets/portfolio.js create mode 100644 assets/storage.js create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 playwright.config.mjs create mode 100644 scripts/check-release.mjs create mode 100644 scripts/prepare-release.mjs create mode 100644 scripts/serve.mjs create mode 100644 tests/browser/watch.spec.mjs create mode 100644 tests/release.test.mjs diff --git a/.dockerignore b/.dockerignore index 7994c78..dee8858 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,3 +6,7 @@ scripts Dockerfile .dockerignore .DS_Store + +node_modules +test-results +playwright-report diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 681777d..34d6fa8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,13 +3,15 @@ name: Deploy on: push: branches: [master] + pull_request: + branches: [master] workflow_dispatch: permissions: contents: read concurrency: - group: deploy + group: ${{ github.event_name == 'pull_request' && format('checks-{0}', github.event.pull_request.number) || 'deploy' }} cancel-in-progress: false env: @@ -19,7 +21,29 @@ env: SERVICE: bitkit-watch jobs: + checks: + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: actions/setup-node@v4 + with: + node-version-file: .nvmrc + cache: npm + - run: npm ci --ignore-scripts + - run: npx playwright install --with-deps chromium webkit + # PR checks remain useful after the demo ages. Deployments require a fresh snapshot. + - if: github.event_name == 'pull_request' + run: npm run verify -- --allow-stale-snapshot + - if: github.event_name != 'pull_request' + run: npm run verify + - run: npm run test:browser + deploy: + needs: checks + if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' runs-on: ubuntu-latest timeout-minutes: 20 steps: diff --git a/.gitignore b/.gitignore index e43b0f9..5086215 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ .DS_Store +node_modules/ +test-results/ +playwright-report/ diff --git a/README.md b/README.md index 282e2b9..4430d98 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,23 @@ When blockchain or market data is refreshed, your browser connects directly to t ## Local Development -The browser app has no third-party JavaScript packages, CDN scripts, or build step. Release tooling uses Node.js 24.22.3, pinned in `.nvmrc`, plus Python 3, zsh, and ripgrep. +The browser app has no third-party JavaScript packages, CDN scripts, or build step. Release tooling uses Node.js 24.22.3, pinned in `.nvmrc`, plus Python 3, Bash, and OpenSSL. Playwright is a pinned development dependency for browser tests; it is not shipped to users. With nvm installed, select the project's patched runtime: ```sh nvm install nvm use -node --test tests/*.test.mjs +npm ci --ignore-scripts +npx playwright install chromium webkit +npm test +npm run test:browser ``` Serve the project from localhost: ```sh -python3 -m http.server 8765 --bind 127.0.0.1 +npm start ``` Then open: @@ -43,8 +46,29 @@ Then open: http://localhost:8765 ``` +For Safari-compatible local previews, use `npm start -- --https` and open `https://127.0.0.1:8765`. The local server generates a temporary self-signed certificate; it does not install a trusted certificate. Browser tests use this HTTPS mode to preserve the production security policy. + Bitkit Watch should be served from HTTPS in production or from `http://localhost` during local development. Address validation relies on the browser Web Crypto API and fails closed when checksum verification is unavailable. +## Code Layout + +- `app.js`: UI, wallet actions, and refresh coordination. +- `assets/storage.js`: bounded persistence, cache recovery, and normalization. +- `assets/api.js`: validated provider requests, fallback, cancellation, and rate-limit cooldowns. +- `assets/portfolio.js`: balances, transaction activity, and timeline calculations. +- `assets/charts.js`: chart geometry, gaps, labels, and pointer interaction. +- `assets/market-history.js`: shared real-price coverage for the app and snapshot builder. + +Modules receive explicit dependencies from `app.js`; browser scripts are served directly without bundling. + +## Prepare a Release + +```sh +npm run prepare:release -- 0.1.5 +``` + +This refreshes the public Satoshi snapshot, updates the manifest, lockfile, visible version and asset URLs, then runs release and desktop/mobile Chromium and WebKit checks. Failed checks, Ctrl+C, and SIGTERM restore the previous release files after stopping child commands. Review the diff and personally sign and push your commit afterward. + ## Deployment See [docs/deployment.md](docs/deployment.md) for release checks, Satoshi demo snapshot updates, and production HTTP header recommendations. diff --git a/app.js b/app.js index e0cfadd..a064a94 100644 --- a/app.js +++ b/app.js @@ -26,6 +26,8 @@ readJsonResponse, } = globalThis.BITKIT_WATCH_API_VALIDATION; + const { summarizePriceHistory } = globalThis.BITKIT_WATCH_MARKET_HISTORY; + const MAX_TIMELINE_POINTS = 25_000; const DAY_MS = 24 * 60 * 60 * 1000; const HOUR_MS = 60 * 60 * 1000; @@ -120,6 +122,152 @@ GBP: { prefix: "£", icon: "£", fractionDigits: 2 }, CNY: { prefix: "CN¥", icon: "¥", fractionDigits: 2 }, }); + const { + buildDefaultState, + loadState, + saveState, + loadRuntimeCache, + saveRuntimeCache, + clearRuntimeCache, + normalizeImportedState, + buildRuntimeCacheCandidates, + serializeRuntimeCache, + normalizeRuntimeCache, + deserializeNumberMap, + normalizeFiatExchangeRates, + mergeFiatExchangeRates, + mergeNumberMaps, + areNumberMapsEqual, + normalizeCachedTxEvents, + normalizeTransactionDetails, + normalizeCachedBalanceTimeline + } = globalThis.BITKIT_WATCH_STORAGE.create({ + DEFAULT_WALLET_NAMES, + HOUR_MS, + MAX_RUNTIME_CACHE_STORAGE_BYTES, + MAX_STATE_STORAGE_BYTES, + MAX_TIMELINE_POINTS, + MAX_TRANSACTIONS_PER_ADDRESS, + MAX_WALLETS, + MAX_WATCHED_ADDRESSES, + STORAGE_KEYS, + SUPPORTED_FIAT_CURRENCIES, + buildDailyBalanceTimeline: (...args) => buildDailyBalanceTimeline(...args), + buildIntervalBalanceTimeline: (...args) => buildIntervalBalanceTimeline(...args), + createDefaultFiatExchangeRates, + createDefaultSettings, + createId, + getDataGeneration: () => dataGeneration, + isCurrentGeneration, + isSatoshiAmount, + isStorageSyncing: () => isSyncingStorage, + isTimestamp, + isValidTxid, + normalizeAddressTags, + normalizeBitcoinAddress, + normalizeBitcoinNotation, + normalizeChartRange, + normalizeDemoSeedKeys, + normalizeFiatCurrency, + normalizeHistoryScope, + normalizeSnapshotDetailScope, + normalizeWalletName, + seedSatoshiDemoWallet, + startOfUtcHour, + toHourKey, + uniqueStrings, + warnStorageFailure + }); + + const { + APILayer, + fetchCurrentProductQuote, + fetchProductHistoricalPriceSeries, + getHistoryStartTimestampFromAddressResults, + allSettledWithConcurrency, + getRetryAt, + fetchJson, + withFallback, + toApiWarning + } = globalThis.BITKIT_WATCH_API.create({ + ADDRESS_API_PROVIDERS, + DAY_MS, + HOUR_MS, + MAX_API_RESPONSE_BYTES, + MAX_EXPLORER_CONCURRENCY, + MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, + MAX_TRANSACTIONS_PER_ADDRESS, + MAX_TRANSACTION_PAGES, + SUPPORTED_FIAT_CURRENCIES, + getValidationLayer: () => ValidationLayer, + buildTransactionTechnicalDetails: (...args) => buildTransactionTechnicalDetails(...args), + createDefaultFiatExchangeRates, + getActiveRequests: () => activeRequests, + getDataGeneration: () => dataGeneration, + getDirectFiatProductId, + getLastFinitePriceFromHistory, + getProductQuoteCurrency, + isValidTxid, + normalizeBitcoinAddress, + normalizeFiatCurrency, + readJsonResponse, + requireCurrentGeneration, + startOfUtcDay, + startOfUtcHour, + summarizePriceHistory, + toDateKey, + toHourKey, + validateAddressSummaryPayload, + validateCandlesPayload, + validateTransactionListPayload, + validateTransactionPayload + }); + + const { + PortfolioLayer, + ActivityLayer, + normalizeTransactionEvent, + buildTransactionTechnicalDetails, + buildDailyBalanceTimeline, + buildIntervalBalanceTimeline, + combineSnapshotTimelines, + buildFlatTimeline + } = globalThis.BITKIT_WATCH_PORTFOLIO.create({ + DAY_MS, + HISTORY_DAYS, + HOUR_MS, + MAX_TIMELINE_POINTS, + looksLikeBitcoinAddress, + normalizeBitcoinAddress, + normalizeTransactionDetails: (...args) => normalizeTransactionDetails(...args), + shortAddress, + startOfUtcDay, + startOfUtcHour, + toDateKey, + toHourKey, + uniqueStrings + }); + + const { + sampleSeriesPoints, + createWalletCardMiniChartScene, + createSparklineScene, + bindSparklineInteraction, + getSeriesGrowthDescriptor + } = globalThis.BITKIT_WATCH_CHARTS.create({ + escapeHtml, + formatCompactDecimal, + formatDisplayFiatValue, + formatWalletBtc, + getChartLineDownIconMarkup, + getChartLineFlatIconMarkup, + getChartLineUpIconMarkup, + getDisplayUnit, + getState: () => state, + normalizeChartRange, + normalizeDisplayedGrowthPercent + }); + const SATOSHI_BAKED_SNAPSHOT = normalizeBakedDemoSnapshot(globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT); const FAQ_ITEMS = Object.freeze([ { @@ -201,6 +349,8 @@ detail: [ "walletDetail", "walletSecondarySummary", + "walletChartDataStatus", + "chartModalDataStatus", "walletPrimarySummary", "walletTransactions", "walletTransactionsControls", @@ -391,12 +541,21 @@ return; } + if (cachedRuntime.needsPriceHistoryRefresh) { + cachedRuntime.priceHistory = new Map(SATOSHI_BAKED_SNAPSHOT?.runtimeCache?.priceHistory || []); + cachedRuntime.intradayPriceHistory = new Map(SATOSHI_BAKED_SNAPSHOT?.runtimeCache?.intradayPriceHistory || []); + cachedRuntime.historyAvailable = cachedRuntime.priceHistory.size > 0; + if (Number.isFinite(cachedRuntime.timelineStart) && Number.isFinite(cachedRuntime.timelineEnd)) { + cachedRuntime.historyMissingDays = summarizePriceHistory(cachedRuntime.priceHistory, cachedRuntime.timelineStart, cachedRuntime.timelineEnd).missingDays; + } + } + runtime = { ...runtime, ...cachedRuntime, hasLoadedOnce: cachedRuntime.addressSnapshots.length > 0, }; - if (cachedRuntime.rebuiltTimelines) { + if (cachedRuntime.rebuiltTimelines || cachedRuntime.needsPriceHistoryRefresh) { StorageLayer.saveRuntimeCache(runtime); } } @@ -452,6 +611,8 @@ return { entry, provider: bakedSnapshot.provider, + refreshedAt: Date.parse(SATOSHI_BAKED_SNAPSHOT.asOf) || null, + refreshFailed: false, balanceSats: bakedSnapshot.balanceSats, usdValue: (bakedSnapshot.balanceSats / 1e8) * currentPriceUsd, txEvents, @@ -918,8 +1079,8 @@ } catch (error) { if (!isCurrentGeneration(generation)) return; showAddressFeedback( - `${newEntries.length === 1 ? "Address" : "Addresses"} saved locally, but loading failed. ${ - error.message || "Try again later." + `${newEntries.length === 1 ? "Address" : "Addresses"} saved locally. ${ + error.message || "Data could not be loaded. Click Refresh to try again." }`, "error" ); @@ -1178,12 +1339,13 @@ (entry) => APILayer.fetchAddressBundle(entry.address, startTimestamp) ); if (!isCurrentGeneration(generation)) return; + markRefreshFailures(refreshEntries, addressResults); const effectiveStartTimestamp = requestedHistoryScope === "ALL" ? getHistoryStartTimestampFromAddressResults(addressResults) || startOfUtcDay(Date.now() - (ONE_YEAR_DAYS - 1) * DAY_MS) : startTimestamp; - const marketData = await APILayer.fetchMarketData( + const marketData = await fetchMarketDataWithCache( effectiveStartTimestamp, endTimestamp, getFiatCurrency() @@ -1221,8 +1383,9 @@ } }); + markRefreshFailures(refreshEntries, addressResults); if (!snapshots.length) { - throw new Error("All address lookups failed."); + throw new Error("All address lookups failed. Showing saved data."); } if (partialFailures.length) { @@ -1234,6 +1397,7 @@ } const bannerParts = []; + if (marketData.priceStale) bannerParts.push("Price refresh failed; using saved prices."); if (rateLimitWarnings.length) { bannerParts.push(formatRateLimitWarning(rateLimitWarnings)); } @@ -1241,21 +1405,21 @@ bannerParts.push( `${partialFailures.length} ${ partialFailures.length === 1 ? "address" : "addresses" - } could not be refreshed. Showing partial data.` + } could not be refreshed. Keeping saved data; totals may be incomplete.` ); } if (!marketData.historyAvailable) { - bannerParts.push("Historical BTC/USD data is unavailable, so wallet growth is approximate."); + bannerParts.push("Historical BTC/USD prices are unavailable. Missing values are left blank."); } else if (marketData.historyMissingDays > 0) { - bannerParts.push("Historical BTC/USD data has gaps, so some wallet growth points are approximate."); + bannerParts.push("Historical BTC/USD prices have gaps. Missing values are left blank."); } - const retainedSnapshots = bundledSatoshiDemoGroupId - ? runtime.addressSnapshots.filter( - (snapshot) => snapshot?.entry?.groupId === bundledSatoshiDemoGroupId - ) - : []; - const nextAddressSnapshots = [...retainedSnapshots, ...snapshots]; + markRefreshFailures(refreshEntries, addressResults); + replaceAddressSnapshots(snapshots); + const nextAddressSnapshots = runtime.addressSnapshots.map((snapshot) => ({ + ...snapshot, usdValue: snapshot.balanceSats / 1e8 * marketData.currentPriceUsd, + })); + runtime = { ...runtime, @@ -1263,6 +1427,7 @@ isRefreshing: false, hasLoadedOnce: true, currentPriceUsd: marketData.currentPriceUsd, + priceStale: Boolean(marketData.priceStale), fiatExchangeRates: mergeFiatExchangeRates(marketData.fiatExchangeRates, runtime.fiatExchangeRates), currentPriceFiat: Number.isFinite(marketData.displayFiatMarket?.currentPrice) ? marketData.displayFiatMarket.currentPrice @@ -1316,6 +1481,7 @@ } } catch (error) { if (!isCurrentGeneration(generation)) return; + markEntriesRefreshFailed(refreshEntries); runtime.isLoading = false; runtime.isRefreshing = false; overviewCardRefreshInProgress = false; @@ -1389,12 +1555,13 @@ (entry) => APILayer.fetchAddressBundle(entry.address, startTimestamp) ); if (!isCurrentGeneration(generation)) return; + markRefreshFailures(scopedEntries, addressResults); const effectiveStartTimestamp = requestedHistoryScope === "ALL" ? getHistoryStartTimestampFromAddressResults(addressResults) || startOfUtcDay(endTimestamp - (ONE_YEAR_DAYS - 1) * DAY_MS) : startTimestamp; - const marketData = await APILayer.fetchMarketData( + const marketData = await fetchMarketDataWithCache( effectiveStartTimestamp, endTimestamp, getFiatCurrency() @@ -1428,11 +1595,13 @@ } }); + markRefreshFailures(scopedEntries, addressResults); if (!snapshots.length) { - throw new Error("All address lookups failed."); + throw new Error("All address lookups failed. Showing saved data."); } replaceAddressSnapshots(snapshots); + runtime.addressSnapshots.forEach((snapshot) => { snapshot.usdValue = snapshot.balanceSats / 1e8 * marketData.currentPriceUsd; }); const refreshedAddressSet = new Set(scopedEntries.map((entry) => entry.address)); const retainedFailures = runtime.partialFailures.filter( @@ -1441,6 +1610,7 @@ const mergedPartialFailures = [...retainedFailures, ...partialFailures]; const bannerParts = []; + if (marketData.priceStale) bannerParts.push("Price refresh failed; using saved prices."); if (rateLimitWarnings.length) { bannerParts.push(formatRateLimitWarning(rateLimitWarnings)); } @@ -1448,13 +1618,13 @@ bannerParts.push( `${partialFailures.length} ${ partialFailures.length === 1 ? "address" : "addresses" - } could not be refreshed. Showing partial data.` + } could not be refreshed. Keeping saved data; totals may be incomplete.` ); } if (!marketData.historyAvailable) { - bannerParts.push("Historical BTC/USD data is unavailable, so wallet growth is approximate."); + bannerParts.push("Historical BTC/USD prices are unavailable. Missing values are left blank."); } else if (marketData.historyMissingDays > 0) { - bannerParts.push("Historical BTC/USD data has gaps, so some wallet growth points are approximate."); + bannerParts.push("Historical BTC/USD prices have gaps. Missing values are left blank."); } runtime = { @@ -1463,6 +1633,7 @@ isRefreshing: silent ? runtime.isRefreshing : false, hasLoadedOnce: true, currentPriceUsd: marketData.currentPriceUsd, + priceStale: Boolean(marketData.priceStale), fiatExchangeRates: mergeFiatExchangeRates(marketData.fiatExchangeRates, runtime.fiatExchangeRates), currentPriceFiat: Number.isFinite(marketData.displayFiatMarket?.currentPrice) ? marketData.displayFiatMarket.currentPrice @@ -1516,6 +1687,7 @@ render(); } catch (error) { if (!isCurrentGeneration(generation)) return; + markEntriesRefreshFailed(scopedEntries); if (!silent) { runtime.isLoading = false; runtime.isRefreshing = false; @@ -1852,6 +2024,7 @@ } dom.walletChartKicker.textContent = chartKicker; dom.walletChartTitleSymbol.textContent = chartDisplay.symbol; + dom.walletChartDataStatus.textContent = ""; renderChartTitleText(dom.walletChartTitleText, null); renderChartGrowthStat(dom.walletChartGrowth, null); delete dom.walletChartStage.dataset.tone; @@ -1891,6 +2064,7 @@ } dom.walletChartKicker.textContent = chartKicker; dom.walletChartTitleSymbol.textContent = chartDisplay.symbol; + dom.walletChartDataStatus.textContent = loadingDetail ? "" : getChartDataStatus(chartDisplay); renderChartTitleText(dom.walletChartTitleText, chartDisplay); if (loadingDetail) { renderChartGrowthStat(dom.walletChartGrowth, null); @@ -1900,6 +2074,7 @@ dom.chartModal.hidden = false; dom.chartModalKicker.textContent = detailView.address ? "ADDRESS GROWTH" : "WALLET GROWTH"; dom.chartModalTitleSymbol.textContent = chartDisplay.symbol; + dom.chartModalDataStatus.textContent = ""; dom.chartModalTabs.hidden = true; renderChartTitleText(dom.chartModalTitleText, null); renderChartGrowthStat(dom.chartModalGrowth, null); @@ -1941,6 +2116,7 @@ dom.chartModal.hidden = true; dom.chartModalTabs.hidden = true; dom.chartModalStage.innerHTML = ""; + dom.chartModalDataStatus.textContent = ""; renderChartTitleText(dom.chartModalTitleText, null); renderChartGrowthStat(dom.chartModalGrowth, null); return; @@ -1950,6 +2126,7 @@ dom.chartModalTabs.hidden = false; dom.chartModalKicker.textContent = detailView.address ? "ADDRESS GROWTH" : "WALLET GROWTH"; dom.chartModalTitleSymbol.textContent = chartDisplay.symbol; + dom.chartModalDataStatus.textContent = detailView.hasDetailData ? getChartDataStatus(chartDisplay) : ""; renderChartTitleText(dom.chartModalTitleText, chartDisplay); renderChartGrowthStat(dom.chartModalGrowth, chartDisplay); renderSparkline(dom.chartModalStage, chartDisplay, { @@ -1963,7 +2140,7 @@ return; } - const descriptor = getSeriesGrowthDescriptor(chartDisplay?.values); + const descriptor = chartDisplay?.incompleteHistory ? null : getSeriesGrowthDescriptor(chartDisplay?.values); if (!descriptor) { element.hidden = true; element.className = "wallet-chart-growth"; @@ -1981,7 +2158,7 @@ return; } - const descriptor = getSeriesGrowthDescriptor(chartDisplay?.values); + const descriptor = chartDisplay?.incompleteHistory ? null : getSeriesGrowthDescriptor(chartDisplay?.values); element.textContent = shouldUseCompactChartTitle(descriptor) ? "OVER TIME" : "VALUE OVER TIME"; } @@ -3340,6 +3517,56 @@ : COLLAPSED_TRANSACTION_COUNT; } + async function fetchMarketDataWithCache(startTimestamp, endTimestamp, currency) { + const generation = dataGeneration; + let result; + try { + result = await APILayer.fetchMarketData(startTimestamp, endTimestamp, currency); + } catch (error) { + requireCurrentGeneration(generation); + if (!Number.isFinite(runtime.currentPriceUsd)) throw error; + return { + ...runtime, + priceStale: true, + displayFiatMarket: runtime.currentPriceFiatCurrency === currency ? { + currency, currentPrice: runtime.currentPriceFiat, + priceHistory: runtime.fiatPriceHistory, intradayPriceHistory: runtime.fiatIntradayPriceHistory, + } : null, + }; + } + requireCurrentGeneration(generation); + result.priceHistory = mergeNumberMaps(runtime.priceHistory, result.priceHistory); + result.intradayPriceHistory = mergeNumberMaps(runtime.intradayPriceHistory, result.intradayPriceHistory); + result.historyMissingDays = summarizePriceHistory(result.priceHistory, startTimestamp, endTimestamp).missingDays; + result.historyAvailable = result.priceHistory.size > 0; + if (result.displayFiatMarket?.currency === runtime.currentPriceFiatCurrency) { + result.displayFiatMarket.priceHistory = mergeNumberMaps(runtime.fiatPriceHistory, result.displayFiatMarket.priceHistory); + } + return result; + } + + function markRefreshFailures(entries, results) { + const failed = entries.filter((_, index) => results[index]?.status !== "fulfilled"); + if (failed.length) markEntriesRefreshFailed(failed); + } + + function markEntriesRefreshFailed(entries) { + const ids = new Set(entries.map((entry) => entry.id)); + runtime.addressSnapshots.forEach((snapshot) => { + if (ids.has(snapshot.entry.id)) snapshot.refreshFailed = true; + }); + StorageLayer.saveRuntimeCache(runtime); + } + + function getChartDataStatus(chartDisplay) { + const parts = []; + if (getDisplayUnit() === "USD") { + if (!chartDisplay?.values.length || chartDisplay.values.some((value) => !Number.isFinite(value))) parts.push("Price history incomplete; gaps are left blank."); + if (chartDisplay?.estimatedFiat) parts.push("Estimated using today's exchange rate."); + } + return parts.join(" "); + } + function getSnapshotsById() { return new Map(runtime.addressSnapshots.map((snapshot) => [snapshot.entry.id, snapshot])); } @@ -3519,7 +3746,7 @@ "warning", `${failedCount} ${ failedCount === 1 ? "address" : "addresses" - } could not be refreshed. Showing partial data.` + } could not be refreshed. Keeping saved data; totals may be incomplete.` ); } else { setHeaderStatus("Watch refreshed"); @@ -3583,12 +3810,13 @@ } ); if (!isCurrentGeneration(generation)) return; + markRefreshFailures(entries, addressResults); const successfulResults = addressResults.filter((result) => result.status === "fulfilled"); if (!successfulResults.length) { throw new Error("Incremental Satoshi demo refresh failed."); } - const marketData = await APILayer.fetchMarketData( + const marketData = await fetchMarketDataWithCache( marketStartTimestamp, endTimestamp, getFiatCurrency() @@ -3617,6 +3845,8 @@ nextSnapshots.push({ ...currentSnapshot, provider: result.value.provider, + refreshedAt: endTimestamp, + refreshFailed: false, balanceSats, usdValue: (balanceSats / 1e8) * marketData.currentPriceUsd, txEvents, @@ -3641,10 +3871,12 @@ }); replaceAddressSnapshots(nextSnapshots); + runtime.addressSnapshots.forEach((snapshot) => { snapshot.usdValue = snapshot.balanceSats / 1e8 * marketData.currentPriceUsd; }); runtime = { ...runtime, hasLoadedOnce: true, currentPriceUsd: marketData.currentPriceUsd, + priceStale: Boolean(marketData.priceStale), fiatExchangeRates: mergeFiatExchangeRates( marketData.fiatExchangeRates, runtime.fiatExchangeRates @@ -3774,9 +4006,7 @@ } function hasUnsuppressedTruncatedSnapshots(snapshots) { - return snapshots.some( - (snapshot) => snapshot?.approximate && !isBundledSatoshiDemoEntry(snapshot.entry) - ); + return snapshots.some((snapshot) => snapshot.approximate); } function getReliableTimelineStartForSnapshots( @@ -4017,11 +4247,11 @@ startTimestamp = getHistoryStartTimestampFromAddressResults([ { status: "fulfilled", value: addressResult }, ]) || startOfUtcDay(endTimestamp - (ONE_YEAR_DAYS - 1) * DAY_MS); - marketData = await APILayer.fetchMarketData(startTimestamp, endTimestamp, getFiatCurrency()); + marketData = await fetchMarketDataWithCache(startTimestamp, endTimestamp, getFiatCurrency()); } else { [addressResult, marketData] = await Promise.all([ APILayer.fetchAddressBundle(entry.address, startTimestamp), - APILayer.fetchMarketData(startTimestamp, endTimestamp, getFiatCurrency()), + fetchMarketDataWithCache(startTimestamp, endTimestamp, getFiatCurrency()), ]); } @@ -4039,6 +4269,7 @@ upsertAddressSnapshot(snapshot); runtime.currentPriceUsd = marketData.currentPriceUsd; + runtime.priceStale = Boolean(marketData.priceStale); runtime.fiatExchangeRates = mergeFiatExchangeRates(marketData.fiatExchangeRates, runtime.fiatExchangeRates); runtime.currentPriceFiat = Number.isFinite(marketData.displayFiatMarket?.currentPrice) ? marketData.displayFiatMarket.currentPrice @@ -4125,11 +4356,12 @@ const directPriceUnchanged = runtime.currentPriceFiat === directPrice && runtime.currentPriceFiatCurrency === (Number.isFinite(directPrice) ? selectedFiatCurrency : null); - if (priceUnchanged && ratesUnchanged && directPriceUnchanged) { + if (priceUnchanged && ratesUnchanged && directPriceUnchanged && !runtime.priceStale) { return; } runtime.currentPriceUsd = quote.price; + runtime.priceStale = false; runtime.fiatExchangeRates = normalizedRates; runtime.currentPriceFiat = directPrice; runtime.currentPriceFiatCurrency = Number.isFinite(directPrice) ? selectedFiatCurrency : null; @@ -4148,7 +4380,11 @@ render(); } catch (error) { - // Keep the cached price if the lightweight live quote refresh fails. + // Keep the cached price and expose its status without advancing address freshness. + if (!isCurrentGeneration(generation)) return; + runtime.priceStale = true; + StorageLayer.saveRuntimeCache(runtime); + render(); } } @@ -5037,136 +5273,6 @@ return `WALLET#${nextNumber}`; } - function buildDefaultState() { - const next = { - groups: DEFAULT_WALLET_NAMES.map((name) => ({ - id: createId("grp"), - name, - })), - addresses: [], - seededDemoWallets: [], - hideBalances: false, - selectedRange: "30D", - settings: createDefaultSettings(), - lastUpdated: null, - satoshiDemoLastRefreshedAt: null, - }; - seedSatoshiDemoWallet(next, { force: true }); - return next; - } - - function loadState() { - const fallback = buildDefaultState(); - let raw = ""; - try { - raw = localStorage.getItem(STORAGE_KEYS.state) || ""; - if (!raw) { - return fallback; - } - - if (getUtf8ByteLength(raw) > MAX_STATE_STORAGE_BYTES) { - throw new Error("Stored state exceeds the supported size."); - } - - return normalizeImportedState(JSON.parse(raw)); - } catch (error) { - const recovered = quarantineStoredState(raw); - return { - ...fallback, - _loadWarning: recovered - ? "Stored Bitkit Watch data could not be loaded. A recovery copy was preserved before defaults were restored." - : "Stored Bitkit Watch data could not be loaded and a recovery copy could not be saved. Defaults were restored.", - }; - } - } - - function saveState(nextState) { - if (isSyncingStorage) return true; - if (!isCurrentGeneration(dataGeneration)) return false; - try { - const serialized = JSON.stringify(serializeInternalState(nextState)); - if (getUtf8ByteLength(serialized) > MAX_STATE_STORAGE_BYTES) { - throw new Error("Local watchlist data exceeds the supported size."); - } - localStorage.setItem(STORAGE_KEYS.state, serialized); - return true; - } catch (error) { - warnStorageFailure("Wallet changes could not be saved. This session will continue without persistence."); - return false; - } - } - - function loadRuntimeCache(currentState) { - try { - const raw = localStorage.getItem(STORAGE_KEYS.runtimeCache); - if (!raw) { - return null; - } - - if (getUtf8ByteLength(raw) > MAX_RUNTIME_CACHE_STORAGE_BYTES) { - warnStorageFailure("Cached wallet history is too large to load. Click Refresh to rebuild it."); - return null; - } - - const cached = normalizeRuntimeCache(JSON.parse(raw), currentState); - if (currentState.addresses.some((entry) => entry.needsHistoryRefresh)) { - // Older versions cached zero transaction amounts for uppercase Bech32. - // Persist the pruned cache before the canonicalized watchlist is saved. - if (cached) saveRuntimeCache(cached); - else clearRuntimeCache(); - } - return cached; - } catch (error) { - warnStorageFailure("Cached wallet history could not be loaded. Click Refresh to rebuild it."); - return null; - } - } - - function saveRuntimeCache(currentRuntime) { - if (isSyncingStorage || !isCurrentGeneration(dataGeneration)) return; - if (!currentRuntime.addressSnapshots?.length) { - return clearRuntimeCache(); - } - for (const serialized of buildRuntimeCacheCandidates(currentRuntime)) { - try { - const encoded = JSON.stringify(serialized); - if (getUtf8ByteLength(encoded) > MAX_RUNTIME_CACHE_STORAGE_BYTES) { - continue; - } - localStorage.setItem(STORAGE_KEYS.runtimeCache, encoded); - return; - } catch (error) { - if (!isStorageQuotaError(error)) { - break; - } - } - } - - warnStorageFailure("Wallet history could not be cached. This session will continue without persistence."); - } - - function clearRuntimeCache() { - try { - localStorage.removeItem(STORAGE_KEYS.runtimeCache); - } catch (error) { - warnStorageFailure("Cached wallet history could not be deleted from this browser."); - } - } - - function quarantineStoredState(raw) { - if (!raw) { - return false; - } - - try { - localStorage.setItem(STORAGE_KEYS.stateQuarantine, raw); - return true; - } catch (error) { - // Best effort only. The caller still restores a usable default state. - return false; - } - } - function warnStorageFailure(text) { if (!runtime || runtime.banner?.tone === "error") { return; @@ -5178,735 +5284,99 @@ }; } - function getUtf8ByteLength(value) { - return new Blob([String(value || "")]).size; + function normalizeAddressTag(value) { + return typeof value === "string" + ? value.replace(/\s+/g, " ").trim().toLowerCase().slice(0, MAX_ADDRESS_TAG_LENGTH) + : ""; } - function isStorageQuotaError(error) { - if (!error) { - return false; - } - - return ( - error.name === "QuotaExceededError" || - error.name === "NS_ERROR_DOM_QUOTA_REACHED" || - error.code === 22 || - error.code === 1014 - ); - } + function normalizeAddressTags(values) { + const source = Array.isArray(values) ? values.slice(0, MAX_TAGS_PER_ADDRESS) : []; + const seen = new Set(); + const normalized = []; - function serializeInternalState(currentState) { - return { - groups: currentState.groups.map((group) => ({ - id: group.id, - name: group.name, - })), - addresses: currentState.addresses.map((address) => ({ - id: address.id, - address: address.address, - tags: normalizeAddressTags(address.tags), - groupId: address.groupId, - createdAt: address.createdAt, - })), - seededDemoWallets: normalizeDemoSeedKeys(currentState.seededDemoWallets), - hideBalances: currentState.hideBalances, - selectedRange: normalizeChartRange(currentState.selectedRange), - settings: { - activeWalletId: currentState.settings.activeWalletId || null, - activeAddressId: currentState.settings.activeAddressId || null, - displayUnit: ["BTC", "USD"].includes(currentState.settings.displayUnit) - ? currentState.settings.displayUnit - : "BTC", - fiatCurrency: normalizeFiatCurrency(currentState.settings.fiatCurrency), - hideDust: Boolean(currentState.settings.hideDust), - bitcoinNotation: normalizeBitcoinNotation(currentState.settings.bitcoinNotation), - showBackgroundGraphics: currentState.settings.showBackgroundGraphics !== false, - }, - lastUpdated: currentState.lastUpdated, - satoshiDemoLastRefreshedAt: currentState.satoshiDemoLastRefreshedAt, - }; - } + source.forEach((value) => { + const tag = normalizeAddressTag(value); + if (!tag) { + return; + } - function normalizeImportedState(candidate) { - const next = buildDefaultState(); - if (!candidate || typeof candidate !== "object") { - return next; - } - - const groups = normalizeGroups(candidate.groups); - const groupNameToId = new Map(groups.map((group) => [group.name.toLowerCase(), group.id])); - const validGroupIds = new Set(groups.map((group) => group.id)); - const addresses = normalizeAddresses(candidate.addresses, groupNameToId, validGroupIds); - - next.groups = groups; - next.addresses = addresses; - next.hideBalances = Boolean(candidate.hideBalances); - next.seededDemoWallets = normalizeDemoSeedKeys(candidate.seededDemoWallets); - next.selectedRange = normalizeChartRange(candidate.selectedRange); - next.settings = { - ...createDefaultSettings(), - activeWalletId: - candidate.settings && typeof candidate.settings.activeWalletId === "string" - ? candidate.settings.activeWalletId - : null, - activeAddressId: - candidate.settings && typeof candidate.settings.activeAddressId === "string" - ? candidate.settings.activeAddressId - : null, - displayUnit: - candidate.settings && - (candidate.settings.displayUnit === "BTC" || candidate.settings.displayUnit === "USD") - ? candidate.settings.displayUnit - : "BTC", - fiatCurrency: normalizeFiatCurrency(candidate.settings?.fiatCurrency), - hideDust: typeof candidate.settings?.hideDust === "boolean" ? candidate.settings.hideDust : true, - bitcoinNotation: normalizeBitcoinNotation(candidate.settings?.bitcoinNotation), - showBackgroundGraphics: - typeof candidate.settings?.showBackgroundGraphics === "boolean" - ? candidate.settings.showBackgroundGraphics - : true, - }; - next.lastUpdated = - typeof candidate.lastUpdated === "string" && !Number.isNaN(Date.parse(candidate.lastUpdated)) - ? candidate.lastUpdated - : null; - next.satoshiDemoLastRefreshedAt = - typeof candidate.satoshiDemoLastRefreshedAt === "string" && - !Number.isNaN(Date.parse(candidate.satoshiDemoLastRefreshedAt)) - ? candidate.satoshiDemoLastRefreshedAt - : null; + const key = tag.toLowerCase(); + if (seen.has(key)) { + return; + } - seedSatoshiDemoWallet(next); - return next; - } + seen.add(key); + normalized.push(tag); + }); - function* buildRuntimeCacheCandidates(currentRuntime) { - yield serializeRuntimeCache(currentRuntime); - const compact = { includeIntradayPriceHistory: false, includeHourlyBalanceTimeline: false }; - yield serializeRuntimeCache(currentRuntime, compact); - for (const maxTxEventsPerSnapshot of [500, 120, 60, 0]) { - yield serializeRuntimeCache(currentRuntime, { ...compact, maxTxEventsPerSnapshot }); - } + return normalized; } - function serializeRuntimeCache( - currentRuntime, - { - includeAddressDetails = false, - includeIntradayPriceHistory = true, - includeHourlyBalanceTimeline = true, - maxTxEventsPerSnapshot = Infinity, - } = {} - ) { - if (!Array.isArray(currentRuntime.addressSnapshots) || !currentRuntime.addressSnapshots.length) { - return null; + function parseAddressInput(rawValue) { + if (typeof rawValue !== "string") { + return []; } - return { - historyScope: normalizeHistoryScope(currentRuntime.historyScope), - currentPriceUsd: Number.isFinite(currentRuntime.currentPriceUsd) - ? currentRuntime.currentPriceUsd - : null, - fiatExchangeRates: serializeNumberMap(currentRuntime.fiatExchangeRates), - priceHistory: serializeNumberMap(currentRuntime.priceHistory), - intradayPriceHistory: includeIntradayPriceHistory - ? serializeNumberMap(currentRuntime.intradayPriceHistory) - : [], - historyAvailable: Boolean(currentRuntime.historyAvailable), - historyMissingDays: Number.isFinite(currentRuntime.historyMissingDays) - ? currentRuntime.historyMissingDays - : 0, - approximationMode: Boolean(currentRuntime.approximationMode), - timelineStart: Number.isFinite(currentRuntime.timelineStart) ? currentRuntime.timelineStart : null, - timelineEnd: Number.isFinite(currentRuntime.timelineEnd) ? currentRuntime.timelineEnd : null, - intradayStart: Number.isFinite(currentRuntime.intradayStart) ? currentRuntime.intradayStart : null, - intradayEnd: Number.isFinite(currentRuntime.intradayEnd) ? currentRuntime.intradayEnd : null, - transactionDetails: serializeTransactionDetailsMap(currentRuntime.transactionDetailsByTxid), - addressSnapshots: currentRuntime.addressSnapshots.map((snapshot) => ({ - entryId: snapshot.entry?.id || null, - provider: snapshot.provider || "", - balanceSats: Number(snapshot.balanceSats || 0), - usdValue: Number.isFinite(snapshot.usdValue) ? snapshot.usdValue : null, - approximate: Boolean(snapshot.approximate) || snapshot.txEvents.length > maxTxEventsPerSnapshot, - detailScope: maxTxEventsPerSnapshot === 0 ? "SUMMARY" : normalizeSnapshotDetailScope(snapshot.detailScope), - txEvents: serializeTxEvents(snapshot.txEvents, { - includeAddressDetails, - maxItems: maxTxEventsPerSnapshot, - }), - balanceTimeline: serializeBalanceTimeline(snapshot.balanceTimeline), - hourlyBalanceTimeline: includeHourlyBalanceTimeline - ? serializeBalanceTimeline(snapshot.hourlyBalanceTimeline) - : [], - })), - }; + return rawValue + .split(/[\s,;]+/) + .map(normalizeBitcoinAddress) + .filter(Boolean); } - function normalizeRuntimeCache(candidate, currentState) { - if (!candidate || typeof candidate !== "object") { - return null; - } - - const addressById = new Map(currentState.addresses.map((entry) => [entry.id, entry])); - const snapshots = Array.isArray(candidate.addressSnapshots) - ? candidate.addressSnapshots - .slice(0, MAX_WATCHED_ADDRESSES) - .map((snapshot) => normalizeCachedSnapshot(snapshot, addressById)) - .filter(Boolean) - : []; + function classifyAddressBatchDuplicates(addresses) { + const existingAddresses = new Set(state.addresses.map((entry) => normalizeBitcoinAddress(entry.address))); + const seen = new Set(); + const unique = []; + const duplicates = []; + const existing = []; - if (!snapshots.length) { - return null; - } + addresses.forEach((address) => { + const key = normalizeBitcoinAddress(address); + if (existingAddresses.has(key)) { + existing.push(address); + return; + } + if (seen.has(key)) { + duplicates.push(address); + return; + } - const timelineStart = isTimestamp(candidate.timelineStart) ? candidate.timelineStart : null; - const timelineEnd = isTimestamp(candidate.timelineEnd) ? candidate.timelineEnd : null; - const intradayStart = isTimestamp(candidate.intradayStart) ? candidate.intradayStart : null; - const intradayEnd = isTimestamp(candidate.intradayEnd) ? candidate.intradayEnd : null; - let rebuiltTimelines = false; - snapshots.forEach((snapshot) => { - rebuiltTimelines = - rebuildCachedSnapshotTimelinesIfNeeded(snapshot, { - timelineStart, - timelineEnd, - intradayStart, - intradayEnd, - }) || rebuiltTimelines; + seen.add(key); + unique.push(address); }); return { - historyScope: normalizeHistoryScope(candidate.historyScope), - currentPriceUsd: Number.isFinite(candidate.currentPriceUsd) ? candidate.currentPriceUsd : null, - fiatExchangeRates: normalizeFiatExchangeRates(candidate.fiatExchangeRates), - priceHistory: deserializeNumberMap(candidate.priceHistory), - intradayPriceHistory: deserializeNumberMap(candidate.intradayPriceHistory), - historyAvailable: candidate.historyAvailable !== false, - historyMissingDays: Number.isFinite(candidate.historyMissingDays) ? candidate.historyMissingDays : 0, - approximationMode: Boolean(candidate.approximationMode), - timelineStart, - timelineEnd, - intradayStart, - intradayEnd, - addressSnapshots: snapshots, - transactionDetailsByTxid: normalizeTransactionDetailsMap(candidate.transactionDetails), - rebuiltTimelines, + unique, + duplicates: uniqueStrings(duplicates), + existing: uniqueStrings(existing), }; } - function rebuildCachedSnapshotTimelinesIfNeeded( - snapshot, - { timelineStart, timelineEnd, intradayStart, intradayEnd } - ) { - if (!snapshot || normalizeSnapshotDetailScope(snapshot.detailScope) === "SUMMARY") { - return false; - } - - let rebuilt = false; - if ( - shouldRebuildCachedTimeline(snapshot.balanceTimeline, snapshot.txEvents, timelineStart, timelineEnd) - ) { - snapshot.balanceTimeline = buildDailyBalanceTimeline( - snapshot.balanceSats, - snapshot.txEvents, - timelineStart, - timelineEnd - ); - rebuilt = true; - } - - if ( - shouldRebuildCachedTimeline( - snapshot.hourlyBalanceTimeline, - snapshot.txEvents, - intradayStart, - intradayEnd - ) - ) { - snapshot.hourlyBalanceTimeline = buildIntervalBalanceTimeline( - snapshot.balanceSats, - snapshot.txEvents, - intradayStart, - intradayEnd, - HOUR_MS, - startOfUtcHour, - toHourKey - ); - rebuilt = true; + function normalizeDemoSeedKeys(rawKeys) { + if (!Array.isArray(rawKeys)) { + return []; } - return rebuilt; + return uniqueStrings( + rawKeys.filter((entry) => typeof entry === "string" && entry.trim()).map((entry) => entry.trim()) + ); } - function shouldRebuildCachedTimeline(points, txEvents, startTimestamp, endTimestamp) { - if (!Number.isFinite(startTimestamp) || !Number.isFinite(endTimestamp)) { - return false; + function seedSatoshiDemoWallet(nextState, { force = false } = {}) { + const seededKeys = normalizeDemoSeedKeys(nextState.seededDemoWallets); + const alreadySeeded = seededKeys.includes(SATOSHI_DEMO_KEY); + if (alreadySeeded && !force) { + nextState.seededDemoWallets = seededKeys; + return nextState; } - const events = Array.isArray(txEvents) ? txEvents : []; - if (!events.length) { - return false; - } - - const validPoints = Array.isArray(points) - ? points.filter((point) => Number.isFinite(point?.timestamp) && Number.isFinite(point?.balanceSats)) - : []; - if (!validPoints.length) { - return true; - } - - const uniqueBalances = new Set(validPoints.map((point) => point.balanceSats)); - if (uniqueBalances.size > 1) { - return false; - } - - return events.some((event) => { - const timestamp = Number(event?.timestamp); - const netSats = Number(event?.netSats || 0); - return ( - Number.isFinite(timestamp) && - timestamp >= startTimestamp && - timestamp <= endTimestamp && - netSats !== 0 - ); - }); - } - - function normalizeCachedSnapshot(snapshot, addressById) { - if (!snapshot || typeof snapshot !== "object" || typeof snapshot.entryId !== "string") { - return null; - } - - const entry = addressById.get(snapshot.entryId); - if (!entry || entry.needsHistoryRefresh || !isSatoshiAmount(snapshot.balanceSats)) { - return null; - } - - return { - entry, - provider: typeof snapshot.provider === "string" ? snapshot.provider : "", - balanceSats: Number(snapshot.balanceSats || 0), - usdValue: Number.isFinite(snapshot.usdValue) ? snapshot.usdValue : null, - approximate: Boolean(snapshot.approximate), - detailScope: normalizeSnapshotDetailScope(snapshot.detailScope), - txEvents: normalizeCachedTxEvents(snapshot.txEvents), - balanceTimeline: normalizeCachedBalanceTimeline(snapshot.balanceTimeline), - hourlyBalanceTimeline: normalizeCachedBalanceTimeline(snapshot.hourlyBalanceTimeline), - }; - } - - function serializeNumberMap(source) { - if (!(source instanceof Map)) { - return []; - } - - return [...source.entries()].filter( - (entry) => typeof entry[0] === "string" && Number.isFinite(entry[1]) - ); - } - - function deserializeNumberMap(source) { - const map = new Map(); - if (!Array.isArray(source)) { - return map; - } - - source.slice(0, MAX_TIMELINE_POINTS).forEach((entry) => { - if (Array.isArray(entry) && typeof entry[0] === "string" && Number.isFinite(entry[1])) { - map.set(entry[0], entry[1]); - } - }); - return map; - } - - function normalizeFiatExchangeRates(source) { - const map = createDefaultFiatExchangeRates(); - const candidate = source instanceof Map ? source : deserializeNumberMap(source); - - SUPPORTED_FIAT_CURRENCIES.forEach((currency) => { - if (currency === "USD") { - return; - } - - const rate = candidate.get(currency); - if (Number.isFinite(rate) && rate > 0) { - map.set(currency, rate); - } - }); - - return map; - } - - function mergeFiatExchangeRates(preferred, fallback) { - const merged = normalizeFiatExchangeRates(fallback); - normalizeFiatExchangeRates(preferred).forEach((value, key) => { - merged.set(key, value); - }); - return merged; - } - - function mergeNumberMaps(fallback, preferred) { - const merged = fallback instanceof Map ? new Map(fallback) : new Map(); - if (preferred instanceof Map) { - preferred.forEach((value, key) => { - if (typeof key === "string" && Number.isFinite(value)) { - merged.set(key, value); - } - }); - } - return merged; - } - - function areNumberMapsEqual(left, right) { - const normalizedLeft = left instanceof Map ? left : new Map(); - const normalizedRight = right instanceof Map ? right : new Map(); - if (normalizedLeft.size !== normalizedRight.size) { - return false; - } - - for (const [key, value] of normalizedLeft.entries()) { - if (normalizedRight.get(key) !== value) { - return false; - } - } - - return true; - } - - function serializeTxEvents( - source, - { - includeAddressDetails = true, - maxItems = Infinity, - } = {} - ) { - if (!Array.isArray(source)) { - return []; - } - - const limit = Number.isFinite(maxItems) && maxItems >= 0 - ? Math.min(maxItems, MAX_TRANSACTIONS_PER_ADDRESS) : MAX_TRANSACTIONS_PER_ADDRESS; - return source.slice(0, limit).map((event) => ({ - txid: event.txid, - timestamp: Number(event.timestamp || 0), - confirmed: Boolean(event.confirmed), - receivedSats: Number(event.receivedSats || 0), - sentSats: Number(event.sentSats || 0), - netSats: Number(event.netSats || 0), - feeSats: Number.isFinite(event.feeSats) ? Number(event.feeSats) : null, - feeRateSatVb: Number.isFinite(event.feeRateSatVb) ? Number(event.feeRateSatVb) : null, - inputAddresses: - includeAddressDetails && Array.isArray(event.inputAddresses) ? event.inputAddresses : [], - outputAddresses: - includeAddressDetails && Array.isArray(event.outputAddresses) ? event.outputAddresses : [], - walletInputAddresses: - includeAddressDetails && Array.isArray(event.walletInputAddresses) - ? event.walletInputAddresses - : [], - walletOutputAddresses: - includeAddressDetails && Array.isArray(event.walletOutputAddresses) - ? event.walletOutputAddresses - : [], - })); - - } - - function normalizeCachedTxEvents(source) { - if (!Array.isArray(source)) { - return []; - } - - return source - .slice(0, MAX_TRANSACTIONS_PER_ADDRESS) - .map((event) => { - if (!event || !isValidTxid(event.txid) || !isTimestamp(event.timestamp) || - !isSatoshiAmount(event.receivedSats) || !isSatoshiAmount(event.sentSats) || - event.netSats !== event.receivedSats - event.sentSats) { - return null; - } - - return { - txid: event.txid, - timestamp: Number(event.timestamp || 0), - confirmed: Boolean(event.confirmed), - receivedSats: Number(event.receivedSats || 0), - sentSats: Number(event.sentSats || 0), - netSats: Number(event.netSats || 0), - feeSats: Number.isFinite(event.feeSats) ? Number(event.feeSats) : null, - feeRateSatVb: Number.isFinite(event.feeRateSatVb) ? Number(event.feeRateSatVb) : null, - inputAddresses: Array.isArray(event.inputAddresses) - ? uniqueStrings(event.inputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) - : [], - outputAddresses: Array.isArray(event.outputAddresses) - ? uniqueStrings(event.outputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) - : [], - walletInputAddresses: Array.isArray(event.walletInputAddresses) - ? uniqueStrings( - event.walletInputAddresses.filter((entry) => typeof entry === "string" && entry.trim()) - ) - : [], - walletOutputAddresses: Array.isArray(event.walletOutputAddresses) - ? uniqueStrings( - event.walletOutputAddresses.filter((entry) => typeof entry === "string" && entry.trim()) - ) - : [], - }; - }) - .filter(Boolean); - } - - function serializeTransactionDetailsMap(source) { - const entries = source instanceof Map ? [...source.entries()] : []; - return entries - .filter(([txid, details]) => isValidTxid(txid) && details && typeof details === "object") - .slice(-MAX_TRANSACTIONS_PER_ADDRESS) - .map(([txid, details]) => [ - txid, - normalizeTransactionDetails({ - txid, - ...details, - }), - ]) - .filter(([, details]) => details); - } - - function normalizeTransactionDetailsMap(source) { - if (!Array.isArray(source)) { - return new Map(); - } - - const detailsByTxid = new Map(); - source.slice(-MAX_TRANSACTIONS_PER_ADDRESS).forEach((entry) => { - if (!Array.isArray(entry) || entry.length < 2 || !isValidTxid(entry[0])) { - return; - } - - const details = normalizeTransactionDetails({ - ...entry[1], - txid: entry[0], - }); - if (details) { - detailsByTxid.set(entry[0], details); - } - }); - return detailsByTxid; - } - - function normalizeTransactionDetails(candidate) { - if (!candidate || typeof candidate !== "object" || !isValidTxid(candidate.txid)) { - return null; - } - - return { - txid: candidate.txid, - feeSats: Number.isFinite(candidate.feeSats) ? Number(candidate.feeSats) : null, - feeRateSatVb: Number.isFinite(candidate.feeRateSatVb) - ? Number(candidate.feeRateSatVb) - : null, - inputAddresses: Array.isArray(candidate.inputAddresses) - ? uniqueStrings(candidate.inputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) - : [], - outputAddresses: Array.isArray(candidate.outputAddresses) - ? uniqueStrings(candidate.outputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) - : [], - }; - } - - function serializeBalanceTimeline(source) { - if (!Array.isArray(source)) { - return []; - } - - return source.map((point) => ({ - dateKey: point.dateKey, - timestamp: Number(point.timestamp || 0), - balanceSats: Number(point.balanceSats || 0), - })); - } - - function normalizeCachedBalanceTimeline(source) { - if (!Array.isArray(source)) { - return []; - } - - return source - .slice(0, MAX_TIMELINE_POINTS) - .map((point) => { - if (!point || typeof point.dateKey !== "string" || !isTimestamp(point.timestamp) || - !isSatoshiAmount(point.balanceSats)) { - return null; - } - - return { - dateKey: point.dateKey, - timestamp: Number(point.timestamp || 0), - balanceSats: Number(point.balanceSats || 0), - }; - }) - .filter(Boolean); - } - - function normalizeGroups(rawGroups) { - const source = (Array.isArray(rawGroups) && rawGroups.length ? rawGroups : DEFAULT_WALLET_NAMES).slice( - 0, - MAX_WALLETS - ); - const normalized = []; - const seen = new Set(); - - source.forEach((group) => { - const name = typeof group === "string" ? group : group?.name; - const normalizedName = normalizeWalletName(name); - if (!normalizedName) { - return; - } - - const key = normalizedName.toLowerCase(); - if (seen.has(key)) { - return; - } - - seen.add(key); - normalized.push({ - id: typeof group === "object" && typeof group.id === "string" ? group.id : createId("grp"), - name: normalizedName, - }); - }); - - return normalized.length ? normalized : buildDefaultState().groups; - } - - function normalizeAddresses(rawAddresses, groupNameToId, validGroupIds) { - const source = Array.isArray(rawAddresses) ? rawAddresses.slice(0, MAX_WATCHED_ADDRESSES) : []; - const seen = new Set(); - const normalized = []; - - source.forEach((entry) => { - const address = normalizeBitcoinAddress(entry?.address); - if (!address) { - return; - } - - const key = normalizeBitcoinAddress(address); - if (seen.has(key)) { - return; - } - seen.add(key); - - let groupId = null; - if (typeof entry.groupId === "string" && validGroupIds.has(entry.groupId)) { - groupId = entry.groupId; - } else if (typeof entry.group === "string") { - groupId = groupNameToId.get(entry.group.toLowerCase()) || null; - } - - normalized.push({ - id: typeof entry.id === "string" ? entry.id : createId("addr"), - address, - needsHistoryRefresh: address !== entry.address.trim(), - tags: normalizeAddressTags(entry.tags), - groupId, - createdAt: - typeof entry.createdAt === "string" && !Number.isNaN(Date.parse(entry.createdAt)) - ? entry.createdAt - : new Date().toISOString(), - }); - }); - - return normalized; - } - - function normalizeAddressTag(value) { - return typeof value === "string" - ? value.replace(/\s+/g, " ").trim().toLowerCase().slice(0, MAX_ADDRESS_TAG_LENGTH) - : ""; - } - - function normalizeAddressTags(values) { - const source = Array.isArray(values) ? values.slice(0, MAX_TAGS_PER_ADDRESS) : []; - const seen = new Set(); - const normalized = []; - - source.forEach((value) => { - const tag = normalizeAddressTag(value); - if (!tag) { - return; - } - - const key = tag.toLowerCase(); - if (seen.has(key)) { - return; - } - - seen.add(key); - normalized.push(tag); - }); - - return normalized; - } - - function parseAddressInput(rawValue) { - if (typeof rawValue !== "string") { - return []; - } - - return rawValue - .split(/[\s,;]+/) - .map(normalizeBitcoinAddress) - .filter(Boolean); - } - - function classifyAddressBatchDuplicates(addresses) { - const existingAddresses = new Set(state.addresses.map((entry) => normalizeBitcoinAddress(entry.address))); - const seen = new Set(); - const unique = []; - const duplicates = []; - const existing = []; - - addresses.forEach((address) => { - const key = normalizeBitcoinAddress(address); - if (existingAddresses.has(key)) { - existing.push(address); - return; - } - if (seen.has(key)) { - duplicates.push(address); - return; - } - - seen.add(key); - unique.push(address); - }); - - return { - unique, - duplicates: uniqueStrings(duplicates), - existing: uniqueStrings(existing), - }; - } - - function normalizeDemoSeedKeys(rawKeys) { - if (!Array.isArray(rawKeys)) { - return []; - } - - return uniqueStrings( - rawKeys.filter((entry) => typeof entry === "string" && entry.trim()).map((entry) => entry.trim()) - ); - } - - function seedSatoshiDemoWallet(nextState, { force = false } = {}) { - const seededKeys = normalizeDemoSeedKeys(nextState.seededDemoWallets); - const alreadySeeded = seededKeys.includes(SATOSHI_DEMO_KEY); - if (alreadySeeded && !force) { - nextState.seededDemoWallets = seededKeys; - return nextState; - } - - const hasAnyDemoAddress = nextState.addresses.some((entry) => - SATOSHI_DEMO_ADDRESSES.some((address) => normalizeBitcoinAddress(address) === normalizeBitcoinAddress(entry.address)) - ); - if (hasAnyDemoAddress && !force) { - nextState.seededDemoWallets = uniqueStrings([...seededKeys, SATOSHI_DEMO_KEY]); - return nextState; + const hasAnyDemoAddress = nextState.addresses.some((entry) => + SATOSHI_DEMO_ADDRESSES.some((address) => normalizeBitcoinAddress(address) === normalizeBitcoinAddress(entry.address)) + ); + if (hasAnyDemoAddress && !force) { + nextState.seededDemoWallets = uniqueStrings([...seededKeys, SATOSHI_DEMO_KEY]); + return nextState; } let satoshiWallet = nextState.groups.find( @@ -6288,861 +5758,6 @@ // API layer // --------------------------------------------------------------------------- - const APILayer = { - async fetchAddressSummary(address) { - const generation = dataGeneration; - const normalizedAddress = await requireValidMainnetBitcoinAddress(address); - requireCurrentGeneration(generation); - const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { - const summary = await fetchAddressSummaryFromProvider(provider, normalizedAddress); - return { - provider: provider.name, - summary, - }; - }); - - return withFallback(attempts, "Address summary lookup failed."); - }, - - async fetchAddressBundle(address, startTimestamp) { - const generation = dataGeneration; - const normalizedAddress = await requireValidMainnetBitcoinAddress(address); - requireCurrentGeneration(generation); - const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { - const bundle = await fetchAddressBundleFromProvider(provider, normalizedAddress, startTimestamp); - return { - provider: provider.name, - bundle, - }; - }); - - return withFallback(attempts, "Address lookup failed."); - }, - - async fetchAddressDelta(address, knownTxids) { - const generation = dataGeneration; - const normalizedAddress = await requireValidMainnetBitcoinAddress(address); - requireCurrentGeneration(generation); - const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { - const bundle = await fetchAddressDeltaFromProvider(provider, normalizedAddress, knownTxids); - return { - provider: provider.name, - bundle, - }; - }); - - return withFallback(attempts, "Incremental address lookup failed."); - }, - - async fetchTransactionDetails(txid) { - const normalizedTxid = requireValidTransactionId(txid); - const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { - const transaction = await fetchTransactionFromProvider(provider, normalizedTxid); - const details = buildTransactionTechnicalDetails(transaction); - if (!details) { - throw createApiError("Transaction detail response was incomplete."); - } - return { - provider: provider.name, - details, - }; - }); - - return withFallback(attempts, "Transaction detail lookup failed."); - }, - - async fetchCurrentPriceUsd() { - return fetchCurrentPriceQuote(); - }, - - async fetchFiatExchangeRates() { - return fetchFiatExchangeRates(); - }, - - async fetchMarketData(startTimestamp, endTimestamp, displayFiatCurrency = "USD") { - const generation = dataGeneration; - let currentPrice = null; - let currentPriceError = null; - let fiatExchangeRates = createDefaultFiatExchangeRates(); - const [currentPriceResult, fiatExchangeRatesResult, displayFiatMarketResult] = - await Promise.allSettled([ - fetchCurrentPriceQuote(), - fetchFiatExchangeRates(), - fetchDirectFiatMarketData(displayFiatCurrency, startTimestamp, endTimestamp), - ]); - requireCurrentGeneration(generation); - if (currentPriceResult.status === "fulfilled") { - currentPrice = currentPriceResult.value; - } else { - currentPriceError = currentPriceResult.reason; - } - if (fiatExchangeRatesResult.status === "fulfilled") { - fiatExchangeRates = fiatExchangeRatesResult.value; - } - const displayFiatMarket = - displayFiatMarketResult.status === "fulfilled" ? displayFiatMarketResult.value : null; - - let priceHistory = new Map(); - let historyAvailable = true; - let historyMissingDays = 0; - try { - const historyResult = await fetchHistoricalPriceSeries(startTimestamp, endTimestamp); - priceHistory = historyResult.series; - historyMissingDays = historyResult.missingDays; - historyAvailable = priceHistory.size > 0; - } catch (error) { - historyAvailable = false; - } - - requireCurrentGeneration(generation); - if ((!currentPrice || !Number.isFinite(currentPrice.price)) && priceHistory.size) { - currentPrice = { - provider: "Historical close fallback", - price: getLastFinitePriceFromHistory(priceHistory), - }; - } - - if (!currentPrice || !Number.isFinite(currentPrice.price)) { - throw new Error( - currentPriceError?.message || "Current BTC/USD price and historical fallback both failed." - ); - } - - const intradayStart = startOfUtcHour(Date.now() - 23 * HOUR_MS); - const intradayEnd = Date.now(); - let intradayPriceHistory = new Map(); - try { - intradayPriceHistory = await fetchIntradayPriceSeries( - intradayStart, - intradayEnd, - currentPrice.price - ); - } catch (error) { - intradayPriceHistory = new Map(); - } - - requireCurrentGeneration(generation); - return { - currentPriceUsd: currentPrice.price, - fiatExchangeRates, - displayFiatMarket, - priceHistory, - intradayPriceHistory, - intradayStart, - intradayEnd, - historyAvailable, - historyMissingDays, - provider: currentPrice.provider, - }; - }, - }; - - // Privacy note: market-data requests do not reveal watched addresses, but the - // timing pattern of price fetches alongside address fetches could fingerprint - // a Bitkit Watch session to the price-data provider. - function fetchCurrentPriceQuote() { - return fetchCurrentProductQuote("BTC-USD"); - } - - function fetchCurrentProductQuote(productId) { - const quoteCurrency = getProductQuoteCurrency(productId); - return withFallback( - [ - async () => { - const response = await fetchJson( - `https://api.exchange.coinbase.com/products/${encodeURIComponent(productId)}/ticker`, - { - providerName: "Coinbase Exchange", - validate: validateTickerPayload, - } - ); - return { provider: "Coinbase Exchange", price: Number(response.price) }; - }, - async () => { - const response = await fetchJson( - `https://api.coinbase.com/v2/prices/${encodeURIComponent(productId)}/spot`, - { - providerName: "Coinbase Spot", - validate: validateSpotPayload, - } - ); - return { provider: "Coinbase Spot", price: Number(response.data.amount) }; - }, - async () => { - const response = await fetchJson( - "https://api.coinbase.com/v2/exchange-rates?currency=BTC", - { - providerName: "Coinbase Rates", - validate: validateRatesPayload, - } - ); - return { provider: "Coinbase Rates", price: Number(response.data.rates[quoteCurrency]) }; - }, - ], - `Current ${productId} price unavailable.` - ); - } - - async function fetchFiatExchangeRates() { - const response = await fetchJson("https://api.coinbase.com/v2/exchange-rates?currency=BTC", { - providerName: "Coinbase Rates", - validate: validateRatesPayload, - }); - const btcRates = response?.data?.rates || {}; - const usdPerBtc = Number(btcRates.USD); - if (!Number.isFinite(usdPerBtc) || usdPerBtc <= 0) { - throw new Error("Current fiat exchange rates unavailable."); - } - - const nextRates = createDefaultFiatExchangeRates(); - SUPPORTED_FIAT_CURRENCIES.forEach((currency) => { - if (currency === "USD") { - return; - } - - const quote = Number(btcRates[currency]); - if (Number.isFinite(quote) && quote > 0) { - nextRates.set(currency, quote / usdPerBtc); - } - }); - - return nextRates; - } - - // Privacy note: sends a watched address to a third-party block explorer API. - // The provider can correlate the address with the requester's IP. Batch calls - // (with capped concurrency during refresh) expose multiple addresses in a short - // window, which strengthens the correlation. Users concerned about this should - // use Tor or a VPN (see FAQ). - async function fetchAddressSummaryFromProvider(provider, address) { - const encoded = encodeURIComponent(address); - return fetchJson(`${provider.baseUrl}/address/${encoded}`, { - providerName: provider.name, - validate: (payload) => validateAddressSummaryPayload(payload, address), - }); - } - - // Privacy: fetches full transaction history for an address. Same IP-correlation - // risk as fetchAddressSummaryFromProvider above. - async function fetchAddressBundleFromProvider(provider, address, startTimestamp) { - const generation = dataGeneration; - const encoded = encodeURIComponent(address); - const summary = await fetchJson(`${provider.baseUrl}/address/${encoded}`, { - providerName: provider.name, - validate: (payload) => validateAddressSummaryPayload(payload, address), - }); - requireCurrentGeneration(generation); - const txResult = await fetchAddressTransactions(provider, address, startTimestamp); - - return { - summary, - transactions: txResult.transactions, - truncated: txResult.truncated, - }; - } - - async function fetchAddressDeltaFromProvider(provider, address, knownTxids) { - const generation = dataGeneration; - const encoded = encodeURIComponent(address); - const summary = await fetchJson(`${provider.baseUrl}/address/${encoded}`, { - providerName: provider.name, - validate: (payload) => validateAddressSummaryPayload(payload, address), - }); - requireCurrentGeneration(generation); - const txResult = await fetchAddressTransactionsUntilKnown(provider, address, knownTxids); - - return { - summary, - transactions: txResult.transactions, - truncated: txResult.truncated, - overlapFound: txResult.overlapFound, - }; - } - - async function fetchTransactionFromProvider(provider, txid) { - const encoded = encodeURIComponent(txid); - return fetchJson(`${provider.baseUrl}/tx/${encoded}`, { - providerName: provider.name, - validate: (payload) => validateTransactionPayload(payload, txid), - maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, - }); - } - - async function fetchAddressTransactions(provider, address, startTimestamp) { - const generation = dataGeneration; - const encoded = encodeURIComponent(address); - const firstPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs`, { - providerName: provider.name, - validate: validateTransactionListPayload, - maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, - }); - const collected = []; - const seen = new Set(); - - const appendTransactions = (transactions) => { - transactions.forEach((tx) => { - if (collected.length >= MAX_TRANSACTIONS_PER_ADDRESS) { - return; - } - if (!seen.has(tx.txid)) { - seen.add(tx.txid); - collected.push(tx); - } - }); - }; - - appendTransactions(firstPage); - - const confirmedOnly = firstPage.filter((tx) => tx.status?.confirmed); - let lastSeen = confirmedOnly.at(-1)?.txid || null; - let oldestConfirmedTime = confirmedOnly.at(-1)?.status?.block_time || Number.MAX_SAFE_INTEGER; - let pageCount = 0; - while ( - lastSeen && - oldestConfirmedTime > startTimestamp / 1000 && - pageCount < MAX_TRANSACTION_PAGES && - collected.length < MAX_TRANSACTIONS_PER_ADDRESS - ) { - requireCurrentGeneration(generation); - const nextPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs/chain/${lastSeen}`, { - providerName: provider.name, - validate: validateTransactionListPayload, - maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, - }); - if (!nextPage.length) { - break; - } - - appendTransactions(nextPage); - lastSeen = nextPage.at(-1)?.txid || null; - oldestConfirmedTime = nextPage.at(-1)?.status?.block_time || 0; - pageCount += 1; - } - - return { - transactions: collected.filter((tx) => { - if (!tx.status?.confirmed) { - return true; - } - return (tx.status.block_time || 0) * 1000 >= startTimestamp; - }), - truncated: Boolean( - lastSeen && - oldestConfirmedTime > startTimestamp / 1000 && - (pageCount >= MAX_TRANSACTION_PAGES || collected.length >= MAX_TRANSACTIONS_PER_ADDRESS) - ), - }; - } - - async function fetchAddressTransactionsUntilKnown(provider, address, knownTxids) { - const generation = dataGeneration; - const encoded = encodeURIComponent(address); - const known = knownTxids instanceof Set ? knownTxids : new Set(); - const collected = []; - const seen = new Set(); - let overlapFound = false; - const appendTransactions = (transactions) => { - transactions.forEach((tx) => { - if (known.has(tx.txid)) { - overlapFound = true; - return; - } - if (collected.length >= MAX_TRANSACTIONS_PER_ADDRESS || seen.has(tx.txid)) { - return; - } - seen.add(tx.txid); - collected.push(tx); - }); - }; - - const firstPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs`, { - providerName: provider.name, - validate: validateTransactionListPayload, - maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, - }); - appendTransactions(firstPage); - - const confirmedOnly = firstPage.filter((tx) => tx.status?.confirmed); - let lastSeen = confirmedOnly.at(-1)?.txid || null; - let pageCount = 0; - while ( - lastSeen && - !overlapFound && - pageCount < MAX_TRANSACTION_PAGES && - collected.length < MAX_TRANSACTIONS_PER_ADDRESS - ) { - requireCurrentGeneration(generation); - const nextPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs/chain/${lastSeen}`, { - providerName: provider.name, - validate: validateTransactionListPayload, - maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, - }); - if (!nextPage.length) { - lastSeen = null; - break; - } - - appendTransactions(nextPage); - lastSeen = nextPage.at(-1)?.txid || null; - pageCount += 1; - } - - return { - transactions: collected, - overlapFound, - truncated: Boolean( - !overlapFound && - lastSeen && - (pageCount >= MAX_TRANSACTION_PAGES || collected.length >= MAX_TRANSACTIONS_PER_ADDRESS) - ), - }; - } - - async function fetchHistoricalPriceSeries(startTimestamp, endTimestamp) { - return fetchProductHistoricalPriceSeries("BTC-USD", startTimestamp, endTimestamp); - } - - async function fetchProductHistoricalPriceSeries(productId, startTimestamp, endTimestamp) { - const generation = dataGeneration; - const requests = buildCandleRequests(startTimestamp, endTimestamp, 295); - const candleResponses = await allSettledWithConcurrency( - requests, MAX_EXPLORER_CONCURRENCY, (request) => - fetchJson( - `https://api.exchange.coinbase.com/products/${encodeURIComponent(productId)}/candles?granularity=86400&start=${encodeURIComponent( - new Date(request.start).toISOString() - )}&end=${encodeURIComponent(new Date(request.end).toISOString())}`, - { - providerName: "Coinbase Exchange", - validate: validateCandlesPayload, - } - ) - ); - - requireCurrentGeneration(generation); - const closeByDay = new Map(); - candleResponses.forEach((response) => { - if (response.status !== "fulfilled") { - return; - } - - response.value.forEach((candle) => { - const timestamp = candle[0] * 1000; - const dateKey = toDateKey(timestamp); - closeByDay.set(dateKey, Number(candle[4])); - }); - }); - - if (!closeByDay.size) { - return { - series: closeByDay, - missingDays: ONE_YEAR_DAYS, - }; - } - - let lastKnown = null; - const pendingSpotDates = []; - for (let cursor = startOfUtcDay(startTimestamp); cursor <= endTimestamp; cursor += DAY_MS) { - const key = toDateKey(cursor); - if (closeByDay.has(key)) { - lastKnown = closeByDay.get(key); - } else if (lastKnown !== null) { - closeByDay.set(key, lastKnown); - } else { - pendingSpotDates.push(key); - } - } - - if (pendingSpotDates.length && pendingSpotDates.length <= 45) { - for (const dateKey of pendingSpotDates) { - requireCurrentGeneration(generation); - try { - const response = await fetchJson( - `https://api.coinbase.com/v2/prices/${encodeURIComponent(productId)}/spot?date=${encodeURIComponent(dateKey)}`, - { - providerName: "Coinbase Spot", - validate: validateSpotPayload, - } - ); - closeByDay.set(dateKey, Number(response.data.amount)); - } catch (error) { - // Leave the gap empty. Rendering layers handle missing price points. - } - } - } - - const firstKnown = getFirstFinitePriceFromHistory(closeByDay); - let missingDays = 0; - for (let cursor = startOfUtcDay(startTimestamp); cursor <= endTimestamp; cursor += DAY_MS) { - const key = toDateKey(cursor); - if (!closeByDay.has(key) && Number.isFinite(firstKnown)) { - closeByDay.set(key, firstKnown); - } - if (!closeByDay.has(key)) { - missingDays += 1; - } - } - - return { - series: closeByDay, - missingDays, - }; - } - - async function fetchIntradayPriceSeries(startTimestamp, endTimestamp, fallbackPrice) { - return fetchProductIntradayPriceSeries("BTC-USD", startTimestamp, endTimestamp, fallbackPrice); - } - - async function fetchProductIntradayPriceSeries(productId, startTimestamp, endTimestamp, fallbackPrice) { - const response = await fetchJson( - `https://api.exchange.coinbase.com/products/${encodeURIComponent(productId)}/candles?granularity=3600&start=${encodeURIComponent( - new Date(startTimestamp).toISOString() - )}&end=${encodeURIComponent(new Date(endTimestamp).toISOString())}`, - { - providerName: "Coinbase Exchange", - validate: validateCandlesPayload, - } - ); - - const closeByHour = new Map(); - response.forEach((candle) => { - closeByHour.set(toHourKey(candle[0] * 1000), Number(candle[4])); - }); - - let lastKnown = null; - for (let cursor = startOfUtcHour(startTimestamp); cursor <= endTimestamp; cursor += HOUR_MS) { - const key = toHourKey(cursor); - if (closeByHour.has(key)) { - lastKnown = closeByHour.get(key); - } else if (lastKnown !== null) { - closeByHour.set(key, lastKnown); - } else if (Number.isFinite(fallbackPrice)) { - closeByHour.set(key, fallbackPrice); - } - } - - return closeByHour; - } - - async function fetchDirectFiatMarketData( - fiatCurrency, - startTimestamp, - endTimestamp, - { - intradayStart = startOfUtcHour(Date.now() - 23 * HOUR_MS), - intradayEnd = Date.now(), - } = {} - ) { - const generation = dataGeneration; - const normalizedFiat = normalizeFiatCurrency(fiatCurrency); - const productId = getDirectFiatProductId(normalizedFiat); - if (!productId) { - return null; - } - - let currentPrice = null; - let currentPriceError = null; - try { - currentPrice = await fetchCurrentProductQuote(productId); - } catch (error) { - currentPriceError = error; - } - - requireCurrentGeneration(generation); - let priceHistory = new Map(); - try { - const historyResult = await fetchProductHistoricalPriceSeries(productId, startTimestamp, endTimestamp); - priceHistory = historyResult.series; - } catch (error) { - priceHistory = new Map(); - } - - requireCurrentGeneration(generation); - if ((!currentPrice || !Number.isFinite(currentPrice.price)) && priceHistory.size) { - currentPrice = { - provider: "Historical close fallback", - price: getLastFinitePriceFromHistory(priceHistory), - }; - } - - if (!currentPrice || !Number.isFinite(currentPrice.price)) { - throw new Error(currentPriceError?.message || `Current ${productId} price unavailable.`); - } - - let intradayPriceHistory = new Map(); - try { - intradayPriceHistory = await fetchProductIntradayPriceSeries( - productId, - intradayStart, - intradayEnd, - currentPrice.price - ); - } catch (error) { - intradayPriceHistory = new Map(); - } - - requireCurrentGeneration(generation); - return { - currency: normalizedFiat, - productId, - currentPrice: currentPrice.price, - priceHistory, - intradayPriceHistory, - intradayStart, - intradayEnd, - provider: currentPrice.provider, - }; - } - - function buildCandleRequests(startTimestamp, endTimestamp, maxDaysPerRequest) { - const requests = []; - let cursor = startOfUtcDay(startTimestamp); - while (cursor < endTimestamp) { - const chunkEnd = Math.min(cursor + (maxDaysPerRequest - 1) * DAY_MS, endTimestamp); - requests.push({ start: cursor, end: chunkEnd }); - cursor = chunkEnd + DAY_MS; - } - return requests; - } - - function getHistoryStartTimestampFromAddressResults(addressResults) { - const timestamps = addressResults.flatMap((result) => { - if (result.status !== "fulfilled" || !Array.isArray(result.value?.bundle?.transactions)) { - return []; - } - - return result.value.bundle.transactions - .map((tx) => Number(tx?.status?.block_time || 0) * 1000) - .filter((timestamp) => Number.isFinite(timestamp) && timestamp > 0); - }); - - if (!timestamps.length) { - return null; - } - - return startOfUtcDay(Math.min(...timestamps)); - } - - async function allSettledWithConcurrency(items, maxConcurrent, worker) { - const generation = dataGeneration; - const source = Array.isArray(items) ? items : []; - const results = new Array(source.length); - let nextIndex = 0; - const workerCount = Math.min(Math.max(1, maxConcurrent), source.length); - - async function runWorker() { - while (nextIndex < source.length) { - requireCurrentGeneration(generation); - const index = nextIndex; - nextIndex += 1; - try { - results[index] = { - status: "fulfilled", - value: await worker(source[index], index), - }; - } catch (error) { - results[index] = { - status: "rejected", - reason: error, - }; - } - } - } - - await Promise.all(Array.from({ length: workerCount }, () => runWorker())); - requireCurrentGeneration(generation); - return results; - } - - async function requireValidMainnetBitcoinAddress(address) { - const normalized = normalizeBitcoinAddress(address); - if (!(await ValidationLayer.isValidMainnetBitcoinAddress(normalized))) { - throw createApiError("Skipped invalid stored Bitcoin address."); - } - return normalized; - } - - function requireValidTransactionId(value) { - if (!isValidTxid(value)) { - throw createApiError("Invalid transaction id."); - } - return value; - } - - function validateTickerPayload(payload) { - if (!payload || !Number.isFinite(Number(payload.price)) || Number(payload.price) <= 0) { - throw new Error("Invalid price ticker response."); - } - } - - function validateSpotPayload(payload) { - if (!payload?.data || !Number.isFinite(Number(payload.data.amount)) || Number(payload.data.amount) <= 0) { - throw new Error("Invalid spot price response."); - } - } - - function validateRatesPayload(payload) { - if (!payload?.data?.rates || !Number.isFinite(Number(payload.data.rates.USD)) || Number(payload.data.rates.USD) <= 0) { - throw new Error("Invalid exchange-rate response."); - } - } - - async function fetchJson(url, { providerName = "", validate = null, maxBytes = MAX_API_RESPONSE_BYTES } = {}) { - const generation = dataGeneration; - const controller = new AbortController(); - activeRequests.add(controller); - const timeout = window.setTimeout(() => controller.abort(), 15000); - - try { - const response = await fetch(url, { - headers: { - Accept: "application/json", - }, - mode: "cors", - credentials: "omit", - redirect: "error", - cache: "no-store", - referrerPolicy: "no-referrer", - signal: controller.signal, - }); - - requireCurrentGeneration(generation); - if (!response.ok) { - await response.body?.cancel(); - throw createApiError(`${response.status} ${response.statusText}`.trim(), { - status: response.status, - providerName, - url, - }); - } - const payload = await readJsonResponse(response, maxBytes); - requireCurrentGeneration(generation); - if (typeof validate === "function") { - validate(payload); - } - return payload; - } catch (error) { - throw annotateApiError(error, { providerName, url }); - } finally { - window.clearTimeout(timeout); - activeRequests.delete(controller); - } - } - - async function withFallback(attempts, finalMessage) { - const generation = dataGeneration; - const errors = []; - for (const attempt of attempts) { - requireCurrentGeneration(generation); - try { - const result = await attempt(); - requireCurrentGeneration(generation); - if (!errors.length) { - return result; - } - - if (result && typeof result === "object" && !Array.isArray(result)) { - return { - ...result, - warnings: errors.map(toApiWarning), - }; - } - - return result; - } catch (error) { - requireCurrentGeneration(generation); - errors.push(annotateApiError(error)); - } - } - - const finalError = new Error(buildApiFailureMessage(finalMessage, errors)); - finalError.isRateLimit = errors.some((error) => Boolean(error?.isRateLimit)); - finalError.rateLimitWarnings = errors.filter((error) => error?.isRateLimit).map(toApiWarning); - throw finalError; - } - - function createApiError(message, { status = null, providerName = "", url = "" } = {}) { - const error = new Error(message || "Unknown error"); - error.status = Number.isFinite(status) ? status : null; - error.providerName = providerName || ""; - error.url = url || ""; - error.isRateLimit = Number(status) === 429; - return error; - } - - function annotateApiError(error, { providerName = "", url = "" } = {}) { - if (error instanceof Error) { - if (providerName && !error.providerName) { - error.providerName = providerName; - } - if (url && !error.url) { - error.url = url; - } - if (!("status" in error)) { - error.status = null; - } - error.isRateLimit = Boolean(error.isRateLimit || Number(error.status) === 429); - return error; - } - - return createApiError(typeof error === "string" ? error : "Unknown error", { - providerName, - url, - }); - } - - function toApiWarning(error) { - const annotated = annotateApiError(error); - return { - provider: getProviderDisplayName(annotated.providerName), - status: Number.isFinite(annotated.status) ? Number(annotated.status) : null, - isRateLimit: Boolean(annotated.isRateLimit), - message: annotated.message || "Unknown error", - }; - } - - function buildApiFailureMessage(finalMessage, errors) { - const normalizedWarnings = errors.map(toApiWarning); - if (normalizedWarnings.length && normalizedWarnings.every((warning) => warning.isRateLimit)) { - return `${finalMessage} Public APIs are rate limiting requests right now.`.trim(); - } - - const detail = normalizedWarnings - .map((warning) => formatApiWarningMessage(warning)) - .filter(Boolean) - .join(" · "); - return `${finalMessage} ${detail}`.trim(); - } - - function formatApiWarningMessage(warning) { - if (!warning) { - return ""; - } - - const normalizedMessage = - warning.message && Number.isFinite(warning.status) && warning.message.startsWith(String(warning.status)) - ? warning.message.slice(String(warning.status).length).trim() - : warning.message; - - const parts = []; - if (warning.provider) { - parts.push(warning.provider); - } - if (Number.isFinite(warning.status)) { - parts.push(String(warning.status)); - } - if (normalizedMessage) { - parts.push(normalizedMessage); - } - return parts.join(" "); - } - - function getProviderDisplayName(providerName) { - if (providerName === "Mempool") { - return "mempool.space"; - } - return providerName || ""; - } - async function copyPlainTextToClipboard(value) { const text = typeof value === "string" ? value : ""; if (!text) { @@ -7159,453 +5774,72 @@ textarea.setAttribute("readonly", ""); textarea.style.position = "fixed"; textarea.style.opacity = "0"; - textarea.style.pointerEvents = "none"; - document.body.appendChild(textarea); - textarea.select(); - - try { - if (!document.execCommand("copy")) { - throw new Error("Copy failed"); - } - } finally { - document.body.removeChild(textarea); - } - } - - function collectRateLimitWarningsFromSettledResults(results) { - const warnings = []; - results.forEach((result) => { - if (result?.status === "fulfilled" && Array.isArray(result.value?.warnings)) { - warnings.push(...result.value.warnings.filter((warning) => warning?.isRateLimit)); - return; - } - - if (result?.status === "rejected") { - if (Array.isArray(result.reason?.rateLimitWarnings)) { - warnings.push(...result.reason.rateLimitWarnings.filter((warning) => warning?.isRateLimit)); - } else if (result.reason?.isRateLimit) { - warnings.push(toApiWarning(result.reason)); - } - } - }); - return dedupeRateLimitWarnings(warnings); - } - - function dedupeRateLimitWarnings(warnings) { - const byKey = new Map(); - warnings.forEach((warning) => { - if (!warning?.isRateLimit) { - return; - } - const key = `${warning.provider || ""}:${warning.status || ""}:${warning.message || ""}`; - if (!byKey.has(key)) { - byKey.set(key, warning); - } - }); - return [...byKey.values()]; - } - - function formatRateLimitWarning(warnings, context = "refresh") { - const providers = uniqueStrings( - warnings.map((warning) => warning?.provider).filter((provider) => typeof provider === "string" && provider) - ); - const suffix = context === "refresh" ? "Using fallback data where possible." : "Using fallback data where available."; - if (!providers.length) { - return `A public API rate limited this ${context}. ${suffix}`.trim(); - } - if (providers.length === 1) { - return `${providers[0]} rate limited this ${context}. ${suffix}`.trim(); - } - if (providers.length === 2) { - return `${providers[0]} and ${providers[1]} rate limited this ${context}. ${suffix}`.trim(); - } - return `Public APIs rate limited this ${context}. ${suffix}`.trim(); - } - - // --------------------------------------------------------------------------- - // Portfolio, activity, and chart math - // --------------------------------------------------------------------------- - - const PortfolioLayer = { - buildAddressSnapshot({ - entry, - bundle, - provider, - currentPriceUsd, - priceHistory, - startTimestamp, - endTimestamp, - detailScope = "1Y", - }) { - const balanceSats = - Number(bundle.summary.chain_stats?.funded_txo_sum || 0) - - Number(bundle.summary.chain_stats?.spent_txo_sum || 0) + - Number(bundle.summary.mempool_stats?.funded_txo_sum || 0) - - Number(bundle.summary.mempool_stats?.spent_txo_sum || 0); - - const txEvents = bundle.transactions - .map((tx) => normalizeTransactionEvent(tx, entry.address)) - .filter((event) => event && (event.netSats !== 0 || event.sentSats !== 0 || event.receivedSats !== 0)); - - const balanceTimeline = buildDailyBalanceTimeline( - balanceSats, - txEvents, - startTimestamp, - endTimestamp - ); - - const hourlyBalanceTimeline = buildIntervalBalanceTimeline( - balanceSats, - txEvents, - endTimestamp - 23 * HOUR_MS, - endTimestamp, - HOUR_MS, - startOfUtcHour, - toHourKey - ); - - return { - entry, - provider, - balanceSats, - usdValue: (balanceSats / 1e8) * currentPriceUsd, - txEvents, - balanceTimeline, - hourlyBalanceTimeline, - approximate: bundle.truncated, - detailScope, - }; - }, - - buildSummarySnapshot({ - entry, - provider, - balanceSats, - currentPriceUsd, - }) { - return { - entry, - provider, - balanceSats: Number(balanceSats || 0), - usdValue: (Number(balanceSats || 0) / 1e8) * currentPriceUsd, - txEvents: [], - balanceTimeline: [], - hourlyBalanceTimeline: [], - approximate: false, - detailScope: "SUMMARY", - }; - }, - - combineTimelines(snapshots, priceHistory, startTimestamp, endTimestamp) { - return combineSnapshotTimelines( - snapshots, - "balanceTimeline", - priceHistory, - startTimestamp, - endTimestamp - ); - }, - - calculateTotals(snapshots) { - const balanceSats = snapshots.reduce((sum, snapshot) => sum + snapshot.balanceSats, 0); - const usdValue = snapshots.reduce((sum, snapshot) => sum + snapshot.usdValue, 0); - return { balanceSats, usdValue }; - }, - }; - - const ActivityLayer = { - buildCombinedActivity(snapshots, priceHistory, currentPriceUsd) { - const byTx = new Map(); - - snapshots.forEach((snapshot) => { - const label = shortAddress(snapshot.entry.address); - - snapshot.txEvents.forEach((event) => { - if (!byTx.has(event.txid)) { - byTx.set(event.txid, { - txid: event.txid, - timestamp: event.timestamp, - confirmed: event.confirmed, - netSats: 0, - feeSats: Number.isFinite(event.feeSats) ? event.feeSats : null, - feeRateSatVb: Number.isFinite(event.feeRateSatVb) ? event.feeRateSatVb : null, - relatedAddresses: new Set(), - inputAddresses: new Set(), - outputAddresses: new Set(), - walletInputAddresses: new Set(), - walletOutputAddresses: new Set(), - hasAddressDetails: false, - }); - } - - const row = byTx.get(event.txid); - row.timestamp = Math.max(row.timestamp, event.timestamp); - row.netSats += event.netSats; - if (!Number.isFinite(row.feeSats) && Number.isFinite(event.feeSats)) { - row.feeSats = event.feeSats; - } - if (!Number.isFinite(row.feeRateSatVb) && Number.isFinite(event.feeRateSatVb)) { - row.feeRateSatVb = event.feeRateSatVb; - } - row.relatedAddresses.add(label); - if (event.inputAddresses.length || event.outputAddresses.length) { - row.hasAddressDetails = true; - } - event.inputAddresses.forEach((address) => row.inputAddresses.add(address)); - event.outputAddresses.forEach((address) => row.outputAddresses.add(address)); - event.walletInputAddresses.forEach((address) => row.walletInputAddresses.add(address)); - event.walletOutputAddresses.forEach((address) => row.walletOutputAddresses.add(address)); - }); - }); - - return [...byTx.values()] - .map((row) => { - const price = priceHistory.get(toDateKey(row.timestamp)) || currentPriceUsd; - return { - txid: row.txid, - timestamp: row.timestamp, - confirmed: row.confirmed, - netSats: row.netSats, - feeSats: Number.isFinite(row.feeSats) ? row.feeSats : null, - feeRateSatVb: Number.isFinite(row.feeRateSatVb) ? row.feeRateSatVb : null, - direction: row.netSats > 0 ? "Received" : row.netSats < 0 ? "Sent" : "Internal", - usdValue: Number.isFinite(price) ? Math.abs(row.netSats / 1e8) * price : null, - relatedAddresses: [...row.relatedAddresses], - inputAddresses: [...row.inputAddresses], - outputAddresses: [...row.outputAddresses], - walletInputAddresses: [...row.walletInputAddresses], - walletOutputAddresses: [...row.walletOutputAddresses], - hasAddressDetails: Boolean(row.hasAddressDetails), - }; - }) - .sort((left, right) => right.timestamp - left.timestamp); - }, - }; - - function extractTransactionAddresses(tx) { - const inputAddresses = []; - const outputAddresses = []; - - (tx.vout || []).forEach((output) => { - if (looksLikeBitcoinAddress(output.scriptpubkey_address)) { - outputAddresses.push(output.scriptpubkey_address); - } - }); - - (tx.vin || []).forEach((input) => { - if (looksLikeBitcoinAddress(input.prevout?.scriptpubkey_address)) { - inputAddresses.push(input.prevout.scriptpubkey_address); - } - }); - - return { - inputAddresses: uniqueStrings(inputAddresses), - outputAddresses: uniqueStrings(outputAddresses), - }; - } - - function extractTransactionFeeRate(tx) { - const fee = Number(tx?.fee); - if (!Number.isFinite(fee) || fee < 0) { - return null; - } - - const vsize = Number(tx?.vsize); - if (Number.isFinite(vsize) && vsize > 0) { - return fee / vsize; - } + textarea.style.pointerEvents = "none"; + document.body.appendChild(textarea); + textarea.select(); - const weight = Number(tx?.weight); - if (Number.isFinite(weight) && weight > 0) { - return fee / (weight / 4); + try { + if (!document.execCommand("copy")) { + throw new Error("Copy failed"); + } + } finally { + document.body.removeChild(textarea); } - - return null; } - function normalizeTransactionEvent(tx, watchedAddress) { - let receivedSats = 0; - let sentSats = 0; - const { inputAddresses, outputAddresses } = extractTransactionAddresses(tx); - const feeSats = Number.isFinite(tx?.fee) ? Number(tx.fee) : null; - const feeRateSatVb = extractTransactionFeeRate(tx); - - (tx.vout || []).forEach((output) => { - if (normalizeBitcoinAddress(output.scriptpubkey_address) === normalizeBitcoinAddress(watchedAddress)) { - receivedSats += Number(output.value || 0); + function collectRateLimitWarningsFromSettledResults(results) { + const warnings = []; + results.forEach((result) => { + if (result?.status === "fulfilled" && Array.isArray(result.value?.warnings)) { + warnings.push(...result.value.warnings.filter((warning) => warning?.isRateLimit)); + return; } - }); - (tx.vin || []).forEach((input) => { - if (normalizeBitcoinAddress(input.prevout?.scriptpubkey_address) === normalizeBitcoinAddress(watchedAddress)) { - sentSats += Number(input.prevout.value || 0); + if (result?.status === "rejected") { + if (Array.isArray(result.reason?.rateLimitWarnings)) { + warnings.push(...result.reason.rateLimitWarnings.filter((warning) => warning?.isRateLimit)); + } else if (result.reason?.isRateLimit) { + warnings.push(toApiWarning(result.reason)); + } } }); - - const netSats = receivedSats - sentSats; - const timestamp = tx.status?.block_time ? tx.status.block_time * 1000 : Date.now(); - - return { - txid: tx.txid, - timestamp, - confirmed: Boolean(tx.status?.confirmed), - receivedSats, - sentSats, - netSats, - feeSats, - feeRateSatVb, - inputAddresses, - outputAddresses, - walletInputAddresses: uniqueStrings(inputAddresses.filter((address) => address === watchedAddress)), - walletOutputAddresses: uniqueStrings(outputAddresses.filter((address) => address === watchedAddress)), - }; + return dedupeRateLimitWarnings(warnings); } - function buildTransactionTechnicalDetails(tx) { - const { inputAddresses, outputAddresses } = extractTransactionAddresses(tx); - return normalizeTransactionDetails({ - txid: tx.txid, - feeSats: Number.isFinite(tx?.fee) ? Number(tx.fee) : null, - feeRateSatVb: extractTransactionFeeRate(tx), - inputAddresses, - outputAddresses, + function dedupeRateLimitWarnings(warnings) { + const byKey = new Map(); + warnings.forEach((warning) => { + if (!warning?.isRateLimit) { + return; + } + const key = `${warning.provider || ""}:${warning.status || ""}:${warning.message || ""}`; + if (!byKey.has(key)) { + byKey.set(key, warning); + } }); + return [...byKey.values()]; } - function buildDailyBalanceTimeline(currentBalanceSats, txEvents, startTimestamp, endTimestamp) { - return buildIntervalBalanceTimeline( - currentBalanceSats, - txEvents, - startTimestamp, - endTimestamp, - DAY_MS, - startOfUtcDay, - toDateKey + function formatRateLimitWarning(warnings, context = "refresh") { + const providers = uniqueStrings( + warnings.map((warning) => warning?.provider).filter((provider) => typeof provider === "string" && provider) ); - } - - function isSupportedTimelineRange(startTimestamp, endTimestamp, stepMs) { - return Number.isFinite(startTimestamp) && Number.isFinite(endTimestamp) && - startTimestamp >= 0 && endTimestamp >= startTimestamp && endTimestamp <= Date.now() + DAY_MS && - Number.isFinite(stepMs) && stepMs > 0 && - Math.floor((endTimestamp - startTimestamp) / stepMs) + 1 <= MAX_TIMELINE_POINTS; - } - - function buildIntervalBalanceTimeline( - currentBalanceSats, - txEvents, - startTimestamp, - endTimestamp, - stepMs, - alignTime, - keyForTimestamp - ) { - if (!isSupportedTimelineRange(startTimestamp, endTimestamp, stepMs)) return []; - const sortedDescending = [...txEvents].sort((a, b) => b.timestamp - a.timestamp); - const points = []; - let balance = currentBalanceSats; - let txIndex = 0; - - for (let cursor = alignTime(endTimestamp); cursor >= alignTime(startTimestamp); cursor -= stepMs) { - const intervalEnd = cursor + stepMs - 1; - while (txIndex < sortedDescending.length && sortedDescending[txIndex].timestamp > intervalEnd) { - balance -= sortedDescending[txIndex].netSats; - txIndex += 1; - } - - points.push({ - dateKey: keyForTimestamp(cursor), - timestamp: cursor, - balanceSats: balance, - }); + const suffix = context === "refresh" ? "Using fallback data where possible." : "Using fallback data where available."; + if (!providers.length) { + return `A public API rate limited this ${context}. ${suffix}`.trim(); } - - return points.reverse(); - } - - function combineSnapshotTimelines( - snapshots, - timelineKey, - priceHistory, - startTimestamp, - endTimestamp, - { - stepMs = DAY_MS, - alignTime = startOfUtcDay, - keyForTimestamp = toDateKey, - } = {} - ) { - if (!isSupportedTimelineRange(startTimestamp, endTimestamp, stepMs)) return []; - const sources = (Array.isArray(snapshots) ? snapshots : []) - .map((snapshot) => { - const points = Array.isArray(snapshot?.[timelineKey]) - ? snapshot[timelineKey] - .filter( - (point) => - Number.isFinite(point?.timestamp) && - Number.isFinite(point?.balanceSats) - ) - .sort((left, right) => left.timestamp - right.timestamp) - : []; - return { - points, - index: 0, - balanceSats: 0, - }; - }) - .filter((source) => source.points.length); - if (!sources.length) { - return []; + if (providers.length === 1) { + return `${providers[0]} rate limited this ${context}. ${suffix}`.trim(); } - - const timelineStart = alignTime(startTimestamp); - const safePriceHistory = priceHistory instanceof Map ? priceHistory : new Map(); - - const timeline = []; - for (let cursor = timelineStart; cursor <= endTimestamp; cursor += stepMs) { - const key = keyForTimestamp(cursor); - let balanceSats = 0; - sources.forEach((source) => { - while ( - source.index < source.points.length && - source.points[source.index].timestamp <= cursor - ) { - source.balanceSats = source.points[source.index].balanceSats; - source.index += 1; - } - balanceSats += source.balanceSats; - }); - const btcHoldings = balanceSats / 1e8; - const usdPrice = safePriceHistory.get(key); - timeline.push({ - dateKey: key, - timestamp: cursor, - balanceSats, - btcHoldings, - usdPrice, - usdValue: Number.isFinite(usdPrice) ? btcHoldings * usdPrice : null, - }); + if (providers.length === 2) { + return `${providers[0]} and ${providers[1]} rate limited this ${context}. ${suffix}`.trim(); } - - return timeline; + return `Public APIs rate limited this ${context}. ${suffix}`.trim(); } - function buildFlatTimeline(balanceSats, currentPriceUsd, pointCount = HISTORY_DAYS, stepMs = DAY_MS, alignTime = startOfUtcDay) { - const timeline = []; - const start = alignTime(Date.now() - (pointCount - 1) * stepMs); - const usdValue = Number.isFinite(currentPriceUsd) ? (balanceSats / 1e8) * currentPriceUsd : null; - const keyForTimestamp = stepMs === HOUR_MS ? toHourKey : toDateKey; - for (let cursor = start; cursor <= Date.now(); cursor += stepMs) { - timeline.push({ - timestamp: cursor, - dateKey: keyForTimestamp(cursor), - balanceSats, - btcHoldings: balanceSats / 1e8, - usdValue, - }); - } - return timeline; - } + // --------------------------------------------------------------------------- + // Portfolio, activity, and chart math + // --------------------------------------------------------------------------- function getWalletCardMiniChartScene({ walletId, addressCount, snapshots, balanceSats }) { if (!addressCount || !snapshots.length) { @@ -7671,495 +5905,6 @@ }); } - function sampleSeriesPoints(points, maxPoints) { - const source = Array.isArray(points) ? points : []; - const limit = Math.max(2, Math.floor(Number(maxPoints) || 0)); - if (source.length <= limit) { - return source; - } - - const sampled = []; - const step = (source.length - 1) / (limit - 1); - for (let index = 0; index < limit; index += 1) { - sampled.push(source[Math.round(index * step)]); - } - return sampled; - } - - function createWalletCardMiniChartScene({ key, values, width = 464, height = 152 }) { - const normalizedValues = fillSeriesGaps(values); - if (!normalizedValues.length) { - return null; - } - - const tone = getSparklineTone(normalizedValues); - const palette = getSparklinePalette(tone); - const leftInset = 0; - const rightInset = 0; - const topInset = 6; - const plotBottom = height - 1; - const plotWidth = Math.max(1, width - leftInset - rightInset); - const plotHeight = Math.max(1, plotBottom - topInset); - const min = Math.min(...normalizedValues); - const max = Math.max(...normalizedValues); - const range = max - min; - const paddedMin = range === 0 ? min : min - range * 0.08; - const paddedMax = range === 0 ? max : max + range * 0.12; - const paddedRange = paddedMax - paddedMin; - const points = normalizedValues.map((value, index) => { - const x = - normalizedValues.length === 1 - ? leftInset + plotWidth / 2 - : leftInset + (index / (normalizedValues.length - 1)) * plotWidth; - const y = - paddedRange === 0 - ? topInset + plotHeight * 0.72 - : plotBottom - ((value - paddedMin) / paddedRange) * plotHeight; - return { x, y }; - }); - - const safeKey = escapeHtml(String(key || "wallet-card-chart").replace(/[^a-z0-9-]/gi, "-")); - const linePath = buildSmoothPath(points); - const areaPath = `${linePath} L ${points.at(-1).x} ${plotBottom} L ${points[0].x} ${plotBottom} Z`; - - return { - tone, - markup: ` - - - - - - - - - - - - - - - `, - }; - } - - function createSparklineScene(chartDisplay, { width = 352, height = 96 } = {}) { - const values = Array.isArray(chartDisplay?.values) ? chartDisplay.values : []; - const key = typeof chartDisplay?.key === "string" ? chartDisplay.key : "sparkline"; - const timestamps = Array.isArray(chartDisplay?.timestamps) ? chartDisplay.timestamps : []; - const rangeLabel = - typeof chartDisplay?.range === "string" ? chartDisplay.range : normalizeChartRange(state.selectedRange); - const normalizedValues = fillSeriesGaps(values); - if (!normalizedValues.length) { - return null; - } - - const tone = getSparklineTone(normalizedValues); - const palette = getSparklinePalette(tone); - - const leftInset = 0; - const rightInset = 0; - const topInset = 8; - const bottomInset = 36; - const plotWidth = Math.max(1, width - leftInset - rightInset); - const plotBottom = height - bottomInset; - const plotHeight = Math.max(1, plotBottom - topInset); - const min = Math.min(...normalizedValues); - const max = Math.max(...normalizedValues); - const range = max - min; - const points = normalizedValues.map((value, index) => { - const x = - normalizedValues.length === 1 - ? leftInset + plotWidth / 2 - : leftInset + (index / (normalizedValues.length - 1)) * plotWidth; - const y = - range === 0 - ? topInset + plotHeight * 0.58 - : plotBottom - ((value - min) / range) * plotHeight; - return { x, y }; - }); - - const safeKey = escapeHtml(key.replace(/[^a-z0-9-]/gi, "-")); - const linePath = buildSmoothPath(points); - const areaPath = `${linePath} L ${points.at(-1).x} ${plotBottom} L ${points[0].x} ${plotBottom} Z`; - const yAxisLabels = buildSparklineYAxisLabels(min, max, topInset, plotBottom, range); - const xAxisLabels = buildSparklineXAxisLabels(timestamps, rangeLabel, leftInset, plotWidth, height); - - return { - width, - height, - leftInset, - rightInset, - topInset, - plotBottom, - plotWidth, - rangeLabel, - points, - values: normalizedValues, - timestamps, - tone, - markup: ` - - - - - - - - - - - - - ${yAxisLabels - .map( - (label) => ` - - ` - ) - .join("")} - - - ${xAxisLabels - .map( - (label) => ` - ${escapeHtml( - label.text - )} - ` - ) - .join("")} - - - `, - }; - } - - function bindSparklineInteraction(container, scene) { - container.onpointerenter = null; - container.onpointermove = null; - container.onpointerleave = null; - container.onpointerdown = null; - container.onblur = null; - container._sparklineScene = scene || null; - - if (!scene) { - return; - } - - const interaction = container.querySelector("[data-role='sparkline-interaction']"); - const guideLine = container.querySelector("[data-role='sparkline-hover-line']"); - const dot = container.querySelector("[data-role='sparkline-hover-dot']"); - const tooltip = container.querySelector("[data-role='sparkline-tooltip']"); - const tooltipValue = container.querySelector("[data-role='sparkline-tooltip-value']"); - const tooltipTime = container.querySelector("[data-role='sparkline-tooltip-time']"); - if (!interaction || !guideLine || !dot || !tooltip || !tooltipValue || !tooltipTime) { - return; - } - - const hideInteraction = () => { - interaction.hidden = true; - }; - - const updateInteraction = (clientX) => { - const rect = container.getBoundingClientRect(); - if (!rect.width || !rect.height) { - hideInteraction(); - return; - } - - const plotLeftPx = (scene.leftInset / scene.width) * rect.width; - const plotWidthPx = (scene.plotWidth / scene.width) * rect.width; - const localX = clamp(clientX - rect.left, plotLeftPx, plotLeftPx + plotWidthPx); - const pointIndex = - scene.points.length === 1 - ? 0 - : clamp( - Math.round(((localX - plotLeftPx) / plotWidthPx) * (scene.points.length - 1)), - 0, - scene.points.length - 1 - ); - const point = scene.points[pointIndex]; - const pointX = (point.x / scene.width) * rect.width; - const pointY = (point.y / scene.height) * rect.height; - const lineTop = (scene.topInset / scene.height) * rect.height; - const lineBottom = (scene.plotBottom / scene.height) * rect.height; - - tooltipValue.textContent = formatSparklineTooltipValue(scene.values[pointIndex]); - tooltipTime.textContent = formatSparklineTooltipTimestamp( - scene.timestamps[pointIndex], - scene.rangeLabel - ); - - interaction.hidden = false; - guideLine.style.left = `${pointX}px`; - guideLine.style.top = `${lineTop}px`; - guideLine.style.height = `${Math.max(0, lineBottom - lineTop)}px`; - dot.style.left = `${pointX}px`; - dot.style.top = `${pointY}px`; - - const tooltipWidth = tooltip.offsetWidth || 140; - const tooltipHeight = tooltip.offsetHeight || 48; - const clampedTooltipX = clamp(pointX, tooltipWidth / 2 + 8, rect.width - tooltipWidth / 2 - 8); - const tooltipY = Math.max(8, pointY - tooltipHeight - 18); - tooltip.style.left = `${clampedTooltipX}px`; - tooltip.style.top = `${tooltipY}px`; - }; - - container.onpointerenter = (event) => { - updateInteraction(event.clientX); - }; - container.onpointermove = (event) => { - updateInteraction(event.clientX); - }; - container.onpointerdown = (event) => { - updateInteraction(event.clientX); - }; - container.onpointerleave = hideInteraction; - container.onblur = hideInteraction; - } - - function getSparklineTone(values) { - const normalizedValues = fillSeriesGaps(values); - if (!normalizedValues.length) { - return "up"; - } - - return normalizedValues.at(-1) < normalizedValues[0] ? "down" : "up"; - } - - function getSparklinePalette(tone) { - if (tone === "down") { - return { - lineStart: "rgba(255, 68, 0, 0.92)", - lineEnd: "rgba(255, 68, 0, 0.35)", - fillStart: "rgba(255, 68, 0, 0.32)", - fillEnd: "rgba(255, 68, 0, 0)", - }; - } - - return { - lineStart: "rgba(125, 229, 147, 0.92)", - lineEnd: "rgba(125, 229, 147, 0.35)", - fillStart: "rgba(125, 229, 147, 0.38)", - fillEnd: "rgba(125, 229, 147, 0)", - }; - } - - function buildSparklineYAxisLabels(min, max, topY, bottomY, range) { - if (!Number.isFinite(min) || !Number.isFinite(max)) { - return []; - } - - if (range === 0) { - return [ - { - y: topY + (bottomY - topY) * 0.58, - }, - ]; - } - - const stops = [0.75, 0.5, 0.25]; - return stops.map((stop) => ({ - y: topY + (bottomY - topY) * (1 - stop), - })); - } - - function buildSparklineXAxisLabels(timestamps, rangeLabel, leftInset, plotWidth, height) { - if (!timestamps.length) { - return []; - } - - const indexes = uniqueNumbers( - [0, 0.25, 0.5, 0.75, 1].map((ratio) => - Math.max(0, Math.round((timestamps.length - 1) * ratio)) - ) - ); - - return indexes.map((index, labelIndex) => { - const ratio = timestamps.length === 1 ? 0.5 : index / (timestamps.length - 1); - return { - x: leftInset + ratio * plotWidth, - anchor: labelIndex === 0 ? "start" : labelIndex === indexes.length - 1 ? "end" : "middle", - text: formatChartXAxisLabel(timestamps[index], rangeLabel), - }; - }); - } - - function formatChartXAxisLabel(timestamp, rangeLabel) { - const date = new Date(timestamp); - if (rangeLabel === "1D") { - return new Intl.DateTimeFormat("en-GB", { - hour: "2-digit", - minute: "2-digit", - hour12: false, - }).format(date); - } - - if (rangeLabel === "30D") { - return new Intl.DateTimeFormat("en-US", { - month: "short", - day: "numeric", - }).format(date); - } - - return new Intl.DateTimeFormat("en-US", { - month: "short", - year: "numeric", - }).format(date); - } - - function formatSparklineTooltipValue(value) { - if (getDisplayUnit() === "USD") { - return formatDisplayFiatValue(value, state.hideBalances); - } - - return formatWalletBtc(value, state.hideBalances); - } - - function formatSparklineTooltipTimestamp(timestamp, rangeLabel) { - if (!Number.isFinite(timestamp)) { - return ""; - } - - const date = new Date(timestamp); - if (rangeLabel === "1D") { - return new Intl.DateTimeFormat("en-US", { - month: "short", - day: "numeric", - hour: "2-digit", - minute: "2-digit", - hour12: false, - }).format(date); - } - - return new Intl.DateTimeFormat("en-US", { - month: "short", - day: "numeric", - year: "numeric", - }).format(date); - } - - function clamp(value, min, max) { - return Math.min(Math.max(value, min), max); - } - - function uniqueNumbers(values) { - return [...new Set(values.filter((value) => Number.isFinite(value)))]; - } - - function buildSmoothPath(points) { - if (!points.length) { - return ""; - } - - if (points.length === 1) { - return `M ${points[0].x} ${points[0].y}`; - } - - let path = `M ${points[0].x} ${points[0].y}`; - for (let index = 0; index < points.length - 1; index += 1) { - const current = points[index]; - const next = points[index + 1]; - const controlX = (current.x + next.x) / 2; - path += ` C ${controlX} ${current.y}, ${controlX} ${next.y}, ${next.x} ${next.y}`; - } - return path; - } - - function fillSeriesGaps(values) { - const source = Array.isArray(values) ? values : []; - const result = []; - let lastKnown = null; - - source.forEach((value) => { - if (Number.isFinite(value)) { - lastKnown = Number(value); - result.push(Number(value)); - } else if (lastKnown !== null) { - result.push(lastKnown); - } else { - result.push(0); - } - }); - - return result.filter((value) => Number.isFinite(value)); - } - - function getSeriesGrowthDescriptor(values) { - const series = Array.isArray(values) ? values.filter((value) => Number.isFinite(value)) : []; - if (!series.length) { - return null; - } - - const first = Number(series[0]); - const last = Number(series.at(-1)); - if (!Number.isFinite(first) || !Number.isFinite(last)) { - return null; - } - - if (state.hideBalances) { - return null; - } - - let percent = null; - if (first === 0) { - percent = last === 0 ? 0 : null; - } else { - percent = ((last - first) / Math.abs(first)) * 100; - } - - if (!Number.isFinite(percent)) { - return null; - } - - const normalizedPercent = normalizeDisplayedGrowthPercent(percent); - const sign = normalizedPercent > 0 ? "+" : ""; - const maximumFractionDigits = Math.abs(normalizedPercent) >= 100 ? 0 : 2; - - return { - label: `${sign}${formatCompactDecimal(normalizedPercent, maximumFractionDigits)}%`, - chartLabel: `${normalizedPercent >= 0 ? "+" : ""}${formatCompactDecimal( - normalizedPercent, - maximumFractionDigits - )}%`, - compactTitle: Math.abs(normalizedPercent) >= 1000, - toneClass: - normalizedPercent < 0 - ? "is-negative" - : normalizedPercent > 0 - ? "is-confirmed" - : "", - icon: - normalizedPercent === 0 - ? getChartLineFlatIconMarkup() - : normalizedPercent < 0 - ? getChartLineDownIconMarkup() - : getChartLineUpIconMarkup(), - }; - } - function getTransactionIcon(direction) { if (direction === "Sent") { return ` @@ -8764,8 +6509,14 @@ return getTransactionAmountDisplay(item).primary; } + function isEstimatedHistoricalFiat(item) { + return getFiatCurrency() !== "USD" && Number.isFinite(item?.usdValue) && + !Number.isFinite(getHistoricalDisplayFiatUnitPrice(item?.timestamp)); + } + function getTransactionValueMetrics(item) { const valueThen = getTransactionThenDisplayFiatValue(item); + const estimate = isEstimatedHistoricalFiat(item) && !state.hideBalances ? "≈ " : ""; const valueNow = getTransactionCurrentDisplayFiatValue(item); const rawGrowthPercent = Number.isFinite(valueThen) && valueThen > 0 && Number.isFinite(valueNow) @@ -8774,9 +6525,9 @@ const growthPercent = normalizeDisplayedGrowthPercent(rawGrowthPercent); return { - thenLabel: formatDisplayFiatMetricValue(valueThen, state.hideBalances), + thenLabel: estimate + formatDisplayFiatMetricValue(valueThen, state.hideBalances), nowLabel: formatDisplayFiatMetricValue(valueNow, state.hideBalances), - growthLabel: formatTransactionGrowth(growthPercent), + growthLabel: (Number.isFinite(growthPercent) ? estimate : "") + formatTransactionGrowth(growthPercent), growthIcon: Number.isFinite(growthPercent) && growthPercent === 0 ? getChartLineFlatIconMarkup() @@ -8841,7 +6592,11 @@ points = walletView.dailyTimeline; } + if (range === "1D" ? !walletView.hasReliableIntradayTimeline : !walletView.hasReliableDailyTimeline) points = []; + return { + incompleteHistory: Boolean(walletView.hasApproximateChartData), + estimatedFiat: getFiatCurrency() !== "USD" && points.some((point) => Number.isFinite(point.usdValue) && !Number.isFinite(getHistoricalDisplayFiatUnitPrice(point.timestamp, { preferIntraday: range === "1D" }))), symbol: getDisplayUnit() === "USD" ? getFiatDisplayPrefix() : getBitcoinDisplayPrefix(), range, timestamps: points.map((point) => point.timestamp), @@ -9105,14 +6860,15 @@ } return { + priceStale: Boolean(candidate.priceStale), historyScope: normalizeHistoryScope(candidate.historyScope), currentPriceUsd: Number.isFinite(candidate.currentPriceUsd) ? candidate.currentPriceUsd : fallbackPriceUsd, fiatExchangeRates: normalizeFiatExchangeRates(candidate.fiatExchangeRates), - priceHistory: deserializeNumberMap(candidate.priceHistory), - intradayPriceHistory: deserializeNumberMap(candidate.intradayPriceHistory), - historyAvailable: candidate.historyAvailable !== false, + priceHistory: candidate.priceHistoryVersion === 1 ? deserializeNumberMap(candidate.priceHistory) : new Map(), + intradayPriceHistory: candidate.priceHistoryVersion === 1 ? deserializeNumberMap(candidate.intradayPriceHistory) : new Map(), + historyAvailable: candidate.priceHistoryVersion === 1 && candidate.historyAvailable !== false, historyMissingDays: Number.isFinite(candidate.historyMissingDays) ? candidate.historyMissingDays : 0, approximationMode: Boolean(candidate.approximationMode), timelineStart: isTimestamp(candidate.timelineStart) ? candidate.timelineStart : null, @@ -9285,7 +7041,7 @@ return convertUsdValueToFiat(fallbackUsd); } - return Number.isFinite(currentPrice) ? btcHoldings * currentPrice : null; + return preferCurrentPrice && Number.isFinite(currentPrice) ? btcHoldings * currentPrice : null; } function getPointDisplayFiatValue(point, { preferIntraday = false } = {}) { diff --git a/assets/api.js b/assets/api.js new file mode 100644 index 0000000..c3ebc82 --- /dev/null +++ b/assets/api.js @@ -0,0 +1,871 @@ +/* API module. Dependencies are supplied by app.js; state access is explicit. */ +((root) => { + "use strict"; + function create({ + ADDRESS_API_PROVIDERS, + DAY_MS, + HOUR_MS, + MAX_API_RESPONSE_BYTES, + MAX_EXPLORER_CONCURRENCY, + MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, + MAX_TRANSACTIONS_PER_ADDRESS, + MAX_TRANSACTION_PAGES, + SUPPORTED_FIAT_CURRENCIES, + getValidationLayer, + buildTransactionTechnicalDetails, + createDefaultFiatExchangeRates, + getActiveRequests, + getDataGeneration, + getDirectFiatProductId, + getLastFinitePriceFromHistory, + getProductQuoteCurrency, + isValidTxid, + normalizeBitcoinAddress, + normalizeFiatCurrency, + readJsonResponse, + requireCurrentGeneration, + startOfUtcDay, + startOfUtcHour, + summarizePriceHistory, + toDateKey, + toHourKey, + validateAddressSummaryPayload, + validateCandlesPayload, + validateTransactionListPayload, + validateTransactionPayload + }) { + const APILayer = { + async fetchAddressSummary(address) { + const generation = getDataGeneration(); + const normalizedAddress = await requireValidMainnetBitcoinAddress(address); + requireCurrentGeneration(generation); + const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { + const summary = await fetchAddressSummaryFromProvider(provider, normalizedAddress); + return { + provider: provider.name, + summary, + }; + }); + + return withFallback(attempts, "Address summary lookup failed."); + }, + + async fetchAddressBundle(address, startTimestamp) { + const generation = getDataGeneration(); + const normalizedAddress = await requireValidMainnetBitcoinAddress(address); + requireCurrentGeneration(generation); + const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { + const bundle = await fetchAddressBundleFromProvider(provider, normalizedAddress, startTimestamp); + return { + provider: provider.name, + bundle, + }; + }); + + return withFallback(attempts, "Address lookup failed."); + }, + + async fetchAddressDelta(address, knownTxids) { + const generation = getDataGeneration(); + const normalizedAddress = await requireValidMainnetBitcoinAddress(address); + requireCurrentGeneration(generation); + const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { + const bundle = await fetchAddressDeltaFromProvider(provider, normalizedAddress, knownTxids); + return { + provider: provider.name, + bundle, + }; + }); + + return withFallback(attempts, "Incremental address lookup failed."); + }, + + async fetchTransactionDetails(txid) { + const normalizedTxid = requireValidTransactionId(txid); + const attempts = ADDRESS_API_PROVIDERS.map((provider) => async () => { + const transaction = await fetchTransactionFromProvider(provider, normalizedTxid); + const details = buildTransactionTechnicalDetails(transaction); + if (!details) { + throw createApiError("Transaction detail response was incomplete."); + } + return { + provider: provider.name, + details, + }; + }); + + return withFallback(attempts, "Transaction detail lookup failed."); + }, + + async fetchCurrentPriceUsd() { + return fetchCurrentPriceQuote(); + }, + + async fetchFiatExchangeRates() { + return fetchFiatExchangeRates(); + }, + + async fetchMarketData(startTimestamp, endTimestamp, displayFiatCurrency = "USD") { + const generation = getDataGeneration(); + let currentPrice = null; + let currentPriceError = null; + let fiatExchangeRates = createDefaultFiatExchangeRates(); + const [currentPriceResult, fiatExchangeRatesResult, displayFiatMarketResult] = + await Promise.allSettled([ + fetchCurrentPriceQuote(), + fetchFiatExchangeRates(), + fetchDirectFiatMarketData(displayFiatCurrency, startTimestamp, endTimestamp), + ]); + requireCurrentGeneration(generation); + if (currentPriceResult.status === "fulfilled") { + currentPrice = currentPriceResult.value; + } else { + currentPriceError = currentPriceResult.reason; + } + if (fiatExchangeRatesResult.status === "fulfilled") { + fiatExchangeRates = fiatExchangeRatesResult.value; + } + const displayFiatMarket = + displayFiatMarketResult.status === "fulfilled" ? displayFiatMarketResult.value : null; + + let priceHistory = new Map(); + let historyAvailable = true; + let historyMissingDays = 0; + try { + const historyResult = await fetchHistoricalPriceSeries(startTimestamp, endTimestamp); + priceHistory = historyResult.series; + historyMissingDays = historyResult.missingDays; + historyAvailable = priceHistory.size > 0; + } catch (error) { + historyAvailable = false; + } + + requireCurrentGeneration(generation); + if ((!currentPrice || !Number.isFinite(currentPrice.price)) && priceHistory.size) { + currentPrice = { + provider: "Historical close fallback", + price: getLastFinitePriceFromHistory(priceHistory), + }; + } + + if (!currentPrice || !Number.isFinite(currentPrice.price)) { + throw new Error( + currentPriceError?.message || "Current BTC/USD price and historical fallback both failed." + ); + } + + const intradayStart = startOfUtcHour(Date.now() - 23 * HOUR_MS); + const intradayEnd = Date.now(); + let intradayPriceHistory = new Map(); + try { + intradayPriceHistory = await fetchIntradayPriceSeries( + intradayStart, + intradayEnd, + currentPrice.price + ); + } catch (error) { + intradayPriceHistory = new Map(); + } + + requireCurrentGeneration(generation); + return { + currentPriceUsd: currentPrice.price, + fiatExchangeRates, + displayFiatMarket, + priceHistory, + intradayPriceHistory, + intradayStart, + intradayEnd, + historyAvailable, + historyMissingDays, + provider: currentPrice.provider, + priceStale: currentPriceResult.status !== "fulfilled", + }; + }, + }; + + // Privacy note: market-data requests do not reveal watched addresses, but the + // timing pattern of price fetches alongside address fetches could fingerprint + // a Bitkit Watch session to the price-data provider. + function fetchCurrentPriceQuote() { + return fetchCurrentProductQuote("BTC-USD"); + } + + function fetchCurrentProductQuote(productId) { + const quoteCurrency = getProductQuoteCurrency(productId); + return withFallback( + [ + async () => { + const response = await fetchJson( + `https://api.exchange.coinbase.com/products/${encodeURIComponent(productId)}/ticker`, + { + providerName: "Coinbase Exchange", + validate: validateTickerPayload, + } + ); + return { provider: "Coinbase Exchange", price: Number(response.price) }; + }, + async () => { + const response = await fetchJson( + `https://api.coinbase.com/v2/prices/${encodeURIComponent(productId)}/spot`, + { + providerName: "Coinbase Spot", + validate: validateSpotPayload, + } + ); + return { provider: "Coinbase Spot", price: Number(response.data.amount) }; + }, + async () => { + const response = await fetchJson( + "https://api.coinbase.com/v2/exchange-rates?currency=BTC", + { + providerName: "Coinbase Rates", + validate: validateRatesPayload, + } + ); + return { provider: "Coinbase Rates", price: Number(response.data.rates[quoteCurrency]) }; + }, + ], + `Current ${productId} price unavailable.` + ); + } + + async function fetchFiatExchangeRates() { + const response = await fetchJson("https://api.coinbase.com/v2/exchange-rates?currency=BTC", { + providerName: "Coinbase Rates", + validate: validateRatesPayload, + }); + const btcRates = response?.data?.rates || {}; + const usdPerBtc = Number(btcRates.USD); + if (!Number.isFinite(usdPerBtc) || usdPerBtc <= 0) { + throw new Error("Current fiat exchange rates unavailable."); + } + + const nextRates = createDefaultFiatExchangeRates(); + SUPPORTED_FIAT_CURRENCIES.forEach((currency) => { + if (currency === "USD") { + return; + } + + const quote = Number(btcRates[currency]); + if (Number.isFinite(quote) && quote > 0) { + nextRates.set(currency, quote / usdPerBtc); + } + }); + + return nextRates; + } + + // Privacy note: sends a watched address to a third-party block explorer API. + // The provider can correlate the address with the requester's IP. Batch calls + // (with capped concurrency during refresh) expose multiple addresses in a short + // window, which strengthens the correlation. Users concerned about this should + // use Tor or a VPN (see FAQ). + async function fetchAddressSummaryFromProvider(provider, address) { + const encoded = encodeURIComponent(address); + return fetchJson(`${provider.baseUrl}/address/${encoded}`, { + providerName: provider.name, + validate: (payload) => validateAddressSummaryPayload(payload, address), + }); + } + + // Privacy: fetches full transaction history for an address. Same IP-correlation + // risk as fetchAddressSummaryFromProvider above. + async function fetchAddressBundleFromProvider(provider, address, startTimestamp) { + const generation = getDataGeneration(); + const encoded = encodeURIComponent(address); + const summary = await fetchJson(`${provider.baseUrl}/address/${encoded}`, { + providerName: provider.name, + validate: (payload) => validateAddressSummaryPayload(payload, address), + }); + requireCurrentGeneration(generation); + const txResult = await fetchAddressTransactions(provider, address, startTimestamp); + + return { + summary, + transactions: txResult.transactions, + truncated: txResult.truncated, + }; + } + + async function fetchAddressDeltaFromProvider(provider, address, knownTxids) { + const generation = getDataGeneration(); + const encoded = encodeURIComponent(address); + const summary = await fetchJson(`${provider.baseUrl}/address/${encoded}`, { + providerName: provider.name, + validate: (payload) => validateAddressSummaryPayload(payload, address), + }); + requireCurrentGeneration(generation); + const txResult = await fetchAddressTransactionsUntilKnown(provider, address, knownTxids); + + return { + summary, + transactions: txResult.transactions, + truncated: txResult.truncated, + overlapFound: txResult.overlapFound, + }; + } + + async function fetchTransactionFromProvider(provider, txid) { + const encoded = encodeURIComponent(txid); + return fetchJson(`${provider.baseUrl}/tx/${encoded}`, { + providerName: provider.name, + validate: (payload) => validateTransactionPayload(payload, txid), + maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, + }); + } + + async function fetchAddressTransactions(provider, address, startTimestamp) { + const generation = getDataGeneration(); + const encoded = encodeURIComponent(address); + const firstPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs`, { + providerName: provider.name, + validate: validateTransactionListPayload, + maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, + }); + const collected = []; + const seen = new Set(); + + const appendTransactions = (transactions) => { + transactions.forEach((tx) => { + if (collected.length >= MAX_TRANSACTIONS_PER_ADDRESS) { + return; + } + if (!seen.has(tx.txid)) { + seen.add(tx.txid); + collected.push(tx); + } + }); + }; + + appendTransactions(firstPage); + + const confirmedOnly = firstPage.filter((tx) => tx.status?.confirmed); + let lastSeen = confirmedOnly.at(-1)?.txid || null; + let oldestConfirmedTime = confirmedOnly.at(-1)?.status?.block_time || Number.MAX_SAFE_INTEGER; + let pageCount = 0; + while ( + lastSeen && + oldestConfirmedTime > startTimestamp / 1000 && + pageCount < MAX_TRANSACTION_PAGES && + collected.length < MAX_TRANSACTIONS_PER_ADDRESS + ) { + requireCurrentGeneration(generation); + const nextPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs/chain/${lastSeen}`, { + providerName: provider.name, + validate: validateTransactionListPayload, + maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, + }); + if (!nextPage.length) { + break; + } + + appendTransactions(nextPage); + lastSeen = nextPage.at(-1)?.txid || null; + oldestConfirmedTime = nextPage.at(-1)?.status?.block_time || 0; + pageCount += 1; + } + + return { + transactions: collected.filter((tx) => { + if (!tx.status?.confirmed) { + return true; + } + return (tx.status.block_time || 0) * 1000 >= startTimestamp; + }), + truncated: Boolean( + lastSeen && + oldestConfirmedTime > startTimestamp / 1000 && + (pageCount >= MAX_TRANSACTION_PAGES || collected.length >= MAX_TRANSACTIONS_PER_ADDRESS) + ), + }; + } + + async function fetchAddressTransactionsUntilKnown(provider, address, knownTxids) { + const generation = getDataGeneration(); + const encoded = encodeURIComponent(address); + const known = knownTxids instanceof Set ? knownTxids : new Set(); + const collected = []; + const seen = new Set(); + let overlapFound = false; + const appendTransactions = (transactions) => { + transactions.forEach((tx) => { + if (known.has(tx.txid)) { + overlapFound = true; + return; + } + if (collected.length >= MAX_TRANSACTIONS_PER_ADDRESS || seen.has(tx.txid)) { + return; + } + seen.add(tx.txid); + collected.push(tx); + }); + }; + + const firstPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs`, { + providerName: provider.name, + validate: validateTransactionListPayload, + maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, + }); + appendTransactions(firstPage); + + const confirmedOnly = firstPage.filter((tx) => tx.status?.confirmed); + let lastSeen = confirmedOnly.at(-1)?.txid || null; + let pageCount = 0; + while ( + lastSeen && + !overlapFound && + pageCount < MAX_TRANSACTION_PAGES && + collected.length < MAX_TRANSACTIONS_PER_ADDRESS + ) { + requireCurrentGeneration(generation); + const nextPage = await fetchJson(`${provider.baseUrl}/address/${encoded}/txs/chain/${lastSeen}`, { + providerName: provider.name, + validate: validateTransactionListPayload, + maxBytes: MAX_EXPLORER_TRANSACTION_RESPONSE_BYTES, + }); + if (!nextPage.length) { + lastSeen = null; + break; + } + + appendTransactions(nextPage); + lastSeen = nextPage.at(-1)?.txid || null; + pageCount += 1; + } + + return { + transactions: collected, + overlapFound, + truncated: Boolean( + !overlapFound && + lastSeen && + (pageCount >= MAX_TRANSACTION_PAGES || collected.length >= MAX_TRANSACTIONS_PER_ADDRESS) + ), + }; + } + + async function fetchHistoricalPriceSeries(startTimestamp, endTimestamp) { + return fetchProductHistoricalPriceSeries("BTC-USD", startTimestamp, endTimestamp); + } + + async function fetchProductHistoricalPriceSeries(productId, startTimestamp, endTimestamp) { + const generation = getDataGeneration(); + const requests = buildCandleRequests(startTimestamp, endTimestamp, 295); + const candleResponses = await allSettledWithConcurrency( + requests, MAX_EXPLORER_CONCURRENCY, (request) => + fetchJson( + `https://api.exchange.coinbase.com/products/${encodeURIComponent(productId)}/candles?granularity=86400&start=${encodeURIComponent( + new Date(request.start).toISOString() + )}&end=${encodeURIComponent(new Date(request.end).toISOString())}`, + { + providerName: "Coinbase Exchange", + validate: validateCandlesPayload, + } + ) + ); + + requireCurrentGeneration(generation); + const closeByDay = new Map(); + candleResponses.forEach((response) => { + if (response.status !== "fulfilled") { + return; + } + + response.value.forEach((candle) => { + const timestamp = candle[0] * 1000; + const dateKey = toDateKey(timestamp); + closeByDay.set(dateKey, Number(candle[4])); + }); + }); + + return summarizePriceHistory(closeByDay, startTimestamp, endTimestamp); + } + + async function fetchIntradayPriceSeries(startTimestamp, endTimestamp, fallbackPrice) { + return fetchProductIntradayPriceSeries("BTC-USD", startTimestamp, endTimestamp, fallbackPrice); + } + + async function fetchProductIntradayPriceSeries(productId, startTimestamp, endTimestamp, fallbackPrice) { + const response = await fetchJson( + `https://api.exchange.coinbase.com/products/${encodeURIComponent(productId)}/candles?granularity=3600&start=${encodeURIComponent( + new Date(startTimestamp).toISOString() + )}&end=${encodeURIComponent(new Date(endTimestamp).toISOString())}`, + { + providerName: "Coinbase Exchange", + validate: validateCandlesPayload, + } + ); + + const closeByHour = new Map(); + response.forEach((candle) => { + closeByHour.set(toHourKey(candle[0] * 1000), Number(candle[4])); + }); + + return closeByHour; + } + + async function fetchDirectFiatMarketData( + fiatCurrency, + startTimestamp, + endTimestamp, + { + intradayStart = startOfUtcHour(Date.now() - 23 * HOUR_MS), + intradayEnd = Date.now(), + } = {} + ) { + const generation = getDataGeneration(); + const normalizedFiat = normalizeFiatCurrency(fiatCurrency); + const productId = getDirectFiatProductId(normalizedFiat); + if (!productId) { + return null; + } + + let currentPrice = null; + let currentPriceError = null; + try { + currentPrice = await fetchCurrentProductQuote(productId); + } catch (error) { + currentPriceError = error; + } + + requireCurrentGeneration(generation); + let priceHistory = new Map(); + try { + const historyResult = await fetchProductHistoricalPriceSeries(productId, startTimestamp, endTimestamp); + priceHistory = historyResult.series; + } catch (error) { + priceHistory = new Map(); + } + + requireCurrentGeneration(generation); + if ((!currentPrice || !Number.isFinite(currentPrice.price)) && priceHistory.size) { + currentPrice = { + provider: "Historical close fallback", + price: getLastFinitePriceFromHistory(priceHistory), + }; + } + + if (!currentPrice || !Number.isFinite(currentPrice.price)) { + throw new Error(currentPriceError?.message || `Current ${productId} price unavailable.`); + } + + let intradayPriceHistory = new Map(); + try { + intradayPriceHistory = await fetchProductIntradayPriceSeries( + productId, + intradayStart, + intradayEnd, + currentPrice.price + ); + } catch (error) { + intradayPriceHistory = new Map(); + } + + requireCurrentGeneration(generation); + return { + currency: normalizedFiat, + productId, + currentPrice: currentPrice.price, + priceHistory, + intradayPriceHistory, + intradayStart, + intradayEnd, + provider: currentPrice.provider, + }; + } + + function buildCandleRequests(startTimestamp, endTimestamp, maxDaysPerRequest) { + const requests = []; + let cursor = startOfUtcDay(startTimestamp); + while (cursor <= endTimestamp) { + const chunkEnd = Math.min(cursor + (maxDaysPerRequest - 1) * DAY_MS, endTimestamp); + requests.push({ start: cursor, end: chunkEnd }); + cursor = chunkEnd + DAY_MS; + } + return requests; + } + + function getHistoryStartTimestampFromAddressResults(addressResults) { + const timestamps = addressResults.flatMap((result) => { + if (result.status !== "fulfilled" || !Array.isArray(result.value?.bundle?.transactions)) { + return []; + } + + return result.value.bundle.transactions + .map((tx) => Number(tx?.status?.block_time || 0) * 1000) + .filter((timestamp) => Number.isFinite(timestamp) && timestamp > 0); + }); + + if (!timestamps.length) { + return null; + } + + return startOfUtcDay(Math.min(...timestamps)); + } + + async function allSettledWithConcurrency(items, maxConcurrent, worker) { + const generation = getDataGeneration(); + const source = Array.isArray(items) ? items : []; + const results = new Array(source.length); + let nextIndex = 0; + const workerCount = Math.min(Math.max(1, maxConcurrent), source.length); + + async function runWorker() { + while (nextIndex < source.length) { + requireCurrentGeneration(generation); + const index = nextIndex; + nextIndex += 1; + try { + results[index] = { + status: "fulfilled", + value: await worker(source[index], index), + }; + } catch (error) { + results[index] = { + status: "rejected", + reason: error, + }; + } + } + } + + await Promise.all(Array.from({ length: workerCount }, () => runWorker())); + requireCurrentGeneration(generation); + return results; + } + + async function requireValidMainnetBitcoinAddress(address) { + const normalized = normalizeBitcoinAddress(address); + if (!(await getValidationLayer().isValidMainnetBitcoinAddress(normalized))) { + throw createApiError("Skipped invalid stored Bitcoin address."); + } + return normalized; + } + + function requireValidTransactionId(value) { + if (!isValidTxid(value)) { + throw createApiError("Invalid transaction id."); + } + return value; + } + + function validateTickerPayload(payload) { + if (!payload || !Number.isFinite(Number(payload.price)) || Number(payload.price) <= 0) { + throw new Error("Invalid price ticker response."); + } + } + + function validateSpotPayload(payload) { + if (!payload?.data || !Number.isFinite(Number(payload.data.amount)) || Number(payload.data.amount) <= 0) { + throw new Error("Invalid spot price response."); + } + } + + function validateRatesPayload(payload) { + if (!payload?.data?.rates || !Number.isFinite(Number(payload.data.rates.USD)) || Number(payload.data.rates.USD) <= 0) { + throw new Error("Invalid exchange-rate response."); + } + } + + const providerCooldowns = new Map(); + + function getRetryAt(value, now = Date.now()) { + // RFC 9110 section 10.2.3: delay-seconds or HTTP-date. CORS may hide this header. + if (typeof value === "string" && /^\d+$/.test(value.trim())) { + const milliseconds = Number(value.trim()) * 1000; + if (Number.isSafeInteger(milliseconds) && milliseconds <= 8.64e15 - now) return now + milliseconds; + } + const date = typeof value === "string" && /[a-z]/i.test(value) ? Date.parse(value) : NaN; + return Number.isFinite(date) ? Math.max(now, date) : now + 60_000; + } + + function cooldownError(providerName, url, retryAt) { + const error = createApiError(`Rate limited. Retry after ${new Date(retryAt).toLocaleTimeString()}.`, { + status: 429, providerName, url, + }); + error.retryAt = retryAt; + return error; + } + + async function fetchJson(url, { providerName = "", validate = null, maxBytes = MAX_API_RESPONSE_BYTES } = {}) { + const generation = getDataGeneration(); + const origin = new URL(url).origin; + const retryAt = providerCooldowns.get(origin) || 0; + requireCurrentGeneration(generation); + // Keep long waits out of the UI. Fallback providers may proceed; this origin stays paused. + if (retryAt > Date.now()) throw cooldownError(providerName, url, retryAt); + const controller = new AbortController(); + getActiveRequests().add(controller); + let timeout; + let timedOut = false; + try { + for (let attempt = 0; attempt < 2; attempt += 1) { + requireCurrentGeneration(generation); + timeout = window.setTimeout(() => { timedOut = true; controller.abort(); }, 15000); + const response = await fetch(url, { + headers: { Accept: "application/json" }, + mode: "cors", credentials: "omit", redirect: "error", cache: "no-store", + referrerPolicy: "no-referrer", signal: controller.signal, + }); + requireCurrentGeneration(generation); + if (!response.ok) { + await response.body?.cancel(); + if (response.status === 429 || (response.status === 503 && response.headers.get("Retry-After"))) { + const nextRetryAt = Math.max(providerCooldowns.get(origin) || 0, getRetryAt(response.headers.get("Retry-After"))); + providerCooldowns.set(origin, nextRetryAt); + const delay = Math.max(0, nextRetryAt - Date.now()); + if (attempt === 0 && delay <= 2000) { + window.clearTimeout(timeout); + await waitForRetry(delay, controller.signal); + requireCurrentGeneration(generation); + // Another in-flight request may have extended the shared cooldown. + if ((providerCooldowns.get(origin) || 0) > Date.now()) { + throw cooldownError(providerName, url, providerCooldowns.get(origin)); + } + continue; + } + throw cooldownError(providerName, url, nextRetryAt); + } + throw createApiError(`${response.status} ${response.statusText}`.trim(), { status: response.status, providerName, url }); + } + const payload = await readJsonResponse(response, maxBytes); + requireCurrentGeneration(generation); + if (typeof validate === "function") validate(payload); + return payload; + } + } catch (error) { + requireCurrentGeneration(generation); + if (timedOut) { + const timeoutError = createApiError("Request timed out.", { providerName, url }); + timeoutError.isTimeout = true; + throw timeoutError; + } + if (error?.name === "AbortError") throw error; + throw annotateApiError(error, { providerName, url }); + } finally { + window.clearTimeout(timeout); + getActiveRequests().delete(controller); + } + } + + function waitForRetry(delay, signal) { + return new Promise((resolve, reject) => { + if (signal.aborted) { reject(new DOMException("Aborted", "AbortError")); return; } + const abort = () => { + window.clearTimeout(timer); + reject(new DOMException("Aborted", "AbortError")); + }; + const timer = window.setTimeout(() => { + signal.removeEventListener("abort", abort); + resolve(); + }, delay); + signal.addEventListener("abort", abort, { once: true }); + }); + } + + async function withFallback(attempts, finalMessage) { + const generation = getDataGeneration(); + const errors = []; + for (const attempt of attempts) { + requireCurrentGeneration(generation); + try { + const result = await attempt(); + requireCurrentGeneration(generation); + if (!errors.length) { + return result; + } + + if (result && typeof result === "object" && !Array.isArray(result)) { + return { + ...result, + warnings: errors.map(toApiWarning), + }; + } + + return result; + } catch (error) { + requireCurrentGeneration(generation); + errors.push(annotateApiError(error)); + } + } + + const finalError = new Error(buildApiFailureMessage(finalMessage, errors), { cause: new AggregateError(errors, finalMessage) }); + finalError.isRateLimit = errors.some((error) => Boolean(error?.isRateLimit)); + finalError.rateLimitWarnings = errors.filter((error) => error?.isRateLimit).map(toApiWarning); + throw finalError; + } + + function createApiError(message, { status = null, providerName = "", url = "" } = {}) { + const error = new Error(message || "Unknown error"); + error.status = Number.isFinite(status) ? status : null; + error.providerName = providerName || ""; + error.url = url || ""; + error.isRateLimit = Number(status) === 429; + return error; + } + + function annotateApiError(error, { providerName = "", url = "" } = {}) { + if (error instanceof Error) { + if (providerName && !error.providerName) { + error.providerName = providerName; + } + if (url && !error.url) { + error.url = url; + } + if (!("status" in error)) { + error.status = null; + } + error.isRateLimit = Boolean(error.isRateLimit || Number(error.status) === 429); + return error; + } + + return createApiError(typeof error === "string" ? error : "Unknown error", { + providerName, + url, + }); + } + + function toApiWarning(error) { + const annotated = annotateApiError(error); + return { + provider: getProviderDisplayName(annotated.providerName), + status: Number.isFinite(annotated.status) ? Number(annotated.status) : null, + isRateLimit: Boolean(annotated.isRateLimit), + message: annotated.message || "Unknown error", + }; + } + + function buildApiFailureMessage(finalMessage, errors) { + if (errors.length && errors.every((error) => error.isRateLimit)) { + return "Public data services are busy. Try again shortly."; + } + if (errors.length && errors.every((error) => error.isTimeout || error.name === "AbortError")) { + return "Data requests timed out. Click Refresh to try again."; + } + return `${finalMessage} Click Refresh to try again.`.trim(); + } + + function getProviderDisplayName(providerName) { + if (providerName === "Mempool") { + return "mempool.space"; + } + return providerName || ""; + } + + + return { + APILayer, + fetchCurrentProductQuote, + fetchProductHistoricalPriceSeries, + getHistoryStartTimestampFromAddressResults, + allSettledWithConcurrency, + getRetryAt, + fetchJson, + withFallback, + toApiWarning + }; + } + root.BITKIT_WATCH_API = { create }; + if (typeof module === "object" && module.exports) module.exports = { create }; +})(globalThis); diff --git a/assets/charts.js b/assets/charts.js new file mode 100644 index 0000000..4736c9d --- /dev/null +++ b/assets/charts.js @@ -0,0 +1,518 @@ +/* Charts module. Dependencies are supplied by app.js; state access is explicit. */ +((root) => { + "use strict"; + function create({ + escapeHtml, + formatCompactDecimal, + formatDisplayFiatValue, + formatWalletBtc, + getChartLineDownIconMarkup, + getChartLineFlatIconMarkup, + getChartLineUpIconMarkup, + getDisplayUnit, + getState, + normalizeChartRange, + normalizeDisplayedGrowthPercent + }) { + function sampleSeriesPoints(points, maxPoints) { + const source = Array.isArray(points) ? points : []; + const limit = Math.max(2, Math.floor(Number(maxPoints) || 0)); + if (source.length <= limit) { + return source; + } + + const sampled = []; + const step = (source.length - 1) / (limit - 1); + for (let index = 0; index < limit; index += 1) { + sampled.push(source[Math.round(index * step)]); + } + return sampled; + } + + function createWalletCardMiniChartScene({ key, values, width = 464, height = 152 }) { + const normalizedValues = normalizeSeriesValues(values); + if (!normalizedValues.some(Number.isFinite)) { + return null; + } + + const tone = getSparklineTone(normalizedValues); + const palette = getSparklinePalette(tone); + const leftInset = 0; + const rightInset = 0; + const topInset = 6; + const plotBottom = height - 1; + const plotWidth = Math.max(1, width - leftInset - rightInset); + const plotHeight = Math.max(1, plotBottom - topInset); + const min = Math.min(...normalizedValues.filter(Number.isFinite)); + const max = Math.max(...normalizedValues.filter(Number.isFinite)); + const range = max - min; + const paddedMin = range === 0 ? min : min - range * 0.08; + const paddedMax = range === 0 ? max : max + range * 0.12; + const paddedRange = paddedMax - paddedMin; + const points = normalizedValues.map((value, index) => { + if (!Number.isFinite(value)) return null; + const x = + normalizedValues.length === 1 + ? leftInset + plotWidth / 2 + : leftInset + (index / (normalizedValues.length - 1)) * plotWidth; + const y = + paddedRange === 0 + ? topInset + plotHeight * 0.72 + : plotBottom - ((value - paddedMin) / paddedRange) * plotHeight; + return { x, y }; + }); + + const safeKey = escapeHtml(String(key || "wallet-card-chart").replace(/[^a-z0-9-]/gi, "-")); + const { line: linePath, area: areaPath } = buildChartPaths(points, plotBottom); + + return { + tone, + markup: ` + + + + + + + + + + + + + + + `, + }; + } + + function createSparklineScene(chartDisplay, { width = 352, height = 96 } = {}) { + const values = Array.isArray(chartDisplay?.values) ? chartDisplay.values : []; + const key = typeof chartDisplay?.key === "string" ? chartDisplay.key : "sparkline"; + const timestamps = Array.isArray(chartDisplay?.timestamps) ? chartDisplay.timestamps : []; + const rangeLabel = + typeof chartDisplay?.range === "string" ? chartDisplay.range : normalizeChartRange(getState().selectedRange); + const normalizedValues = normalizeSeriesValues(values); + if (!normalizedValues.some(Number.isFinite)) { + return null; + } + + const tone = getSparklineTone(normalizedValues); + const palette = getSparklinePalette(tone); + + const leftInset = 0; + const rightInset = 0; + const topInset = 8; + const bottomInset = 36; + const plotWidth = Math.max(1, width - leftInset - rightInset); + const plotBottom = height - bottomInset; + const plotHeight = Math.max(1, plotBottom - topInset); + const min = Math.min(...normalizedValues.filter(Number.isFinite)); + const max = Math.max(...normalizedValues.filter(Number.isFinite)); + const range = max - min; + const points = normalizedValues.map((value, index) => { + if (!Number.isFinite(value)) return null; + const x = + normalizedValues.length === 1 + ? leftInset + plotWidth / 2 + : leftInset + (index / (normalizedValues.length - 1)) * plotWidth; + const y = + range === 0 + ? topInset + plotHeight * 0.58 + : plotBottom - ((value - min) / range) * plotHeight; + return { x, y }; + }); + + const safeKey = escapeHtml(key.replace(/[^a-z0-9-]/gi, "-")); + const { line: linePath, area: areaPath } = buildChartPaths(points, plotBottom); + const yAxisLabels = buildSparklineYAxisLabels(min, max, topInset, plotBottom, range); + const xAxisLabels = buildSparklineXAxisLabels(timestamps, rangeLabel, leftInset, plotWidth, height); + + return { + width, + height, + leftInset, + rightInset, + topInset, + plotBottom, + plotWidth, + rangeLabel, + points, + values: normalizedValues, + timestamps, + tone, + markup: ` + + + + + + + + + + + + + ${yAxisLabels + .map( + (label) => ` + + ` + ) + .join("")} + + + ${xAxisLabels + .map( + (label) => ` + ${escapeHtml( + label.text + )} + ` + ) + .join("")} + + + `, + }; + } + + function bindSparklineInteraction(container, scene) { + container.onpointerenter = null; + container.onpointermove = null; + container.onpointerleave = null; + container.onpointerdown = null; + container.onblur = null; + container._sparklineScene = scene || null; + + if (!scene) { + return; + } + + const interaction = container.querySelector("[data-role='sparkline-interaction']"); + const guideLine = container.querySelector("[data-role='sparkline-hover-line']"); + const dot = container.querySelector("[data-role='sparkline-hover-dot']"); + const tooltip = container.querySelector("[data-role='sparkline-tooltip']"); + const tooltipValue = container.querySelector("[data-role='sparkline-tooltip-value']"); + const tooltipTime = container.querySelector("[data-role='sparkline-tooltip-time']"); + if (!interaction || !guideLine || !dot || !tooltip || !tooltipValue || !tooltipTime) { + return; + } + + const hideInteraction = () => { + interaction.hidden = true; + }; + + const updateInteraction = (clientX) => { + const rect = container.getBoundingClientRect(); + if (!rect.width || !rect.height) { + hideInteraction(); + return; + } + + const plotLeftPx = (scene.leftInset / scene.width) * rect.width; + const plotWidthPx = (scene.plotWidth / scene.width) * rect.width; + const localX = clamp(clientX - rect.left, plotLeftPx, plotLeftPx + plotWidthPx); + const pointIndex = + scene.points.length === 1 + ? 0 + : clamp( + Math.round(((localX - plotLeftPx) / plotWidthPx) * (scene.points.length - 1)), + 0, + scene.points.length - 1 + ); + const point = scene.points[pointIndex]; + if (!point) { hideInteraction(); return; } + const pointX = (point.x / scene.width) * rect.width; + const pointY = (point.y / scene.height) * rect.height; + const lineTop = (scene.topInset / scene.height) * rect.height; + const lineBottom = (scene.plotBottom / scene.height) * rect.height; + + tooltipValue.textContent = formatSparklineTooltipValue(scene.values[pointIndex]); + tooltipTime.textContent = formatSparklineTooltipTimestamp( + scene.timestamps[pointIndex], + scene.rangeLabel + ); + + interaction.hidden = false; + guideLine.style.left = `${pointX}px`; + guideLine.style.top = `${lineTop}px`; + guideLine.style.height = `${Math.max(0, lineBottom - lineTop)}px`; + dot.style.left = `${pointX}px`; + dot.style.top = `${pointY}px`; + + const tooltipWidth = tooltip.offsetWidth || 140; + const tooltipHeight = tooltip.offsetHeight || 48; + const clampedTooltipX = clamp(pointX, tooltipWidth / 2 + 8, rect.width - tooltipWidth / 2 - 8); + const tooltipY = Math.max(8, pointY - tooltipHeight - 18); + tooltip.style.left = `${clampedTooltipX}px`; + tooltip.style.top = `${tooltipY}px`; + }; + + container.onpointerenter = (event) => { + updateInteraction(event.clientX); + }; + container.onpointermove = (event) => { + updateInteraction(event.clientX); + }; + container.onpointerdown = (event) => { + updateInteraction(event.clientX); + }; + container.onpointerleave = hideInteraction; + container.onblur = hideInteraction; + } + + function getSparklineTone(values) { + const normalizedValues = normalizeSeriesValues(values).filter(Number.isFinite); + if (!normalizedValues.length) { + return "up"; + } + + return normalizedValues.at(-1) < normalizedValues[0] ? "down" : "up"; + } + + function getSparklinePalette(tone) { + if (tone === "down") { + return { + lineStart: "rgba(255, 68, 0, 0.92)", + lineEnd: "rgba(255, 68, 0, 0.35)", + fillStart: "rgba(255, 68, 0, 0.32)", + fillEnd: "rgba(255, 68, 0, 0)", + }; + } + + return { + lineStart: "rgba(125, 229, 147, 0.92)", + lineEnd: "rgba(125, 229, 147, 0.35)", + fillStart: "rgba(125, 229, 147, 0.38)", + fillEnd: "rgba(125, 229, 147, 0)", + }; + } + + function buildSparklineYAxisLabels(min, max, topY, bottomY, range) { + if (!Number.isFinite(min) || !Number.isFinite(max)) { + return []; + } + + if (range === 0) { + return [ + { + y: topY + (bottomY - topY) * 0.58, + }, + ]; + } + + const stops = [0.75, 0.5, 0.25]; + return stops.map((stop) => ({ + y: topY + (bottomY - topY) * (1 - stop), + })); + } + + function buildSparklineXAxisLabels(timestamps, rangeLabel, leftInset, plotWidth, height) { + if (!timestamps.length) { + return []; + } + + const indexes = uniqueNumbers( + [0, 0.25, 0.5, 0.75, 1].map((ratio) => + Math.max(0, Math.round((timestamps.length - 1) * ratio)) + ) + ); + + return indexes.map((index, labelIndex) => { + const ratio = timestamps.length === 1 ? 0.5 : index / (timestamps.length - 1); + return { + x: leftInset + ratio * plotWidth, + anchor: labelIndex === 0 ? "start" : labelIndex === indexes.length - 1 ? "end" : "middle", + text: formatChartXAxisLabel(timestamps[index], rangeLabel), + }; + }); + } + + function formatChartXAxisLabel(timestamp, rangeLabel) { + const date = new Date(timestamp); + if (rangeLabel === "1D") { + return new Intl.DateTimeFormat("en-GB", { + hour: "2-digit", + minute: "2-digit", + hour12: false, + }).format(date); + } + + if (rangeLabel === "30D") { + return new Intl.DateTimeFormat("en-US", { + month: "short", + day: "numeric", + }).format(date); + } + + return new Intl.DateTimeFormat("en-US", { + month: "short", + year: "numeric", + }).format(date); + } + + function formatSparklineTooltipValue(value) { + if (getDisplayUnit() === "USD") { + return formatDisplayFiatValue(value, getState().hideBalances); + } + + return formatWalletBtc(value, getState().hideBalances); + } + + function formatSparklineTooltipTimestamp(timestamp, rangeLabel) { + if (!Number.isFinite(timestamp)) { + return ""; + } + + const date = new Date(timestamp); + if (rangeLabel === "1D") { + return new Intl.DateTimeFormat("en-US", { + month: "short", + day: "numeric", + hour: "2-digit", + minute: "2-digit", + hour12: false, + }).format(date); + } + + return new Intl.DateTimeFormat("en-US", { + month: "short", + day: "numeric", + year: "numeric", + }).format(date); + } + + function clamp(value, min, max) { + return Math.min(Math.max(value, min), max); + } + + function uniqueNumbers(values) { + return [...new Set(values.filter((value) => Number.isFinite(value)))]; + } + + function buildSmoothPath(points) { + if (!points.length) { + return ""; + } + + if (points.length === 1) { + return `M ${points[0].x} ${points[0].y}`; + } + + let path = `M ${points[0].x} ${points[0].y}`; + for (let index = 0; index < points.length - 1; index += 1) { + const current = points[index]; + const next = points[index + 1]; + const controlX = (current.x + next.x) / 2; + path += ` C ${controlX} ${current.y}, ${controlX} ${next.y}, ${next.x} ${next.y}`; + } + return path; + } + + function normalizeSeriesValues(values) { + return (Array.isArray(values) ? values : []).map((value) => Number.isFinite(value) ? value : null); + } + + function buildChartPaths(points, bottom) { + const segments = []; + let segment = []; + for (const point of points) { + if (point) segment.push(point); + else if (segment.length) { segments.push(segment); segment = []; } + } + if (segment.length) segments.push(segment); + return { + line: segments.map(buildSmoothPath).join(" "), + area: segments.map((part) => `${buildSmoothPath(part)} L ${part.at(-1).x} ${bottom} L ${part[0].x} ${bottom} Z`).join(" "), + }; + } + + function getSeriesGrowthDescriptor(values) { + if (!Array.isArray(values) || values.some((value) => !Number.isFinite(value))) return null; + const series = values; + if (!series.length) { + return null; + } + + const first = Number(series[0]); + const last = Number(series.at(-1)); + if (!Number.isFinite(first) || !Number.isFinite(last)) { + return null; + } + + if (getState().hideBalances) { + return null; + } + + let percent = null; + if (first === 0) { + percent = last === 0 ? 0 : null; + } else { + percent = ((last - first) / Math.abs(first)) * 100; + } + + if (!Number.isFinite(percent)) { + return null; + } + + const normalizedPercent = normalizeDisplayedGrowthPercent(percent); + const sign = normalizedPercent > 0 ? "+" : ""; + const maximumFractionDigits = Math.abs(normalizedPercent) >= 100 ? 0 : 2; + + return { + label: `${sign}${formatCompactDecimal(normalizedPercent, maximumFractionDigits)}%`, + chartLabel: `${normalizedPercent >= 0 ? "+" : ""}${formatCompactDecimal( + normalizedPercent, + maximumFractionDigits + )}%`, + compactTitle: Math.abs(normalizedPercent) >= 1000, + toneClass: + normalizedPercent < 0 + ? "is-negative" + : normalizedPercent > 0 + ? "is-confirmed" + : "", + icon: + normalizedPercent === 0 + ? getChartLineFlatIconMarkup() + : normalizedPercent < 0 + ? getChartLineDownIconMarkup() + : getChartLineUpIconMarkup(), + }; + } + + + return { + sampleSeriesPoints, + createWalletCardMiniChartScene, + createSparklineScene, + bindSparklineInteraction, + getSeriesGrowthDescriptor + }; + } + root.BITKIT_WATCH_CHARTS = { create }; + if (typeof module === "object" && module.exports) module.exports = { create }; +})(globalThis); diff --git a/assets/market-history.js b/assets/market-history.js new file mode 100644 index 0000000..a88f57f --- /dev/null +++ b/assets/market-history.js @@ -0,0 +1,22 @@ +/* Shared browser / snapshot-builder price coverage. Never invent historical prices. */ +((root) => { + "use strict"; + const DAY_MS = 86_400_000; + function summarizePriceHistory(prices, startTimestamp, endTimestamp) { + const series = new Map(); + let missingDays = 0; + const start = Math.floor(startTimestamp / DAY_MS) * DAY_MS; + if (!Number.isFinite(start) || !Number.isFinite(endTimestamp) || endTimestamp < start || + (endTimestamp - start) / DAY_MS > 25_000) throw new Error("Unsupported price history range."); + for (let time = start; time <= endTimestamp; time += DAY_MS) { + const key = new Date(time).toISOString().slice(0, 10); + const price = prices.get(key); + if (Number.isFinite(price) && price > 0) series.set(key, price); + else missingDays += 1; + } + return { series, missingDays }; + } + const api = { summarizePriceHistory }; + root.BITKIT_WATCH_MARKET_HISTORY = api; + if (typeof module === "object" && module.exports) module.exports = api; +})(globalThis); diff --git a/assets/portfolio.js b/assets/portfolio.js new file mode 100644 index 0000000..e573626 --- /dev/null +++ b/assets/portfolio.js @@ -0,0 +1,418 @@ +/* Portfolio module. Dependencies are supplied by app.js; state access is explicit. */ +((root) => { + "use strict"; + function create({ + DAY_MS, + HISTORY_DAYS, + HOUR_MS, + MAX_TIMELINE_POINTS, + looksLikeBitcoinAddress, + normalizeBitcoinAddress, + normalizeTransactionDetails, + shortAddress, + startOfUtcDay, + startOfUtcHour, + toDateKey, + toHourKey, + uniqueStrings + }) { + const PortfolioLayer = { + buildAddressSnapshot({ + entry, + bundle, + provider, + currentPriceUsd, + priceHistory, + startTimestamp, + endTimestamp, + detailScope = "1Y", + }) { + const balanceSats = + Number(bundle.summary.chain_stats?.funded_txo_sum || 0) - + Number(bundle.summary.chain_stats?.spent_txo_sum || 0) + + Number(bundle.summary.mempool_stats?.funded_txo_sum || 0) - + Number(bundle.summary.mempool_stats?.spent_txo_sum || 0); + + const txEvents = bundle.transactions + .map((tx) => normalizeTransactionEvent(tx, entry.address)) + .filter((event) => event && (event.netSats !== 0 || event.sentSats !== 0 || event.receivedSats !== 0)); + + const balanceTimeline = buildDailyBalanceTimeline( + balanceSats, + txEvents, + startTimestamp, + endTimestamp + ); + + const hourlyBalanceTimeline = buildIntervalBalanceTimeline( + balanceSats, + txEvents, + endTimestamp - 23 * HOUR_MS, + endTimestamp, + HOUR_MS, + startOfUtcHour, + toHourKey + ); + + return { + entry, + provider, + refreshedAt: endTimestamp, + refreshFailed: false, + balanceSats, + usdValue: (balanceSats / 1e8) * currentPriceUsd, + txEvents, + balanceTimeline, + hourlyBalanceTimeline, + approximate: bundle.truncated, + detailScope, + }; + }, + + buildSummarySnapshot({ + entry, + provider, + balanceSats, + currentPriceUsd, + }) { + return { + entry, + provider, + refreshedAt: Date.now(), + refreshFailed: false, + balanceSats: Number(balanceSats || 0), + usdValue: (Number(balanceSats || 0) / 1e8) * currentPriceUsd, + txEvents: [], + balanceTimeline: [], + hourlyBalanceTimeline: [], + approximate: false, + detailScope: "SUMMARY", + }; + }, + + combineTimelines(snapshots, priceHistory, startTimestamp, endTimestamp) { + return combineSnapshotTimelines( + snapshots, + "balanceTimeline", + priceHistory, + startTimestamp, + endTimestamp + ); + }, + + calculateTotals(snapshots) { + const balanceSats = snapshots.reduce((sum, snapshot) => sum + snapshot.balanceSats, 0); + const usdValue = snapshots.reduce((sum, snapshot) => sum + snapshot.usdValue, 0); + return { balanceSats, usdValue }; + }, + }; + + const ActivityLayer = { + buildCombinedActivity(snapshots, priceHistory, currentPriceUsd) { + const byTx = new Map(); + + snapshots.forEach((snapshot) => { + const label = shortAddress(snapshot.entry.address); + + snapshot.txEvents.forEach((event) => { + if (!byTx.has(event.txid)) { + byTx.set(event.txid, { + txid: event.txid, + timestamp: event.timestamp, + confirmed: event.confirmed, + netSats: 0, + feeSats: Number.isFinite(event.feeSats) ? event.feeSats : null, + feeRateSatVb: Number.isFinite(event.feeRateSatVb) ? event.feeRateSatVb : null, + relatedAddresses: new Set(), + inputAddresses: new Set(), + outputAddresses: new Set(), + walletInputAddresses: new Set(), + walletOutputAddresses: new Set(), + hasAddressDetails: false, + }); + } + + const row = byTx.get(event.txid); + row.timestamp = Math.max(row.timestamp, event.timestamp); + row.netSats += event.netSats; + if (!Number.isFinite(row.feeSats) && Number.isFinite(event.feeSats)) { + row.feeSats = event.feeSats; + } + if (!Number.isFinite(row.feeRateSatVb) && Number.isFinite(event.feeRateSatVb)) { + row.feeRateSatVb = event.feeRateSatVb; + } + row.relatedAddresses.add(label); + if (event.inputAddresses.length || event.outputAddresses.length) { + row.hasAddressDetails = true; + } + event.inputAddresses.forEach((address) => row.inputAddresses.add(address)); + event.outputAddresses.forEach((address) => row.outputAddresses.add(address)); + event.walletInputAddresses.forEach((address) => row.walletInputAddresses.add(address)); + event.walletOutputAddresses.forEach((address) => row.walletOutputAddresses.add(address)); + }); + }); + + return [...byTx.values()] + .map((row) => { + const price = priceHistory.get(toDateKey(row.timestamp)); + return { + txid: row.txid, + timestamp: row.timestamp, + confirmed: row.confirmed, + netSats: row.netSats, + feeSats: Number.isFinite(row.feeSats) ? row.feeSats : null, + feeRateSatVb: Number.isFinite(row.feeRateSatVb) ? row.feeRateSatVb : null, + direction: row.netSats > 0 ? "Received" : row.netSats < 0 ? "Sent" : "Internal", + usdValue: Number.isFinite(price) ? Math.abs(row.netSats / 1e8) * price : null, + relatedAddresses: [...row.relatedAddresses], + inputAddresses: [...row.inputAddresses], + outputAddresses: [...row.outputAddresses], + walletInputAddresses: [...row.walletInputAddresses], + walletOutputAddresses: [...row.walletOutputAddresses], + hasAddressDetails: Boolean(row.hasAddressDetails), + }; + }) + .sort((left, right) => right.timestamp - left.timestamp); + }, + }; + + function extractTransactionAddresses(tx) { + const inputAddresses = []; + const outputAddresses = []; + + (tx.vout || []).forEach((output) => { + if (looksLikeBitcoinAddress(output.scriptpubkey_address)) { + outputAddresses.push(output.scriptpubkey_address); + } + }); + + (tx.vin || []).forEach((input) => { + if (looksLikeBitcoinAddress(input.prevout?.scriptpubkey_address)) { + inputAddresses.push(input.prevout.scriptpubkey_address); + } + }); + + return { + inputAddresses: uniqueStrings(inputAddresses), + outputAddresses: uniqueStrings(outputAddresses), + }; + } + + function extractTransactionFeeRate(tx) { + const fee = Number(tx?.fee); + if (!Number.isFinite(fee) || fee < 0) { + return null; + } + + const vsize = Number(tx?.vsize); + if (Number.isFinite(vsize) && vsize > 0) { + return fee / vsize; + } + + const weight = Number(tx?.weight); + if (Number.isFinite(weight) && weight > 0) { + return fee / (weight / 4); + } + + return null; + } + + function normalizeTransactionEvent(tx, watchedAddress) { + let receivedSats = 0; + let sentSats = 0; + const { inputAddresses, outputAddresses } = extractTransactionAddresses(tx); + const feeSats = Number.isFinite(tx?.fee) ? Number(tx.fee) : null; + const feeRateSatVb = extractTransactionFeeRate(tx); + + (tx.vout || []).forEach((output) => { + if (normalizeBitcoinAddress(output.scriptpubkey_address) === normalizeBitcoinAddress(watchedAddress)) { + receivedSats += Number(output.value || 0); + } + }); + + (tx.vin || []).forEach((input) => { + if (normalizeBitcoinAddress(input.prevout?.scriptpubkey_address) === normalizeBitcoinAddress(watchedAddress)) { + sentSats += Number(input.prevout.value || 0); + } + }); + + const netSats = receivedSats - sentSats; + const timestamp = tx.status?.block_time ? tx.status.block_time * 1000 : Date.now(); + + return { + txid: tx.txid, + timestamp, + confirmed: Boolean(tx.status?.confirmed), + receivedSats, + sentSats, + netSats, + feeSats, + feeRateSatVb, + inputAddresses, + outputAddresses, + walletInputAddresses: uniqueStrings(inputAddresses.filter((address) => address === watchedAddress)), + walletOutputAddresses: uniqueStrings(outputAddresses.filter((address) => address === watchedAddress)), + }; + } + + function buildTransactionTechnicalDetails(tx) { + const { inputAddresses, outputAddresses } = extractTransactionAddresses(tx); + return normalizeTransactionDetails({ + txid: tx.txid, + feeSats: Number.isFinite(tx?.fee) ? Number(tx.fee) : null, + feeRateSatVb: extractTransactionFeeRate(tx), + inputAddresses, + outputAddresses, + }); + } + + function buildDailyBalanceTimeline(currentBalanceSats, txEvents, startTimestamp, endTimestamp) { + return buildIntervalBalanceTimeline( + currentBalanceSats, + txEvents, + startTimestamp, + endTimestamp, + DAY_MS, + startOfUtcDay, + toDateKey + ); + } + + function isSupportedTimelineRange(startTimestamp, endTimestamp, stepMs) { + return Number.isFinite(startTimestamp) && Number.isFinite(endTimestamp) && + startTimestamp >= 0 && endTimestamp >= startTimestamp && endTimestamp <= Date.now() + DAY_MS && + Number.isFinite(stepMs) && stepMs > 0 && + Math.floor((endTimestamp - startTimestamp) / stepMs) + 1 <= MAX_TIMELINE_POINTS; + } + + function buildIntervalBalanceTimeline( + currentBalanceSats, + txEvents, + startTimestamp, + endTimestamp, + stepMs, + alignTime, + keyForTimestamp + ) { + if (!isSupportedTimelineRange(startTimestamp, endTimestamp, stepMs)) return []; + const sortedDescending = [...txEvents].sort((a, b) => b.timestamp - a.timestamp); + const points = []; + let balance = currentBalanceSats; + let txIndex = 0; + + for (let cursor = alignTime(endTimestamp); cursor >= alignTime(startTimestamp); cursor -= stepMs) { + const intervalEnd = cursor + stepMs - 1; + while (txIndex < sortedDescending.length && sortedDescending[txIndex].timestamp > intervalEnd) { + balance -= sortedDescending[txIndex].netSats; + txIndex += 1; + } + + points.push({ + dateKey: keyForTimestamp(cursor), + timestamp: cursor, + balanceSats: balance, + }); + } + + return points.reverse(); + } + + function combineSnapshotTimelines( + snapshots, + timelineKey, + priceHistory, + startTimestamp, + endTimestamp, + { + stepMs = DAY_MS, + alignTime = startOfUtcDay, + keyForTimestamp = toDateKey, + } = {} + ) { + if (!isSupportedTimelineRange(startTimestamp, endTimestamp, stepMs)) return []; + const sources = (Array.isArray(snapshots) ? snapshots : []) + .map((snapshot) => { + const points = Array.isArray(snapshot?.[timelineKey]) + ? snapshot[timelineKey] + .filter( + (point) => + Number.isFinite(point?.timestamp) && + Number.isFinite(point?.balanceSats) + ) + .sort((left, right) => left.timestamp - right.timestamp) + : []; + return { + points, + index: 0, + balanceSats: 0, + }; + }) + .filter((source) => source.points.length); + if (!sources.length) { + return []; + } + + const timelineStart = alignTime(startTimestamp); + const safePriceHistory = priceHistory instanceof Map ? priceHistory : new Map(); + + const timeline = []; + for (let cursor = timelineStart; cursor <= endTimestamp; cursor += stepMs) { + const key = keyForTimestamp(cursor); + let balanceSats = 0; + sources.forEach((source) => { + while ( + source.index < source.points.length && + source.points[source.index].timestamp <= cursor + ) { + source.balanceSats = source.points[source.index].balanceSats; + source.index += 1; + } + balanceSats += source.balanceSats; + }); + const btcHoldings = balanceSats / 1e8; + const usdPrice = safePriceHistory.get(key); + timeline.push({ + dateKey: key, + timestamp: cursor, + balanceSats, + btcHoldings, + usdPrice, + usdValue: Number.isFinite(usdPrice) ? btcHoldings * usdPrice : null, + }); + } + + return timeline; + } + + function buildFlatTimeline(balanceSats, currentPriceUsd, pointCount = HISTORY_DAYS, stepMs = DAY_MS, alignTime = startOfUtcDay) { + const timeline = []; + const start = alignTime(Date.now() - (pointCount - 1) * stepMs); + const usdValue = Number.isFinite(currentPriceUsd) ? (balanceSats / 1e8) * currentPriceUsd : null; + const keyForTimestamp = stepMs === HOUR_MS ? toHourKey : toDateKey; + for (let cursor = start; cursor <= Date.now(); cursor += stepMs) { + timeline.push({ + timestamp: cursor, + dateKey: keyForTimestamp(cursor), + balanceSats, + btcHoldings: balanceSats / 1e8, + usdValue, + }); + } + return timeline; + } + + + return { + PortfolioLayer, + ActivityLayer, + normalizeTransactionEvent, + buildTransactionTechnicalDetails, + buildDailyBalanceTimeline, + buildIntervalBalanceTimeline, + combineSnapshotTimelines, + buildFlatTimeline + }; + } + root.BITKIT_WATCH_PORTFOLIO = { create }; + if (typeof module === "object" && module.exports) module.exports = { create }; +})(globalThis); diff --git a/assets/satoshi-demo-snapshot.js b/assets/satoshi-demo-snapshot.js index 9babfb8..5b8a857 100644 --- a/assets/satoshi-demo-snapshot.js +++ b/assets/satoshi-demo-snapshot.js @@ -5,18 +5,19 @@ */ globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT = Object.freeze({ - "asOf": "2026-11-24T17:20:13.477Z", - "currentPriceUsd": 59672.375, + "asOf": "2026-11-25T11:54:20.465Z", + "currentPriceUsd": 58687.155, "balancesByAddress": { - "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa": 5771994666, + "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa": 5772015277, "12cbQLTFMXRnSzktFkuoG3eHoMeFtpTu3S": 44411447, "12c6DSiU4Rq3P4ZxziKxzrL5LmMBrzjrJX": 135275617, "1HLoD9E4SDFFPDiYfNYnkBLQ85Y51J3Zb1": 7901811, "1FvzCLoTPGANNjWoUo6jUGuAG3wg1w4YjR": 663817 }, "runtimeCache": { + "priceHistoryVersion": 1, "historyScope": "ALL", - "currentPriceUsd": 59672.375, + "currentPriceUsd": 58687.155, "fiatExchangeRates": [ [ "USD", @@ -24,22768 +25,16744 @@ globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT = Object.freeze({ ], [ "EUR", - 0.9126526581934089 + 0.91473303564324 ], [ "JPY", - 159.232 + 159.34725 ], [ "GBP", - 0.7631710150385639 + 0.766351898042705 ], [ "CNY", - 6.662696569192539 + 6.671015777647072 ] ], "priceHistory": [ [ - "2016-04-02", - 419.95 - ], - [ - "2016-04-01", - 417.68 - ], - [ - "2016-03-31", - 416.03 - ], - [ - "2016-03-30", - 412.79 - ], - [ - "2016-03-29", - 416.39 - ], - [ - "2016-03-28", - 423 - ], - [ - "2016-03-27", - 425.3 - ], - [ - "2016-03-26", - 416.97 - ], - [ - "2016-03-25", - 416.41 - ], - [ - "2016-03-24", - 412.95 - ], - [ - "2016-03-23", - 417.53 - ], - [ - "2016-03-22", - 416.66 - ], - [ - "2016-03-21", - 412 - ], - [ - "2016-03-20", - 411.27 - ], - [ - "2016-03-19", - 410.2 - ], - [ - "2016-03-18", - 409.65 - ], - [ - "2016-03-17", - 418.41 - ], - [ - "2016-03-16", - 416.07 - ], - [ - "2016-03-15", - 415.41 - ], - [ - "2016-03-14", - 415.02 - ], - [ - "2016-03-13", - 412.52 - ], - [ - "2016-03-12", - 410.58 - ], - [ - "2016-03-11", - 419.39 - ], - [ - "2016-03-10", - 415.98 - ], - [ - "2016-03-09", - 412.8 - ], - [ - "2016-03-08", - 411.18 - ], - [ - "2016-03-07", - 412.21 - ], - [ - "2016-03-06", - 403.24 - ], - [ - "2016-03-05", - 396.08 - ], - [ - "2016-03-04", - 407.35 - ], - [ - "2016-03-03", - 418.8 - ], - [ - "2016-03-02", - 420.39 - ], - [ - "2016-03-01", - 433.08 - ], - [ - "2016-02-29", - 436.44 - ], - [ - "2016-02-28", - 433.73 - ], - [ - "2016-02-27", - 433.12 - ], - [ - "2016-02-26", - 430.85 - ], - [ - "2016-02-25", - 423.54 - ], - [ - "2016-02-24", - 423.94 - ], - [ - "2016-02-23", - 419.97 - ], - [ - "2016-02-22", - 437.55 - ], - [ - "2016-02-21", - 438.56 - ], - [ - "2016-02-20", - 437.46 - ], - [ - "2016-02-19", - 420.72 - ], - [ - "2016-02-18", - 421.19 - ], - [ - "2016-02-17", - 415.2 - ], - [ - "2016-02-16", - 407.42 - ], - [ - "2016-02-15", - 398.95 - ], - [ - "2016-02-14", - 406.59 - ], - [ - "2016-02-13", - 391 - ], - [ - "2016-02-12", - 382.05 - ], - [ - "2016-02-11", - 378.23 - ], - [ - "2016-02-10", - 378.44 - ], - [ - "2016-02-09", - 372.68 - ], - [ - "2016-02-08", - 371.14 - ], - [ - "2016-02-07", - 377.49 - ], - [ - "2016-02-06", - 375.44 - ], - [ - "2016-02-05", - 384.5 - ], - [ - "2016-02-04", - 387.99 - ], - [ - "2016-02-03", - 368.87 - ], - [ - "2016-02-02", - 372.93 - ], - [ - "2016-02-01", - 371.33 - ], - [ - "2016-01-31", - 367.95 - ], - [ - "2016-01-30", - 378.46 - ], - [ - "2016-01-29", - 378.68 - ], - [ - "2016-01-28", - 379.61 - ], - [ - "2016-01-27", - 394.79 - ], - [ - "2016-01-26", - 391.54 - ], - [ - "2016-01-25", - 391.4 - ], - [ - "2016-01-24", - 403.05 - ], - [ - "2016-01-23", - 387.5 - ], - [ - "2016-01-22", - 382.9 - ], - [ - "2016-01-21", - 409.38 - ], - [ - "2016-01-20", - 418.54 - ], - [ - "2016-01-19", - 375.27 - ], - [ - "2016-01-18", - 384.89 - ], - [ - "2016-01-17", - 378.46 - ], - [ - "2016-01-16", - 388.7 - ], - [ - "2016-01-15", - 357.53 - ], - [ - "2016-01-14", - 430.03 - ], - [ - "2016-01-13", - 432.77 - ], - [ - "2016-01-12", - 434.01 - ], - [ - "2016-01-11", - 449.19 - ], - [ - "2016-01-10", - 449.99 - ], - [ - "2016-01-09", - 450.38 - ], - [ - "2016-01-08", - 454.44 - ], - [ - "2016-01-07", - 459.07 - ], - [ - "2016-01-06", - 430.87 - ], - [ - "2016-01-05", - 433.34 - ], - [ - "2016-01-04", - 433.85 - ], - [ - "2016-01-03", - 431.91 - ], - [ - "2016-01-02", - 435.4 - ], - [ - "2016-01-01", - 435.66 - ], - [ - "2015-12-31", - 430.35 - ], - [ - "2015-12-30", - 427.95 - ], - [ - "2015-12-29", - 433.89 - ], - [ - "2015-12-28", - 421.94 - ], - [ - "2015-12-27", - 424.72 - ], - [ - "2015-12-26", - 419.41 - ], - [ - "2015-12-25", - 455.84 - ], - [ - "2015-12-24", - 455.74 - ], - [ - "2015-12-23", - 442.43 - ], - [ - "2015-12-22", - 433.92 - ], - [ - "2015-12-21", - 436.81 - ], - [ - "2015-12-20", - 442.22 - ], - [ - "2015-12-19", - 461.29 - ], - [ - "2015-12-18", - 463.17 - ], - [ - "2015-12-17", - 455.5 - ], - [ - "2015-12-16", - 453.97 - ], - [ - "2015-12-15", - 464.27 - ], - [ - "2015-12-14", - 444.01 - ], - [ - "2015-12-13", - 433.83 - ], - [ - "2015-12-12", - 436.87 - ], - [ - "2015-12-11", - 452.95 - ], - [ - "2015-12-10", - 415.68 - ], - [ - "2015-12-09", - 418.39 - ], - [ - "2015-12-08", - 418.94 - ], - [ - "2015-12-07", - 394.73 - ], - [ - "2015-12-06", - 387.55 - ], - [ - "2015-12-05", - 387.99 - ], - [ - "2015-12-04", - 363.98 - ], - [ - "2015-12-03", - 361.77 - ], - [ - "2015-12-02", - 360 - ], - [ - "2015-12-01", - 362.68 - ], - [ - "2015-11-30", - 376.86 - ], - [ - "2015-11-29", - 372.24 - ], - [ - "2015-11-28", - 357.24 - ], - [ - "2015-11-27", - 358.19 - ], - [ - "2015-11-26", - 352.57 - ], - [ - "2015-11-25", - 328.98 - ], - [ - "2015-11-24", - 321 - ], - [ - "2015-11-23", - 323 - ], - [ - "2015-11-22", - 323.71 - ], - [ - "2015-11-21", - 327 - ], - [ - "2015-11-20", - 322.39 - ], - [ - "2015-11-19", - 326.41 - ], - [ - "2015-11-18", - 335.49 - ], - [ - "2015-11-17", - 336.49 - ], - [ - "2015-11-16", - 332.89 - ], - [ - "2015-11-15", - 322.93 - ], - [ - "2015-11-14", - 334.71 - ], - [ - "2015-11-13", - 338.07 - ], - [ - "2015-11-12", - 336.49 - ], - [ - "2015-11-11", - 313.2 - ], - [ - "2015-11-10", - 337.14 - ], - [ - "2015-11-09", - 379.53 - ], - [ - "2015-11-08", - 373.83 - ], - [ - "2015-11-07", - 384.81 - ], - [ - "2015-11-06", - 374.09 - ], - [ - "2015-11-05", - 387.21 - ], - [ - "2015-11-04", - 410 - ], - [ - "2015-11-03", - 404.1 - ], - [ - "2015-11-02", - 365.21 - ], - [ - "2015-11-01", - 329.46 - ], - [ - "2015-10-31", - 314.85 - ], - [ - "2015-10-30", - 329.11 - ], - [ - "2015-10-29", - 316.08 - ], - [ - "2015-10-28", - 304.09 - ], - [ - "2015-10-27", - 295.61 - ], - [ - "2015-10-26", - 287.1 - ], - [ - "2015-10-25", - 284.97 - ], - [ - "2015-10-24", - 284.29 - ], - [ - "2015-10-23", - 278.76 - ], - [ - "2015-10-22", - 275.84 - ], - [ - "2015-10-21", - 268.77 - ], - [ - "2015-10-20", - 271.14 - ], - [ - "2015-10-19", - 265.17 - ], - [ - "2015-10-18", - 265 - ], - [ - "2015-10-17", - 272.87 - ], - [ - "2015-10-16", - 263.43 - ], - [ - "2015-10-15", - 254.99 - ], - [ - "2015-10-14", - 253.27 - ], - [ - "2015-10-13", - 250.99 - ], - [ - "2015-10-12", - 246.39 - ], - [ - "2015-10-11", - 249.02 - ], - [ - "2015-10-10", - 246.07 - ], - [ - "2015-10-09", - 244.35 - ], - [ - "2015-10-08", - 242.94 - ], - [ - "2015-10-07", - 244 - ], - [ - "2015-10-06", - 246.64 - ], - [ - "2015-10-05", - 240.95 - ], - [ - "2015-10-04", - 239.87 - ], - [ - "2015-10-03", - 239.92 - ], - [ - "2015-10-02", - 238.28 - ], - [ - "2015-10-01", - 238.34 - ], - [ - "2015-09-30", - 237.14 - ], - [ - "2015-09-29", - 236.89 - ], - [ - "2015-09-28", - 239.99 - ], - [ - "2015-09-27", - 233.58 - ], - [ - "2015-09-26", - 234.69 - ], - [ - "2015-09-25", - 235.89 - ], - [ - "2015-09-24", - 235.27 - ], - [ - "2015-09-23", - 230.26 - ], - [ - "2015-09-22", - 231.28 - ], - [ - "2015-09-21", - 227.31 - ], - [ - "2015-09-20", - 232.24 - ], - [ - "2015-09-19", - 232.88 - ], - [ - "2015-09-18", - 233.78 - ], - [ - "2015-09-17", - 233.34 - ], - [ - "2015-09-16", - 229.73 - ], - [ - "2015-09-15", - 230.6 - ], - [ - "2015-09-14", - 231.01 - ], - [ - "2015-09-13", - 230.82 - ], - [ - "2015-09-12", - 236.5 - ], - [ - "2015-09-11", - 240.9 - ], - [ - "2015-09-10", - 238.52 - ], - [ - "2015-09-09", - 238.75 - ], - [ - "2015-09-08", - 244.14 - ], - [ - "2015-09-07", - 241.31 - ], - [ - "2015-09-06", - 241.29 - ], - [ - "2015-09-05", - 236.01 - ], - [ - "2015-09-04", - 231.39 - ], - [ - "2015-09-03", - 227.25 - ], - [ - "2015-09-02", - 229.97 - ], - [ - "2015-09-01", - 228.22 - ], - [ - "2015-08-31", - 230.75 - ], - [ - "2015-08-30", - 229.39 - ], - [ - "2015-08-29", - 230.61 - ], - [ - "2015-08-28", - 231.55 - ], - [ - "2015-08-27", - 225.8 - ], - [ - "2015-08-26", - 226.81 - ], - [ - "2015-08-25", - 223.73 - ], - [ - "2015-08-24", - 211.16 - ], - [ - "2015-08-23", - 229.21 - ], - [ - "2015-08-22", - 231.15 - ], - [ - "2015-08-21", - 232.85 - ], - [ - "2015-08-20", - 235.56 - ], - [ - "2015-08-19", - 227.34 - ], - [ - "2015-08-18", - 221.99 - ], - [ - "2015-08-17", - 257.31 - ], - [ - "2015-08-16", - 259.2 - ], - [ - "2015-08-15", - 262.46 - ], - [ - "2015-08-14", - 266.17 - ], - [ - "2015-08-13", - 264.67 - ], - [ - "2015-08-12", - 266.94 - ], - [ - "2015-08-11", - 271.99 - ], - [ - "2015-08-10", - 265.15 - ], - [ - "2015-08-09", - 267.63 - ], - [ - "2015-08-08", - 262.02 - ], - [ - "2015-08-07", - 279.94 - ], - [ - "2015-08-06", - 279.65 - ], - [ - "2015-08-05", - 282.77 - ], - [ - "2015-08-04", - 285.51 - ], - [ - "2015-08-03", - 280.95 - ], - [ - "2015-08-02", - 282.62 - ], - [ - "2015-08-01", - 281.53 - ], - [ - "2015-07-31", - 285.19 - ], - [ - "2015-07-30", - 288.49 - ], - [ - "2015-07-29", - 290.19 - ], - [ - "2015-07-28", - 295.76 - ], - [ - "2015-07-27", - 294.21 - ], - [ - "2015-07-26", - 293.89 - ], - [ - "2015-07-25", - 289.7 - ], - [ - "2015-07-24", - 289.12 - ], - [ - "2015-07-23", - 277.39 - ], - [ - "2015-07-22", - 277.89 - ], - [ - "2015-07-21", - 277.32 - ], - [ - "2015-07-20", - 280 - ], - [ - "2017-01-22", - 931.22 - ], - [ - "2017-01-21", - 925.06 - ], - [ - "2017-01-20", - 894.31 - ], - [ - "2017-01-19", - 902.92 - ], - [ - "2017-01-18", - 887.99 - ], - [ - "2017-01-17", - 906 - ], - [ - "2017-01-16", - 834.41 - ], - [ - "2017-01-15", - 833.31 - ], - [ - "2017-01-14", - 828 - ], - [ - "2017-01-13", - 831.42 - ], - [ - "2017-01-12", - 812.25 - ], - [ - "2017-01-11", - 795.77 - ], - [ - "2017-01-10", - 907 - ], - [ - "2017-01-09", - 902.66 - ], - [ - "2017-01-08", - 923.33 - ], - [ - "2017-01-07", - 909 - ], - [ - "2017-01-06", - 895.71 - ], - [ - "2017-01-05", - 1007 - ], - [ - "2017-01-04", - 1130.3 - ], - [ - "2017-01-03", - 1020.67 - ], - [ - "2017-01-02", - 1011.45 - ], - [ - "2017-01-01", - 992.95 - ], - [ - "2016-12-31", - 973.37 - ], - [ - "2016-12-30", - 960.81 - ], - [ - "2016-12-29", - 970.72 - ], - [ - "2016-12-28", - 982.17 - ], - [ - "2016-12-27", - 925.2 - ], - [ - "2016-12-26", - 902.09 - ], - [ - "2016-12-25", - 896.12 - ], - [ - "2016-12-24", - 891.5 - ], - [ - "2016-12-23", - 917.26 - ], - [ - "2016-12-22", - 856.02 - ], - [ - "2016-12-21", - 834.5 - ], - [ - "2016-12-20", - 798.99 - ], - [ - "2016-12-19", - 790.81 - ], - [ - "2016-12-18", - 790.72 - ], - [ - "2016-12-17", - 788.57 - ], - [ - "2016-12-16", - 780.98 - ], - [ - "2016-12-15", - 776.16 - ], - [ - "2016-12-14", - 777.66 - ], - [ - "2016-12-13", - 776.18 - ], - [ - "2016-12-12", - 778.94 - ], - [ - "2016-12-11", - 771.05 - ], - [ - "2016-12-10", - 775.87 - ], - [ - "2016-12-09", - 773.22 - ], - [ - "2016-12-08", - 767.89 - ], - [ - "2016-12-07", - 764.34 - ], - [ - "2016-12-06", - 759.8 - ], - [ - "2016-12-05", - 752 - ], - [ - "2016-12-04", - 767.99 - ], - [ - "2016-12-03", - 766.98 - ], - [ - "2016-12-02", - 769.25 - ], - [ - "2016-12-01", - 754 - ], - [ - "2016-11-30", - 742.69 - ], - [ - "2016-11-29", - 732.37 - ], - [ - "2016-11-28", - 729.77 - ], - [ - "2016-11-27", - 729.24 - ], - [ - "2016-11-26", - 735.7 - ], - [ - "2016-11-25", - 739.74 - ], - [ - "2016-11-24", - 737.99 - ], - [ - "2016-11-23", - 741.52 - ], - [ - "2016-11-22", - 746.66 - ], - [ - "2016-11-21", - 736.4 - ], - [ - "2016-11-20", - 731.99 - ], - [ - "2016-11-19", - 750.77 - ], - [ - "2016-11-18", - 748.54 - ], - [ - "2016-11-17", - 730.71 - ], - [ - "2016-11-16", - 739.85 - ], - [ - "2016-11-15", - 712.29 - ], - [ - "2016-11-14", - 708.32 - ], - [ - "2016-11-13", - 704.01 - ], - [ - "2016-11-12", - 704.53 - ], - [ - "2016-11-11", - 716.9 - ], - [ - "2016-11-10", - 712.91 - ], - [ - "2016-11-09", - 720.97 - ], - [ - "2016-11-08", - 711.15 - ], - [ - "2016-11-07", - 706.42 - ], - [ - "2016-11-06", - 717.02 - ], - [ - "2016-11-05", - 706.99 - ], - [ - "2016-11-04", - 706.32 - ], - [ - "2016-11-03", - 690 - ], - [ - "2016-11-02", - 744.6 - ], - [ - "2016-11-01", - 730.7 - ], - [ - "2016-10-31", - 696.9 - ], - [ - "2016-10-30", - 697.41 - ], - [ - "2016-10-29", - 714.28 - ], - [ - "2016-10-28", - 689.95 - ], - [ - "2016-10-27", - 691.21 - ], - [ - "2016-10-26", - 674 - ], - [ - "2016-10-25", - 654.3 - ], - [ - "2016-10-24", - 649.98 - ], - [ - "2016-10-23", - 651.04 - ], - [ - "2016-10-22", - 652.75 - ], - [ - "2016-10-21", - 630.83 - ], - [ - "2016-10-20", - 628.05 - ], - [ - "2016-10-19", - 629.79 - ], - [ - "2016-10-18", - 635.11 - ], - [ - "2016-10-17", - 639.56 - ], - [ - "2016-10-16", - 641.92 - ], - [ - "2016-10-15", - 638.16 - ], - [ - "2016-10-14", - 638.03 - ], - [ - "2016-10-13", - 635.66 - ], - [ - "2016-10-12", - 635.79 - ], - [ - "2016-10-11", - 642.12 - ], - [ - "2016-10-10", - 618.72 - ], - [ - "2016-10-09", - 617.42 - ], - [ - "2016-10-08", - 619.5 - ], - [ - "2016-10-07", - 617.98 - ], - [ - "2016-10-06", - 611.88 - ], - [ - "2016-10-05", - 613.16 - ], - [ - "2016-10-04", - 610.34 - ], - [ - "2016-10-03", - 612.99 - ], - [ - "2016-10-02", - 612.4 - ], - [ - "2016-10-01", - 615.65 - ], - [ - "2016-09-30", - 608.99 - ], - [ - "2016-09-29", - 605.99 - ], - [ - "2016-09-28", - 605.04 - ], - [ - "2016-09-27", - 605.71 - ], - [ - "2016-09-26", - 607.08 - ], - [ - "2016-09-25", - 601.67 - ], - [ - "2016-09-24", - 603.68 - ], - [ - "2016-09-23", - 602.96 - ], - [ - "2016-09-22", - 596.21 - ], - [ - "2016-09-21", - 597 - ], - [ - "2016-09-20", - 605.6 - ], - [ - "2016-09-19", - 608.6 - ], - [ - "2016-09-18", - 611.4 - ], - [ - "2016-09-17", - 607.92 - ], - [ - "2016-09-16", - 607.93 - ], - [ - "2016-09-15", - 605.44 - ], - [ - "2016-09-14", - 608.43 - ], - [ - "2016-09-13", - 608.63 - ], - [ - "2016-09-12", - 606.74 - ], - [ - "2016-09-11", - 607.94 - ], - [ - "2016-09-10", - 623.74 - ], - [ - "2016-09-09", - 622.07 - ], - [ - "2016-09-08", - 627.97 - ], - [ - "2016-09-07", - 615.21 - ], - [ - "2016-09-06", - 612.99 - ], - [ - "2016-09-05", - 605.69 - ], - [ - "2016-09-04", - 611.92 - ], - [ - "2016-09-03", - 600.91 - ], - [ - "2016-09-02", - 576.21 - ], - [ - "2016-09-01", - 573.02 - ], - [ - "2016-08-31", - 572.89 - ], - [ - "2016-08-30", - 574.95 - ], - [ - "2016-08-29", - 573.21 - ], - [ - "2016-08-28", - 575.41 - ], - [ - "2016-08-27", - 570.84 - ], - [ - "2016-08-26", - 579.29 - ], - [ - "2016-08-25", - 575.58 - ], - [ - "2016-08-24", - 578.47 - ], - [ - "2016-08-23", - 582.39 - ], - [ - "2016-08-22", - 585.2 - ], - [ - "2016-08-21", - 581.29 - ], - [ - "2016-08-20", - 581.87 - ], - [ - "2016-08-19", - 573.67 - ], - [ - "2016-08-18", - 574.09 - ], - [ - "2016-08-17", - 574.45 - ], - [ - "2016-08-16", - 579.02 - ], - [ - "2016-08-15", - 567.79 - ], - [ - "2016-08-14", - 574.99 - ], - [ - "2016-08-13", - 586.45 - ], - [ - "2016-08-12", - 587.74 - ], - [ - "2016-08-11", - 587.91 - ], - [ - "2016-08-10", - 594.94 - ], - [ - "2016-08-09", - 586.45 - ], - [ - "2016-08-08", - 591.48 - ], - [ - "2016-08-07", - 595.14 - ], - [ - "2016-08-06", - 591.71 - ], - [ - "2016-08-05", - 583 - ], - [ - "2016-08-04", - 587.5 - ], - [ - "2016-08-03", - 573.36 - ], - [ - "2016-08-02", - 537.47 - ], - [ - "2016-08-01", - 605.2 - ], - [ - "2016-07-31", - 626.97 - ], - [ - "2016-07-30", - 655.87 - ], - [ - "2016-07-29", - 657 - ], - [ - "2016-07-28", - 657.4 - ], - [ - "2016-07-27", - 657.35 - ], - [ - "2016-07-26", - 654.06 - ], - [ - "2016-07-25", - 657.79 - ], - [ - "2016-07-24", - 661 - ], - [ - "2016-07-23", - 657.5 - ], - [ - "2016-07-22", - 654.67 - ], - [ - "2016-07-21", - 667.28 - ], - [ - "2016-07-20", - 666.92 - ], - [ - "2016-07-19", - 673.98 - ], - [ - "2016-07-18", - 675.5 - ], - [ - "2016-07-17", - 680 - ], - [ - "2016-07-16", - 666.32 - ], - [ - "2016-07-15", - 667.48 - ], - [ - "2016-07-14", - 661.65 - ], - [ - "2016-07-13", - 655.34 - ], - [ - "2016-07-12", - 666.56 - ], - [ - "2016-07-11", - 650.97 - ], - [ - "2016-07-10", - 652.44 - ], - [ - "2016-07-09", - 657.61 - ], - [ - "2016-07-08", - 667.33 - ], - [ - "2016-07-07", - 641.97 - ], - [ - "2016-07-06", - 678.79 - ], - [ - "2016-07-05", - 669.87 - ], - [ - "2016-07-04", - 681.98 - ], - [ - "2016-07-03", - 663.55 - ], - [ - "2016-07-02", - 704.95 - ], - [ - "2016-07-01", - 678.19 - ], - [ - "2016-06-30", - 673.49 - ], - [ - "2016-06-29", - 639.42 - ], - [ - "2016-06-28", - 648.43 - ], - [ - "2016-06-27", - 657.87 - ], - [ - "2016-06-26", - 638.56 - ], - [ - "2016-06-25", - 673.71 - ], - [ - "2016-06-24", - 669.98 - ], - [ - "2016-06-23", - 631.1 - ], - [ - "2016-06-22", - 604.5 - ], - [ - "2016-06-21", - 667.66 - ], - [ - "2016-06-20", - 703.12 - ], - [ - "2016-06-19", - 768.76 - ], - [ - "2016-06-18", - 758.99 - ], - [ - "2016-06-17", - 752.26 - ], - [ - "2016-06-16", - 769.76 - ], - [ - "2016-06-15", - 698.78 - ], - [ - "2016-06-14", - 684.95 - ], - [ - "2016-06-13", - 706.01 - ], - [ - "2016-06-12", - 677.86 - ], - [ - "2016-06-11", - 609.5 - ], - [ - "2016-06-10", - 580.31 - ], - [ - "2016-06-09", - 577.46 - ], - [ - "2016-06-08", - 583.21 - ], - [ - "2016-06-07", - 579.71 - ], - [ - "2016-06-06", - 586.77 - ], - [ - "2016-06-05", - 575.17 - ], - [ - "2016-06-04", - 576.31 - ], - [ - "2016-06-03", - 571.25 - ], - [ - "2016-06-02", - 537.87 - ], - [ - "2016-06-01", - 534.84 - ], - [ - "2016-05-31", - 531.34 - ], - [ - "2016-05-30", - 532.55 - ], - [ - "2016-05-29", - 525.22 - ], - [ - "2016-05-28", - 523.25 - ], - [ - "2016-05-27", - 471.27 - ], - [ - "2016-05-26", - 454.97 - ], - [ - "2016-05-25", - 451.49 - ], - [ - "2016-05-24", - 446.99 - ], - [ - "2016-05-23", - 445.67 - ], - [ - "2016-05-22", - 442.48 - ], - [ - "2016-05-21", - 446.28 - ], - [ - "2016-05-20", - 445.65 - ], - [ - "2016-05-19", - 438.38 - ], - [ - "2016-05-18", - 455.56 - ], - [ - "2016-05-17", - 454.19 - ], - [ - "2016-05-16", - 455.66 - ], - [ - "2016-05-15", - 461.47 - ], - [ - "2016-05-14", - 458.9 - ], - [ - "2016-05-13", - 457.98 - ], - [ - "2016-05-12", - 456.48 - ], - [ - "2016-05-11", - 454.37 - ], - [ - "2016-05-10", - 452.78 - ], - [ - "2016-05-09", - 464.16 - ], - [ - "2016-05-08", - 462.79 - ], - [ - "2016-05-07", - 461.91 - ], - [ - "2016-05-06", - 462.31 - ], - [ - "2016-05-05", - 449.98 - ], - [ - "2016-05-04", - 448.68 - ], - [ - "2016-05-03", - 452.21 - ], - [ - "2016-05-02", - 446.42 - ], - [ - "2016-05-01", - 456.98 - ], - [ - "2016-04-30", - 454.02 - ], - [ - "2016-04-29", - 458.82 - ], - [ - "2016-04-28", - 451.68 - ], - [ - "2016-04-27", - 445.31 - ], - [ - "2016-04-26", - 470.59 - ], - [ - "2016-04-25", - 466.17 - ], - [ - "2016-04-24", - 464.46 - ], - [ - "2016-04-23", - 455.69 - ], - [ - "2016-04-22", - 448.41 - ], - [ - "2016-04-21", - 452.25 - ], - [ - "2016-04-20", - 442.96 - ], - [ - "2016-04-19", - 437.06 - ], - [ - "2016-04-18", - 430.97 - ], - [ - "2016-04-17", - 431 - ], - [ - "2016-04-16", - 433.39 - ], - [ - "2016-04-15", - 430.93 - ], - [ - "2016-04-14", - 426.32 - ], - [ - "2016-04-13", - 425.58 - ], - [ - "2016-04-12", - 427.8 - ], - [ - "2016-04-11", - 423.94 - ], - [ - "2016-04-10", - 423.4 - ], - [ - "2016-04-09", - 419.46 - ], - [ - "2016-04-08", - 419.48 - ], - [ - "2016-04-07", - 421.99 - ], - [ - "2016-04-06", - 421.46 - ], - [ - "2016-04-05", - 422.36 - ], - [ - "2016-04-04", - 419.47 - ], - [ - "2016-04-03", - 420.16 - ], - [ - "2017-11-13", - 6535.87 - ], - [ - "2017-11-12", - 5886.35 - ], - [ - "2017-11-11", - 6346.7 - ], - [ - "2017-11-10", - 6577.62 - ], - [ - "2017-11-09", - 7156 - ], - [ - "2017-11-08", - 7467.96 - ], - [ - "2017-11-07", - 7126.63 - ], - [ - "2017-11-06", - 6969.76 - ], - [ - "2017-11-05", - 7392 - ], - [ - "2017-11-04", - 7412.55 - ], - [ - "2017-11-03", - 7170.01 - ], - [ - "2017-11-02", - 7039.98 - ], - [ - "2017-11-01", - 6783.69 - ], - [ - "2017-10-31", - 6445.01 - ], - [ - "2017-10-30", - 6124.16 - ], - [ - "2017-10-29", - 6140.01 - ], - [ - "2017-10-28", - 5752.01 - ], - [ - "2017-10-27", - 5780 - ], - [ - "2017-10-26", - 5891.61 - ], - [ - "2017-10-25", - 5739.97 - ], - [ - "2017-10-24", - 5525.43 - ], - [ - "2017-10-23", - 5905.99 - ], - [ - "2017-10-22", - 6005.05 - ], - [ - "2017-10-21", - 6024.86 - ], - [ - "2017-10-20", - 5989.1 - ], - [ - "2017-10-19", - 5704.01 - ], - [ - "2017-10-18", - 5574.44 - ], - [ - "2017-10-17", - 5594 - ], - [ - "2017-10-16", - 5754.9 - ], - [ - "2017-10-15", - 5693.7 - ], - [ - "2017-10-14", - 5819.13 - ], - [ - "2017-10-13", - 5624.8 - ], - [ - "2017-10-12", - 5440 - ], - [ - "2017-10-11", - 4814.99 - ], - [ - "2017-10-10", - 4750 - ], - [ - "2017-10-09", - 4769.55 - ], - [ - "2017-10-08", - 4603.49 - ], - [ - "2017-10-07", - 4425 - ], - [ - "2017-10-06", - 4362.99 - ], - [ - "2017-10-05", - 4320.04 - ], - [ - "2017-10-04", - 4214.84 - ], - [ - "2017-10-03", - 4307.99 - ], - [ - "2017-10-02", - 4392.71 - ], - [ - "2017-10-01", - 4394.81 - ], - [ - "2017-09-30", - 4339 - ], - [ - "2017-09-29", - 4156.99 - ], - [ - "2017-09-28", - 4189.42 - ], - [ - "2017-09-27", - 4200 - ], - [ - "2017-09-26", - 3885.09 - ], - [ - "2017-09-25", - 3919.78 - ], - [ - "2017-09-24", - 3669.01 - ], - [ - "2017-09-23", - 3787.33 - ], - [ - "2017-09-22", - 3619.01 - ], - [ - "2017-09-21", - 3617.47 - ], - [ - "2017-09-20", - 3872.06 - ], - [ - "2017-09-19", - 3910.11 - ], - [ - "2017-09-18", - 4100 - ], - [ - "2017-09-17", - 3719.97 - ], - [ - "2017-09-16", - 3726.51 - ], - [ - "2017-09-15", - 3740.02 - ], - [ - "2017-09-14", - 3250.4 - ], - [ - "2017-09-13", - 3855.32 - ], - [ - "2017-09-12", - 4164.52 - ], - [ - "2017-09-11", - 4210.72 - ], - [ - "2017-09-10", - 4251.36 - ], - [ - "2017-09-09", - 4334.36 - ], - [ - "2017-09-08", - 4350 - ], - [ - "2017-09-07", - 4624.18 - ], - [ - "2017-09-06", - 4616.18 - ], - [ - "2017-09-05", - 4432.51 - ], - [ - "2017-09-04", - 4498.25 - ], - [ - "2017-09-03", - 4626.05 - ], - [ - "2017-09-02", - 4649.99 - ], - [ - "2017-09-01", - 4947.99 - ], - [ - "2017-08-31", - 4743.94 - ], - [ - "2017-08-30", - 4581.98 - ], - [ - "2017-08-29", - 4599 - ], - [ - "2017-08-28", - 4384.99 - ], - [ - "2017-08-27", - 4340.11 - ], - [ - "2017-08-26", - 4344.32 - ], - [ - "2017-08-25", - 4360 - ], - [ - "2017-08-24", - 4312.03 - ], - [ - "2017-08-23", - 4143.49 - ], - [ - "2017-08-22", - 4092 - ], - [ - "2017-08-21", - 4002 - ], - [ - "2017-08-20", - 4050.99 - ], - [ - "2017-08-19", - 4157.41 - ], - [ - "2017-08-18", - 4101.72 - ], - [ - "2017-08-17", - 4280.01 - ], - [ - "2017-08-16", - 4370.01 - ], - [ - "2017-08-15", - 4159.93 - ], - [ - "2017-08-14", - 4320.6 - ], - [ - "2017-08-13", - 4060.47 - ], - [ - "2017-08-12", - 3874 - ], - [ - "2017-08-11", - 3656.15 - ], - [ - "2017-08-10", - 3444.98 - ], - [ - "2017-08-09", - 3342.8 - ], - [ - "2017-08-08", - 3422.43 - ], - [ - "2017-08-07", - 3398.23 - ], - [ - "2017-08-06", - 3222.22 - ], - [ - "2017-08-05", - 3243.49 - ], - [ - "2017-08-04", - 2857.34 - ], - [ - "2017-08-03", - 2787.02 - ], - [ - "2017-08-02", - 2699.9 - ], - [ - "2017-08-01", - 2732.59 - ], - [ - "2017-07-31", - 2856.88 - ], - [ - "2017-07-30", - 2723.99 - ], - [ - "2017-07-29", - 2700.21 - ], - [ - "2017-07-28", - 2786.07 - ], - [ - "2017-07-27", - 2664.99 - ], - [ - "2017-07-26", - 2525.99 - ], - [ - "2017-07-25", - 2564 - ], - [ - "2017-07-24", - 2762.26 - ], - [ - "2017-07-23", - 2754.28 - ], - [ - "2017-07-22", - 2825.27 - ], - [ - "2017-07-21", - 2657.45 - ], - [ - "2017-07-20", - 2873.48 - ], - [ - "2017-07-19", - 2258.99 - ], - [ - "2017-07-18", - 2308.15 - ], - [ - "2017-07-17", - 2235.19 - ], - [ - "2017-07-16", - 1911.78 - ], - [ - "2017-07-15", - 1964.31 - ], - [ - "2017-07-14", - 2217.24 - ], - [ - "2017-07-13", - 2340 - ], - [ - "2017-07-12", - 2383.42 - ], - [ - "2017-07-11", - 2310.01 - ], - [ - "2017-07-10", - 2331.05 - ], - [ - "2017-07-09", - 2508.99 - ], - [ - "2017-07-08", - 2561.11 - ], - [ - "2017-07-07", - 2501.15 - ], - [ - "2017-07-06", - 2604.84 - ], - [ - "2017-07-05", - 2616.96 - ], - [ - "2017-07-04", - 2602 - ], - [ - "2017-07-03", - 2542.41 - ], - [ - "2017-07-02", - 2516.66 - ], - [ - "2017-07-01", - 2423.63 - ], - [ - "2017-06-30", - 2455.19 - ], - [ - "2017-06-29", - 2530 - ], - [ - "2017-06-28", - 2553.12 - ], - [ - "2017-06-27", - 2575.75 - ], - [ - "2017-06-26", - 2407.91 - ], - [ - "2017-06-25", - 2505.61 - ], - [ - "2017-06-24", - 2574.84 - ], - [ - "2017-06-23", - 2690.76 - ], - [ - "2017-06-22", - 2679.99 - ], - [ - "2017-06-21", - 2643.35 - ], - [ - "2017-06-20", - 2725.08 - ], - [ - "2017-06-19", - 2596.98 - ], - [ - "2017-06-18", - 2515.25 - ], - [ - "2017-06-17", - 2634.94 - ], - [ - "2017-06-16", - 2480.43 - ], - [ - "2017-06-15", - 2409.98 - ], - [ - "2017-06-14", - 2432.21 - ], - [ - "2017-06-13", - 2709.01 - ], - [ - "2017-06-12", - 2655.71 - ], - [ - "2017-06-11", - 2998.98 - ], - [ - "2017-06-10", - 2931.15 - ], - [ - "2017-06-09", - 2811.39 - ], - [ - "2017-06-08", - 2799.73 - ], - [ - "2017-06-07", - 2685.64 - ], - [ - "2017-06-06", - 2871.29 - ], - [ - "2017-06-05", - 2698 - ], - [ - "2017-06-04", - 2521.36 - ], - [ - "2017-06-03", - 2548.05 - ], - [ - "2017-06-02", - 2478.99 - ], - [ - "2017-06-01", - 2419.99 - ], - [ - "2017-05-31", - 2303.29 - ], - [ - "2017-05-30", - 2191.58 - ], - [ - "2017-05-29", - 2279.48 - ], - [ - "2017-05-28", - 2232.78 - ], - [ - "2017-05-27", - 2099.99 - ], - [ - "2017-05-26", - 2272.7 - ], - [ - "2017-05-25", - 2355 - ], - [ - "2017-05-24", - 2432.97 - ], - [ - "2017-05-23", - 2272.75 - ], - [ - "2017-05-22", - 2123.29 - ], - [ - "2017-05-21", - 2057 - ], - [ - "2017-05-20", - 2058.91 - ], - [ - "2017-05-19", - 1976.23 - ], - [ - "2017-05-18", - 1899.16 - ], - [ - "2017-05-17", - 1813.23 - ], - [ - "2017-05-16", - 1777.48 - ], - [ - "2017-05-15", - 1747.81 - ], - [ - "2017-05-14", - 1799.99 - ], - [ - "2017-05-13", - 1792.73 - ], - [ - "2017-05-12", - 1695.61 - ], - [ - "2017-05-11", - 1837.93 - ], - [ - "2017-05-10", - 1794.99 - ], - [ - "2017-05-09", - 1720.43 - ], - [ - "2017-05-08", - 1713 - ], - [ - "2017-05-07", - 1609.57 - ], - [ - "2017-05-06", - 1585.39 - ], - [ - "2017-05-05", - 1551.3 - ], - [ - "2017-05-04", - 1563.39 - ], - [ - "2017-05-03", - 1533 - ], - [ - "2017-05-02", - 1471.99 - ], - [ - "2017-05-01", - 1436.5 - ], - [ - "2017-04-30", - 1384.55 - ], - [ - "2017-04-29", - 1365.43 - ], - [ - "2017-04-28", - 1353.34 - ], - [ - "2017-04-27", - 1349.26 - ], - [ - "2017-04-26", - 1298.44 - ], - [ - "2017-04-25", - 1281.16 - ], - [ - "2017-04-24", - 1257.29 - ], - [ - "2017-04-23", - 1251.98 - ], - [ - "2017-04-22", - 1247 - ], - [ - "2017-04-21", - 1249.99 - ], - [ - "2017-04-20", - 1236.15 - ], - [ - "2017-04-19", - 1214.21 - ], - [ - "2017-04-18", - 1201.94 - ], - [ - "2017-04-17", - 1189.91 - ], - [ - "2017-04-16", - 1177.99 - ], - [ - "2017-04-15", - 1178.85 - ], - [ - "2017-04-14", - 1173.74 - ], - [ - "2017-04-13", - 1177.05 - ], - [ - "2017-04-12", - 1214.17 - ], - [ - "2017-04-11", - 1223.99 - ], - [ - "2017-04-10", - 1210 - ], - [ - "2017-04-09", - 1210.97 - ], - [ - "2017-04-08", - 1184.5 - ], - [ - "2017-04-07", - 1194 - ], - [ - "2017-04-06", - 1192.3 - ], - [ - "2017-04-05", - 1132.99 - ], - [ - "2017-04-04", - 1143.99 - ], - [ - "2017-04-03", - 1152.6 - ], - [ - "2017-04-02", - 1113.99 - ], - [ - "2017-04-01", - 1092 - ], - [ - "2017-03-31", - 1088.99 - ], - [ - "2017-03-30", - 1042.34 - ], - [ - "2017-03-29", - 1043.27 - ], - [ - "2017-03-28", - 1045.4 - ], - [ - "2017-03-27", - 1042.08 - ], - [ - "2017-03-26", - 973.08 - ], - [ - "2017-03-25", - 963.72 - ], - [ - "2017-03-24", - 934.87 - ], - [ - "2017-03-23", - 1025.14 - ], - [ - "2017-03-22", - 1034.57 - ], - [ - "2017-03-21", - 1114.42 - ], - [ - "2017-03-20", - 1044.96 - ], - [ - "2017-03-19", - 1019.49 - ], - [ - "2017-03-18", - 970 - ], - [ - "2017-03-17", - 1069.57 - ], - [ - "2017-03-16", - 1175.11 - ], - [ - "2017-03-15", - 1263 - ], - [ - "2017-03-14", - 1247.42 - ], - [ - "2017-03-13", - 1245.49 - ], - [ - "2017-03-12", - 1235.58 - ], - [ - "2017-03-11", - 1188.11 - ], - [ - "2017-03-10", - 1109.01 - ], - [ - "2017-03-09", - 1197.3 - ], - [ - "2017-03-08", - 1150.22 - ], - [ - "2017-03-07", - 1237.36 - ], - [ - "2017-03-06", - 1284.99 - ], - [ - "2017-03-05", - 1278.98 - ], - [ - "2017-03-04", - 1273.97 - ], - [ - "2017-03-03", - 1292.86 - ], - [ - "2017-03-02", - 1269.17 - ], - [ - "2017-03-01", - 1230 - ], - [ - "2017-02-28", - 1195.08 - ], - [ - "2017-02-27", - 1195.81 - ], - [ - "2017-02-26", - 1184.91 - ], - [ - "2017-02-25", - 1158 - ], - [ - "2017-02-24", - 1186.91 - ], - [ - "2017-02-23", - 1186.9 - ], - [ - "2017-02-22", - 1128.71 - ], - [ - "2017-02-21", - 1128.29 - ], - [ - "2017-02-20", - 1089.82 - ], - [ - "2017-02-19", - 1059.88 - ], - [ - "2017-02-18", - 1062.15 - ], - [ - "2017-02-17", - 1057.3 - ], - [ - "2017-02-16", - 1038.94 - ], - [ - "2017-02-15", - 1014.53 - ], - [ - "2017-02-14", - 1013.92 - ], - [ - "2017-02-13", - 1002.82 - ], - [ - "2017-02-12", - 1010 - ], - [ - "2017-02-11", - 1018.65 - ], - [ - "2017-02-10", - 1001.99 - ], - [ - "2017-02-09", - 994.24 - ], - [ - "2017-02-08", - 1056.7 - ], - [ - "2017-02-07", - 1053.96 - ], - [ - "2017-02-06", - 1022.58 - ], - [ - "2017-02-05", - 1016.32 - ], - [ - "2017-02-04", - 1035.54 - ], - [ - "2017-02-03", - 1018 - ], - [ - "2017-02-02", - 1008.38 - ], - [ - "2017-02-01", - 992.75 - ], - [ - "2017-01-31", - 970.01 - ], - [ - "2017-01-30", - 923.23 - ], - [ - "2017-01-29", - 916.54 - ], - [ - "2017-01-28", - 924.98 - ], - [ - "2017-01-27", - 922.63 - ], - [ - "2017-01-26", - 917.02 - ], - [ - "2017-01-25", - 896 - ], - [ - "2017-01-24", - 887 - ], - [ - "2017-01-23", - 910.7 - ], - [ - "2018-09-04", - 7360 - ], - [ - "2018-09-03", - 7256.98 - ], - [ - "2018-09-02", - 7295 - ], - [ - "2018-09-01", - 7191.08 - ], - [ - "2018-08-31", - 7015.01 - ], - [ - "2018-08-30", - 6983 - ], - [ - "2018-08-29", - 7030.9 - ], - [ - "2018-08-28", - 7071.01 - ], - [ - "2018-08-27", - 6911.9 - ], - [ - "2018-08-26", - 6709.98 - ], - [ - "2018-08-25", - 6737.52 - ], - [ - "2018-08-24", - 6690.88 - ], - [ - "2018-08-23", - 6526.36 - ], - [ - "2018-08-22", - 6359.99 - ], - [ - "2018-08-21", - 6475.89 - ], - [ - "2018-08-20", - 6258.74 - ], - [ - "2018-08-19", - 6489.53 - ], - [ - "2018-08-18", - 6396.64 - ], - [ - "2018-08-17", - 6585.49 - ], - [ - "2018-08-16", - 6315.9 - ], - [ - "2018-08-15", - 6269.01 - ], - [ - "2018-08-14", - 6195.01 - ], - [ - "2018-08-13", - 6253.67 - ], - [ - "2018-08-12", - 6316.01 - ], - [ - "2018-08-11", - 6235.56 - ], - [ - "2018-08-10", - 6146.01 - ], - [ - "2018-08-09", - 6546.45 - ], - [ - "2018-08-08", - 6282.5 - ], - [ - "2018-08-07", - 6718.22 - ], - [ - "2018-08-06", - 6938 - ], - [ - "2018-08-05", - 7030.01 - ], - [ - "2018-08-04", - 7005 - ], - [ - "2018-08-03", - 7414.08 - ], - [ - "2018-08-02", - 7533.92 - ], - [ - "2018-08-01", - 7603.99 - ], - [ - "2018-07-31", - 7727.27 - ], - [ - "2018-07-30", - 8170.01 - ], - [ - "2018-07-29", - 8216.34 - ], - [ - "2018-07-28", - 8228.9 - ], - [ - "2018-07-27", - 8184.21 - ], - [ - "2018-07-26", - 7931.99 - ], - [ - "2018-07-25", - 8157.15 - ], - [ - "2018-07-24", - 8385.5 - ], - [ - "2018-07-23", - 7720.09 - ], - [ - "2018-07-22", - 7397.8 - ], - [ - "2018-07-21", - 7408 - ], - [ - "2018-07-20", - 7334.46 - ], - [ - "2018-07-19", - 7470.01 - ], - [ - "2018-07-18", - 7378.99 - ], - [ - "2018-07-17", - 7315.01 - ], - [ - "2018-07-16", - 6728.81 - ], - [ - "2018-07-15", - 6348.73 - ], - [ - "2018-07-14", - 6248.65 - ], - [ - "2018-07-13", - 6216.29 - ], - [ - "2018-07-12", - 6249.75 - ], - [ - "2018-07-11", - 6390.04 - ], - [ - "2018-07-10", - 6303.7 - ], - [ - "2018-07-09", - 6664.01 - ], - [ - "2018-07-08", - 6701.97 - ], - [ - "2018-07-07", - 6753.28 - ], - [ - "2018-07-06", - 6600 - ], - [ - "2018-07-05", - 6532.95 - ], - [ - "2018-07-04", - 6587.47 - ], - [ - "2018-07-03", - 6502.62 - ], - [ - "2018-07-02", - 6611.79 - ], - [ - "2018-07-01", - 6349.5 - ], - [ - "2018-06-30", - 6383.19 - ], - [ - "2018-06-29", - 6202.36 - ], - [ - "2018-06-28", - 5851.66 - ], - [ - "2018-06-27", - 6132.17 - ], - [ - "2018-06-26", - 6074 - ], - [ - "2018-06-25", - 6246.01 - ], - [ - "2018-06-24", - 6149.99 - ], - [ - "2018-06-23", - 6178.29 - ], - [ - "2018-06-22", - 6059.82 - ], - [ - "2018-06-21", - 6719.01 - ], - [ - "2018-06-20", - 6759.18 - ], - [ - "2018-06-19", - 6736.41 - ], - [ - "2018-06-18", - 6709.02 - ], - [ - "2018-06-17", - 6447.16 - ], - [ - "2018-06-16", - 6484.29 - ], - [ - "2018-06-15", - 6391.22 - ], - [ - "2018-06-14", - 6638.49 - ], - [ - "2018-06-13", - 6302.31 - ], - [ - "2018-06-12", - 6545 - ], - [ - "2018-06-11", - 6881 - ], - [ - "2018-06-10", - 6770.31 - ], - [ - "2018-06-09", - 7496.4 - ], - [ - "2018-06-08", - 7618.8 - ], - [ - "2018-06-07", - 7684.93 - ], - [ - "2018-06-06", - 7655 - ], - [ - "2018-06-05", - 7612.51 - ], - [ - "2018-06-04", - 7487.37 - ], - [ - "2018-06-03", - 7706.37 - ], - [ - "2018-06-02", - 7636.42 - ], - [ - "2018-06-01", - 7514.32 - ], - [ - "2018-05-31", - 7485 - ], - [ - "2018-05-30", - 7380.01 - ], - [ - "2018-05-29", - 7460 - ], - [ - "2018-05-28", - 7107.94 - ], - [ - "2018-05-27", - 7346.64 - ], - [ - "2018-05-26", - 7337.95 - ], - [ - "2018-05-25", - 7459.11 - ], - [ - "2018-05-24", - 7584.15 - ], - [ - "2018-05-23", - 7505 - ], - [ - "2018-05-22", - 7987.7 - ], - [ - "2018-05-21", - 8393.44 - ], - [ - "2018-05-20", - 8516.86 - ], - [ - "2018-05-19", - 8235.6 - ], - [ - "2018-05-18", - 8238.51 - ], - [ - "2018-05-17", - 8059 - ], - [ - "2018-05-16", - 8344 - ], - [ - "2018-05-15", - 8477.46 - ], - [ - "2018-05-14", - 8670 - ], - [ - "2018-05-13", - 8686.1 - ], - [ - "2018-05-12", - 8475 - ], - [ - "2018-05-11", - 8403.33 - ], - [ - "2018-05-10", - 9010.51 - ], - [ - "2018-05-09", - 9300.08 - ], - [ - "2018-05-08", - 9177.82 - ], - [ - "2018-05-07", - 9353 - ], - [ - "2018-05-06", - 9600 - ], - [ - "2018-05-05", - 9800 - ], - [ - "2018-05-04", - 9685 - ], - [ - "2018-05-03", - 9725.74 - ], - [ - "2018-05-02", - 9190.48 - ], - [ - "2018-05-01", - 9072.29 - ], - [ - "2018-04-30", - 9243.83 - ], - [ - "2018-04-29", - 9389.01 - ], - [ - "2018-04-28", - 9329.99 - ], - [ - "2018-04-27", - 8922.55 - ], - [ - "2018-04-26", - 9272.11 - ], - [ - "2018-04-25", - 8865.98 - ], - [ - "2018-04-24", - 9645.1 - ], - [ - "2018-04-23", - 8931.3 - ], - [ - "2018-04-22", - 8795.01 - ], - [ - "2018-04-21", - 8915.42 - ], - [ - "2018-04-20", - 8866.27 - ], - [ - "2018-04-19", - 8274 - ], - [ - "2018-04-18", - 8152.05 - ], - [ - "2018-04-17", - 7892.1 - ], - [ - "2018-04-16", - 8048.93 - ], - [ - "2018-04-15", - 8355.25 - ], - [ - "2018-04-14", - 8003.11 - ], - [ - "2018-04-13", - 7893.19 - ], - [ - "2018-04-12", - 7916 - ], - [ - "2018-04-11", - 6942.99 - ], - [ - "2018-04-10", - 6824.99 - ], - [ - "2018-04-09", - 6771.13 - ], - [ - "2018-04-08", - 7020.01 - ], - [ - "2018-04-07", - 6894.01 - ], - [ - "2018-04-06", - 6619.01 - ], - [ - "2018-04-05", - 6785.85 - ], - [ - "2018-04-04", - 6791.68 - ], - [ - "2018-04-03", - 7424.9 - ], - [ - "2018-04-02", - 7045.01 - ], - [ - "2018-04-01", - 6816.01 - ], - [ - "2018-03-31", - 6928.5 - ], - [ - "2018-03-30", - 6848.01 - ], - [ - "2018-03-29", - 7080 - ], - [ - "2018-03-28", - 7942.72 - ], - [ - "2018-03-27", - 7793.61 - ], - [ - "2018-03-26", - 8145 - ], - [ - "2018-03-25", - 8453 - ], - [ - "2018-03-24", - 8531.34 - ], - [ - "2018-03-23", - 8927.1 - ], - [ - "2018-03-22", - 8715.09 - ], - [ - "2018-03-21", - 8891.81 - ], - [ - "2018-03-20", - 8900 - ], - [ - "2018-03-19", - 8589 - ], - [ - "2018-03-18", - 8192 - ], - [ - "2018-03-17", - 7857.6 - ], - [ - "2018-03-16", - 8275 - ], - [ - "2018-03-15", - 8259.99 - ], - [ - "2018-03-14", - 8207.02 - ], - [ - "2018-03-13", - 9145.41 - ], - [ - "2018-03-12", - 9120 - ], - [ - "2018-03-11", - 9533.88 - ], - [ - "2018-03-10", - 8795.44 - ], - [ - "2018-03-09", - 9255 - ], - [ - "2018-03-08", - 9304.89 - ], - [ - "2018-03-07", - 9925 - ], - [ - "2018-03-06", - 10700 - ], - [ - "2018-03-05", - 11377.54 - ], - [ - "2018-03-04", - 11469.9 - ], - [ - "2018-03-03", - 11432.5 - ], - [ - "2018-03-02", - 11000 - ], - [ - "2018-03-01", - 10895.92 - ], - [ - "2018-02-28", - 10307.27 - ], - [ - "2018-02-27", - 10566.57 - ], - [ - "2018-02-26", - 10300 - ], - [ - "2018-02-25", - 9597.99 - ], - [ - "2018-02-24", - 9688.62 - ], - [ - "2018-02-23", - 10144.99 - ], - [ - "2018-02-22", - 9830 - ], - [ - "2018-02-21", - 10454.27 - ], - [ - "2018-02-20", - 11235.57 - ], - [ - "2018-02-19", - 11140 - ], - [ - "2018-02-18", - 10380.04 - ], - [ - "2018-02-17", - 11121.5 - ], - [ - "2018-02-16", - 10167.49 - ], - [ - "2018-02-15", - 10031.23 - ], - [ - "2018-02-14", - 9472.98 - ], - [ - "2018-02-13", - 8520.01 - ], - [ - "2018-02-12", - 8872.28 - ], - [ - "2018-02-11", - 8072.99 - ], - [ - "2018-02-10", - 8547.49 - ], - [ - "2018-02-09", - 8671.01 - ], - [ - "2018-02-08", - 8218.1 - ], - [ - "2018-02-07", - 7575.75 - ], - [ - "2018-02-06", - 7688.46 - ], - [ - "2018-02-05", - 6905.19 - ], - [ - "2018-02-04", - 8167.91 - ], - [ - "2018-02-03", - 9240 - ], - [ - "2018-02-02", - 8787.52 - ], - [ - "2018-02-01", - 9014.23 - ], - [ - "2018-01-31", - 10099.99 - ], - [ - "2018-01-30", - 9995 - ], - [ - "2018-01-29", - 11123.01 - ], - [ - "2018-01-28", - 11536 - ], - [ - "2018-01-27", - 11319 - ], - [ - "2018-01-26", - 11086.89 - ], - [ - "2018-01-25", - 11118 - ], - [ - "2018-01-24", - 11356.79 - ], - [ - "2018-01-23", - 10824.94 - ], - [ - "2018-01-22", - 10766.7 - ], - [ - "2018-01-21", - 11518.17 - ], - [ - "2018-01-20", - 12762.8 - ], - [ - "2018-01-19", - 11498.99 - ], - [ - "2018-01-18", - 11305.53 - ], - [ - "2018-01-17", - 11200.01 - ], - [ - "2018-01-16", - 11570.01 - ], - [ - "2018-01-15", - 13590 - ], - [ - "2018-01-14", - 13656.23 - ], - [ - "2018-01-13", - 14187.95 - ], - [ - "2018-01-12", - 13820 - ], - [ - "2018-01-11", - 13308.06 - ], - [ - "2018-01-10", - 14875.18 - ], - [ - "2018-01-09", - 14480.99 - ], - [ - "2018-01-08", - 14993.74 - ], - [ - "2018-01-07", - 16174.22 - ], - [ - "2018-01-06", - 17098.99 - ], - [ - "2018-01-05", - 16960.01 - ], - [ - "2018-01-04", - 15144.99 - ], - [ - "2018-01-03", - 15098.14 - ], - [ - "2018-01-02", - 14781.51 - ], - [ - "2018-01-01", - 13480.01 - ], - [ - "2017-12-31", - 13863.13 - ], - [ - "2017-12-30", - 12839.99 - ], - [ - "2017-12-29", - 14565.05 - ], - [ - "2017-12-28", - 14450.01 - ], - [ - "2017-12-27", - 15367.08 - ], - [ - "2017-12-26", - 15790.88 - ], - [ - "2017-12-25", - 14171.98 - ], - [ - "2017-12-24", - 14221.94 - ], - [ - "2017-12-23", - 15075.89 - ], - [ - "2017-12-22", - 14210.57 - ], - [ - "2017-12-21", - 15758.8 - ], - [ - "2017-12-20", - 16496.89 - ], - [ - "2017-12-19", - 17838.73 - ], - [ - "2017-12-18", - 19039.01 - ], - [ - "2017-12-17", - 19378.99 - ], - [ - "2017-12-16", - 19650.01 - ], - [ - "2017-12-15", - 17738.67 - ], - [ - "2017-12-14", - 16749.78 - ], - [ - "2017-12-13", - 16689.61 - ], - [ - "2017-12-12", - 17730.12 - ], - [ - "2017-12-11", - 16885.76 - ], - [ - "2017-12-10", - 15290.01 - ], - [ - "2017-12-09", - 15309.98 - ], - [ - "2017-12-08", - 16367.03 - ], - [ - "2017-12-07", - 17390.01 - ], - [ - "2017-12-06", - 14090 - ], - [ - "2017-12-05", - 11718.35 - ], - [ - "2017-12-04", - 11643.98 - ], - [ - "2017-12-03", - 11290 - ], - [ - "2017-12-02", - 10930.24 - ], - [ - "2017-12-01", - 10869.84 - ], - [ - "2017-11-30", - 9903 - ], - [ - "2017-11-29", - 9935.98 - ], - [ - "2017-11-28", - 9949 - ], - [ - "2017-11-27", - 9768.71 - ], - [ - "2017-11-26", - 9401.11 - ], - [ - "2017-11-25", - 8795.5 - ], - [ - "2017-11-24", - 8215.01 - ], - [ - "2017-11-23", - 8031.16 - ], - [ - "2017-11-22", - 8250 - ], - [ - "2017-11-21", - 8109 - ], - [ - "2017-11-20", - 8256.01 - ], - [ - "2017-11-19", - 8031.82 - ], - [ - "2017-11-18", - 7777.01 - ], - [ - "2017-11-17", - 7714.71 - ], - [ - "2017-11-16", - 7838.53 - ], - [ - "2017-11-15", - 7294 - ], - [ - "2017-11-14", - 6605 - ], - [ - "2019-06-26", - 12927.44 - ], - [ - "2019-06-25", - 11755.53 - ], - [ - "2019-06-24", - 11032.32 - ], - [ - "2019-06-23", - 10833.02 - ], - [ - "2019-06-22", - 10666.86 - ], - [ - "2019-06-21", - 10236.2 - ], - [ - "2019-06-20", - 9531.21 - ], - [ - "2019-06-19", - 9277.54 - ], - [ - "2019-06-18", - 9078.48 - ], - [ - "2019-06-17", - 9333.14 - ], - [ - "2019-06-16", - 8975 - ], - [ - "2019-06-15", - 8860.23 - ], - [ - "2019-06-14", - 8697.46 - ], - [ - "2019-06-13", - 8239.04 - ], - [ - "2019-06-12", - 8176.02 - ], - [ - "2019-06-11", - 7918.17 - ], - [ - "2019-06-10", - 8015.69 - ], - [ - "2019-06-09", - 7634.58 - ], - [ - "2019-06-08", - 7930.14 - ], - [ - "2019-06-07", - 7998.13 - ], - [ - "2019-06-06", - 7805 - ], - [ - "2019-06-05", - 7789.48 - ], - [ - "2019-06-04", - 7670.96 - ], - [ - "2019-06-03", - 8107.96 - ], - [ - "2019-06-02", - 8736.55 - ], - [ - "2019-06-01", - 8558.95 - ], - [ - "2019-05-31", - 8554.06 - ], - [ - "2019-05-30", - 8279.69 - ], - [ - "2019-05-29", - 8662.44 - ], - [ - "2019-05-28", - 8715.36 - ], - [ - "2019-05-27", - 8772.29 - ], - [ - "2019-05-26", - 8731.72 - ], - [ - "2019-05-25", - 8063.81 - ], - [ - "2019-05-24", - 8001.7 - ], - [ - "2019-05-23", - 7881.98 - ], - [ - "2019-05-22", - 7626.48 - ], - [ - "2019-05-21", - 7951.7 - ], - [ - "2019-05-20", - 7999.54 - ], - [ - "2019-05-19", - 8200 - ], - [ - "2019-05-18", - 7262.4 - ], - [ - "2019-05-17", - 7363.69 - ], - [ - "2019-05-16", - 7878.96 - ], - [ - "2019-05-15", - 8203.32 - ], - [ - "2019-05-14", - 7990.92 - ], - [ - "2019-05-13", - 7824.93 - ], - [ - "2019-05-12", - 6979.76 - ], - [ - "2019-05-11", - 7219.95 - ], - [ - "2019-05-10", - 6343.14 - ], - [ - "2019-05-09", - 6153.09 - ], - [ - "2019-05-08", - 5948.41 - ], - [ - "2019-05-07", - 5748.45 - ], - [ - "2019-05-06", - 5687.9 - ], - [ - "2019-05-05", - 5715.86 - ], - [ - "2019-05-04", - 5770.01 - ], - [ - "2019-05-03", - 5657.4 - ], - [ - "2019-05-02", - 5390.01 - ], - [ - "2019-05-01", - 5321.15 - ], - [ - "2019-04-30", - 5270.69 - ], - [ - "2019-04-29", - 5148.25 - ], - [ - "2019-04-28", - 5155 - ], - [ - "2019-04-27", - 5170.6 - ], - [ - "2019-04-26", - 5159.51 - ], - [ - "2019-04-25", - 5134.81 - ], - [ - "2019-04-24", - 5441.9 - ], - [ - "2019-04-23", - 5532.75 - ], - [ - "2019-04-22", - 5387.6 - ], - [ - "2019-04-21", - 5297.64 - ], - [ - "2019-04-20", - 5319.89 - ], - [ - "2019-04-19", - 5290.36 - ], - [ - "2019-04-18", - 5281.81 - ], - [ - "2019-04-17", - 5227 - ], - [ - "2019-04-16", - 5202.9 - ], - [ - "2019-04-15", - 5029.99 - ], - [ - "2019-04-14", - 5164.27 - ], - [ - "2019-04-13", - 5066.22 - ], - [ - "2019-04-12", - 5078.19 - ], - [ - "2019-04-11", - 5041.3 - ], - [ - "2019-04-10", - 5318.58 - ], - [ - "2019-04-09", - 5187.21 - ], - [ - "2019-04-08", - 5285.54 - ], - [ - "2019-04-07", - 5194.79 - ], - [ - "2019-04-06", - 5049.22 - ], - [ - "2019-04-05", - 5040.66 - ], - [ - "2019-04-04", - 4906.49 - ], - [ - "2019-04-03", - 4975.97 - ], - [ - "2019-04-02", - 4901.93 - ], - [ - "2019-04-01", - 4137 - ], - [ - "2019-03-31", - 4094.99 - ], - [ - "2019-03-30", - 4094.14 - ], - [ - "2019-03-29", - 4091.01 - ], - [ - "2019-03-28", - 4011.17 - ], - [ - "2019-03-27", - 4026.53 - ], - [ - "2019-03-26", - 3921.45 - ], - [ - "2019-03-25", - 3907.53 - ], - [ - "2019-03-24", - 3969.52 - ], - [ - "2019-03-23", - 3983.43 - ], - [ - "2019-03-22", - 3983.78 - ], - [ - "2019-03-21", - 3972.76 - ], - [ - "2019-03-20", - 4031.85 - ], - [ - "2019-03-19", - 4000.85 - ], - [ - "2019-03-18", - 3970.5 - ], - [ - "2019-03-17", - 3967.01 - ], - [ - "2019-03-16", - 3990 - ], - [ - "2019-03-15", - 3902.8 - ], - [ - "2019-03-14", - 3853.95 - ], - [ - "2019-03-13", - 3851.02 - ], - [ - "2019-03-12", - 3860 - ], - [ - "2019-03-11", - 3849.68 - ], - [ - "2019-03-10", - 3900.92 - ], - [ - "2019-03-09", - 3917 - ], - [ - "2019-03-08", - 3843.12 - ], - [ - "2019-03-07", - 3857.05 - ], - [ - "2019-03-06", - 3851.89 - ], - [ - "2019-03-05", - 3844.59 - ], - [ - "2019-03-04", - 3700.72 - ], - [ - "2019-03-03", - 3786.93 - ], - [ - "2019-03-02", - 3809.7 - ], - [ - "2019-03-01", - 3806.17 - ], - [ - "2019-02-28", - 3792.14 - ], - [ - "2019-02-27", - 3799.91 - ], - [ - "2019-02-26", - 3799.48 - ], - [ - "2019-02-25", - 3818.79 - ], - [ - "2019-02-24", - 3734.22 - ], - [ - "2019-02-23", - 4110 - ], - [ - "2019-02-22", - 3942.02 - ], - [ - "2019-02-21", - 3897.71 - ], - [ - "2019-02-20", - 3938.99 - ], - [ - "2019-02-19", - 3888.01 - ], - [ - "2019-02-18", - 3867 - ], - [ - "2019-02-17", - 3625.08 - ], - [ - "2019-02-16", - 3582.37 - ], - [ - "2019-02-15", - 3566.59 - ], - [ - "2019-02-14", - 3561.5 - ], - [ - "2019-02-13", - 3576.68 - ], - [ - "2019-02-12", - 3588.06 - ], - [ - "2019-02-11", - 3590.36 - ], - [ - "2019-02-10", - 3648.84 - ], - [ - "2019-02-09", - 3623.73 - ], - [ - "2019-02-08", - 3621.99 - ], - [ - "2019-02-07", - 3359 - ], - [ - "2019-02-06", - 3367.36 - ], - [ - "2019-02-05", - 3428.4 - ], - [ - "2019-02-04", - 3409.57 - ], - [ - "2019-02-03", - 3414.78 - ], - [ - "2019-02-02", - 3468.43 - ], - [ - "2019-02-01", - 3437.5 - ], - [ - "2019-01-31", - 3411.5 - ], - [ - "2019-01-30", - 3437.55 - ], - [ - "2019-01-29", - 3397.42 - ], - [ - "2019-01-28", - 3429.95 - ], - [ - "2019-01-27", - 3531.02 - ], - [ - "2019-01-26", - 3556.07 - ], - [ - "2019-01-25", - 3562.17 - ], - [ - "2019-01-24", - 3568.97 - ], - [ - "2019-01-23", - 3553.01 - ], - [ - "2019-01-22", - 3577.03 - ], - [ - "2019-01-21", - 3531.76 - ], - [ - "2019-01-20", - 3536.19 - ], - [ - "2019-01-19", - 3682.65 - ], - [ - "2019-01-18", - 3607.85 - ], - [ - "2019-01-17", - 3640.65 - ], - [ - "2019-01-16", - 3609.71 - ], - [ - "2019-01-15", - 3580.76 - ], - [ - "2019-01-14", - 3664.19 - ], - [ - "2019-01-13", - 3514.24 - ], - [ - "2019-01-12", - 3619.41 - ], - [ - "2019-01-11", - 3635.69 - ], - [ - "2019-01-10", - 3626.12 - ], - [ - "2019-01-09", - 4004.12 - ], - [ - "2019-01-08", - 3993.86 - ], - [ - "2019-01-07", - 4006.01 - ], - [ - "2019-01-06", - 4040.99 - ], - [ - "2019-01-05", - 3798.62 - ], - [ - "2019-01-04", - 3820.82 - ], - [ - "2019-01-03", - 3787.57 - ], - [ - "2019-01-02", - 3890.79 - ], - [ - "2019-01-01", - 3826.1 - ], - [ - "2018-12-31", - 3691.86 - ], - [ - "2018-12-30", - 3829 - ], - [ - "2018-12-29", - 3729.31 - ], - [ - "2018-12-28", - 3888.06 - ], - [ - "2018-12-27", - 3589.89 - ], - [ - "2018-12-26", - 3809.88 - ], - [ - "2018-12-25", - 3780 - ], - [ - "2018-12-24", - 4034 - ], - [ - "2018-12-23", - 3944.93 - ], - [ - "2018-12-22", - 3980.46 - ], - [ - "2018-12-21", - 3839.06 - ], - [ - "2018-12-20", - 4075.34 - ], - [ - "2018-12-19", - 3682.51 - ], - [ - "2018-12-18", - 3667.77 - ], - [ - "2018-12-17", - 3496.82 - ], - [ - "2018-12-16", - 3195 - ], - [ - "2018-12-15", - 3183 - ], - [ - "2018-12-14", - 3195.71 - ], - [ - "2018-12-13", - 3265 - ], - [ - "2018-12-12", - 3430.24 - ], - [ - "2018-12-11", - 3349.36 - ], - [ - "2018-12-10", - 3410.15 - ], - [ - "2018-12-09", - 3531.18 - ], - [ - "2018-12-08", - 3401 - ], - [ - "2018-12-07", - 3380.01 - ], - [ - "2018-12-06", - 3433.26 - ], - [ - "2018-12-05", - 3694.39 - ], - [ - "2018-12-04", - 3901.84 - ], - [ - "2018-12-03", - 3833.47 - ], - [ - "2018-12-02", - 4103.19 - ], - [ - "2018-12-01", - 4142.01 - ], - [ - "2018-11-30", - 3976 - ], - [ - "2018-11-29", - 4248 - ], - [ - "2018-11-28", - 4225.03 - ], - [ - "2018-11-27", - 3775 - ], - [ - "2018-11-26", - 3731.32 - ], - [ - "2018-11-25", - 3936.69 - ], - [ - "2018-11-24", - 3774.99 - ], - [ - "2018-11-23", - 4283.8 - ], - [ - "2018-11-22", - 4265.36 - ], - [ - "2018-11-21", - 4545.11 - ], - [ - "2018-11-20", - 4349.23 - ], - [ - "2018-11-19", - 4733.5 - ], - [ - "2018-11-18", - 5560 - ], - [ - "2018-11-17", - 5504.17 - ], - [ - "2018-11-16", - 5512.24 - ], - [ - "2018-11-15", - 5579.52 - ], - [ - "2018-11-14", - 5605.46 - ], - [ - "2018-11-13", - 6259.34 - ], - [ - "2018-11-12", - 6327.87 - ], - [ - "2018-11-11", - 6357.6 - ], - [ - "2018-11-10", - 6347.42 - ], - [ - "2018-11-09", - 6334.89 - ], - [ - "2018-11-08", - 6406.24 - ], - [ - "2018-11-07", - 6503.12 - ], - [ - "2018-11-06", - 6448.5 - ], - [ - "2018-11-05", - 6404 - ], - [ - "2018-11-04", - 6423.28 - ], - [ - "2018-11-03", - 6331.96 - ], - [ - "2018-11-02", - 6349.8 - ], - [ - "2018-11-01", - 6344 - ], - [ - "2018-10-31", - 6304.18 - ], - [ - "2018-10-30", - 6267.63 - ], - [ - "2018-10-29", - 6266 - ], - [ - "2018-10-28", - 6403.62 - ], - [ - "2018-10-27", - 6409.12 - ], - [ - "2018-10-26", - 6404.87 - ], - [ - "2018-10-25", - 6395.58 - ], - [ - "2018-10-24", - 6415.98 - ], - [ - "2018-10-23", - 6395.14 - ], - [ - "2018-10-22", - 6407.65 - ], - [ - "2018-10-21", - 6415.88 - ], - [ - "2018-10-20", - 6414 - ], - [ - "2018-10-19", - 6382.99 - ], - [ - "2018-10-18", - 6394.96 - ], - [ - "2018-10-17", - 6443.7 - ], - [ - "2018-10-16", - 6457.11 - ], - [ - "2018-10-15", - 6440.42 - ], - [ - "2018-10-14", - 6183.49 - ], - [ - "2018-10-13", - 6196 - ], - [ - "2018-10-12", - 6188.01 - ], - [ - "2018-10-11", - 6154.69 - ], - [ - "2018-10-10", - 6524.56 - ], - [ - "2018-10-09", - 6589.48 - ], - [ - "2018-10-08", - 6608.07 - ], - [ - "2018-10-07", - 6570 - ], - [ - "2018-10-06", - 6552.43 - ], - [ - "2018-10-05", - 6593.94 - ], - [ - "2018-10-04", - 6547.45 - ], - [ - "2018-10-03", - 6466.03 - ], - [ - "2018-10-02", - 6498.46 - ], - [ - "2018-10-01", - 6572.83 - ], - [ - "2018-09-30", - 6605 - ], - [ - "2018-09-29", - 6581 - ], - [ - "2018-09-28", - 6620.01 - ], - [ - "2018-09-27", - 6680.01 - ], - [ - "2018-09-26", - 6455.66 - ], - [ - "2018-09-25", - 6436.89 - ], - [ - "2018-09-24", - 6582.09 - ], - [ - "2018-09-23", - 6696.99 - ], - [ - "2018-09-22", - 6707.33 - ], - [ - "2018-09-21", - 6750 - ], - [ - "2018-09-20", - 6493.11 - ], - [ - "2018-09-19", - 6386.94 - ], - [ - "2018-09-18", - 6335.7 - ], - [ - "2018-09-17", - 6250.7 - ], - [ - "2018-09-16", - 6498 - ], - [ - "2018-09-15", - 6518.68 - ], - [ - "2018-09-14", - 6478.04 - ], - [ - "2018-09-13", - 6485.99 - ], - [ - "2018-09-12", - 6326 - ], - [ - "2018-09-11", - 6282.53 - ], - [ - "2018-09-10", - 6300 - ], - [ - "2018-09-09", - 6235.01 - ], - [ - "2018-09-08", - 6188 - ], - [ - "2018-09-07", - 6395.01 - ], - [ - "2018-09-06", - 6495 - ], - [ - "2018-09-05", - 6687.96 - ], - [ - "2020-04-16", - 7112.64 - ], - [ - "2020-04-15", - 6624.12 - ], - [ - "2020-04-14", - 6877.37 - ], - [ - "2020-04-13", - 6861.21 - ], - [ - "2020-04-12", - 6908.13 - ], - [ - "2020-04-11", - 6889.65 - ], - [ - "2020-04-10", - 6871.91 - ], - [ - "2020-04-09", - 7293.24 - ], - [ - "2020-04-08", - 7370.11 - ], - [ - "2020-04-07", - 7200.01 - ], - [ - "2020-04-06", - 7341.56 - ], - [ - "2020-04-05", - 6778.25 - ], - [ - "2020-04-04", - 6874.77 - ], - [ - "2020-04-03", - 6741.99 - ], - [ - "2020-04-02", - 6804.52 - ], - [ - "2020-04-01", - 6666.11 - ], - [ - "2020-03-31", - 6424.35 - ], - [ - "2020-03-30", - 6406.4 - ], - [ - "2020-03-29", - 5877.21 - ], - [ - "2020-03-28", - 6251.82 - ], - [ - "2020-03-27", - 6372.36 - ], - [ - "2020-03-26", - 6758.18 - ], - [ - "2020-03-25", - 6690.96 - ], - [ - "2020-03-24", - 6766.64 - ], - [ - "2020-03-23", - 6490.63 - ], - [ - "2020-03-22", - 5818.25 - ], - [ - "2020-03-21", - 6198.78 - ], - [ - "2020-03-20", - 6206.1 - ], - [ - "2020-03-19", - 6186.26 - ], - [ - "2020-03-18", - 5413.64 - ], - [ - "2020-03-17", - 5331.71 - ], - [ - "2020-03-16", - 5037.61 - ], - [ - "2020-03-15", - 5345.35 - ], - [ - "2020-03-14", - 5165.25 - ], - [ - "2020-03-13", - 5637.6 - ], - [ - "2020-03-12", - 4857.1 - ], - [ - "2020-03-11", - 7938.05 - ], - [ - "2020-03-10", - 7894.68 - ], - [ - "2020-03-09", - 7934.52 - ], - [ - "2020-03-08", - 8037.76 - ], - [ - "2020-03-07", - 8901.37 - ], - [ - "2020-03-06", - 9158.51 - ], - [ - "2020-03-05", - 9070.17 - ], - [ - "2020-03-04", - 8760.66 - ], - [ - "2020-03-03", - 8757.84 - ], - [ - "2020-03-02", - 8915 - ], - [ - "2020-03-01", - 8522.31 - ], - [ - "2020-02-29", - 8525.07 - ], - [ - "2020-02-28", - 8708.89 - ], - [ - "2020-02-27", - 8812.49 - ], - [ - "2020-02-26", - 8778.3 - ], - [ - "2020-02-25", - 9305 - ], - [ - "2020-02-24", - 9660 - ], - [ - "2020-02-23", - 9965.01 - ], - [ - "2020-02-22", - 9668.23 - ], - [ - "2020-02-21", - 9695.66 - ], - [ - "2020-02-20", - 9610.05 - ], - [ - "2020-02-19", - 9600.08 - ], - [ - "2020-02-18", - 10188.04 - ], - [ - "2020-02-17", - 9700 - ], - [ - "2020-02-16", - 9921 - ], - [ - "2020-02-15", - 9911.22 - ], - [ - "2020-02-14", - 10371.33 - ], - [ - "2020-02-13", - 10236.49 - ], - [ - "2020-02-12", - 10351.13 - ], - [ - "2020-02-11", - 10270.01 - ], - [ - "2020-02-10", - 9851.78 - ], - [ - "2020-02-09", - 10168.35 - ], - [ - "2020-02-08", - 9905.64 - ], - [ - "2020-02-07", - 9808.05 - ], - [ - "2020-02-06", - 9763.01 - ], - [ - "2020-02-05", - 9613.82 - ], - [ - "2020-02-04", - 9164.33 - ], - [ - "2020-02-03", - 9280.49 - ], - [ - "2020-02-02", - 9323.5 + "2015-07-20", + 280 ], [ - "2020-02-01", - 9380.18 + "2015-07-21", + 277.32 ], [ - "2020-01-31", - 9334.98 + "2015-07-22", + 277.89 ], [ - "2020-01-30", - 9503.08 + "2015-07-23", + 277.39 ], [ - "2020-01-29", - 9288.44 + "2015-07-24", + 289.12 ], [ - "2020-01-28", - 9394.5 + "2015-07-25", + 289.7 ], [ - "2020-01-27", - 8895.96 + "2015-07-26", + 293.89 ], [ - "2020-01-26", - 8595 + "2015-07-27", + 294.21 ], [ - "2020-01-25", - 8326.81 + "2015-07-28", + 295.76 ], [ - "2020-01-24", - 8427.26 + "2015-07-29", + 290.19 ], [ - "2020-01-23", - 8385.22 + "2015-07-30", + 288.49 ], [ - "2020-01-22", - 8660.38 + "2015-07-31", + 285.19 ], [ - "2020-01-21", - 8722.03 + "2015-08-01", + 281.53 ], [ - "2020-01-20", - 8628.89 + "2015-08-02", + 282.62 ], [ - "2020-01-19", - 8697.53 + "2015-08-03", + 280.95 ], [ - "2020-01-18", - 8909.32 + "2015-08-04", + 285.51 ], [ - "2020-01-17", - 8899.42 + "2015-08-05", + 282.77 ], [ - "2020-01-16", - 8714.76 + "2015-08-06", + 279.65 ], [ - "2020-01-15", - 8808.81 + "2015-08-07", + 279.94 ], [ - "2020-01-14", - 8815.69 + "2015-08-08", + 262.02 ], [ - "2020-01-13", - 8104.5 + "2015-08-09", + 267.63 ], [ - "2020-01-12", - 8180.81 + "2015-08-10", + 265.15 ], [ - "2020-01-11", - 8020 + "2015-08-11", + 271.99 ], [ - "2020-01-10", - 8198.09 + "2015-08-12", + 266.94 ], [ - "2020-01-09", - 7813.78 + "2015-08-13", + 264.67 ], [ - "2020-01-08", - 8045.51 + "2015-08-14", + 266.17 ], [ - "2020-01-07", - 8158.52 + "2015-08-15", + 262.46 ], [ - "2020-01-06", - 7764.63 + "2015-08-16", + 259.2 ], [ - "2020-01-05", - 7355.4 + "2015-08-17", + 257.31 ], [ - "2020-01-04", - 7348.63 + "2015-08-18", + 221.99 ], [ - "2020-01-03", - 7334.45 + "2015-08-19", + 227.34 ], [ - "2020-01-02", - 6945.02 + "2015-08-20", + 235.56 ], [ - "2020-01-01", - 7174.33 + "2015-08-21", + 232.85 ], [ - "2019-12-31", - 7165.72 + "2015-08-22", + 231.15 ], [ - "2019-12-30", - 7218 + "2015-08-23", + 229.21 ], [ - "2019-12-29", - 7384.89 + "2015-08-24", + 211.16 ], [ - "2019-12-28", - 7302.67 + "2015-08-25", + 223.73 ], [ - "2019-12-27", - 7245.83 + "2015-08-26", + 226.81 ], [ - "2019-12-26", - 7194.13 + "2015-08-27", + 225.8 ], [ - "2019-12-25", - 7192.12 + "2015-08-28", + 231.55 ], [ - "2019-12-24", - 7255.01 + "2015-08-29", + 230.61 ], [ - "2019-12-23", - 7310.79 + "2015-08-30", + 229.39 ], [ - "2019-12-22", - 7513.06 + "2015-08-31", + 230.75 ], [ - "2019-12-21", - 7143.01 + "2015-09-01", + 228.22 ], [ - "2019-12-20", - 7190 + "2015-09-02", + 229.97 ], [ - "2019-12-19", - 7149.12 + "2015-09-03", + 227.25 ], [ - "2019-12-18", - 7285.53 + "2015-09-04", + 231.39 ], [ - "2019-12-17", - 6616.62 + "2015-09-05", + 236.01 ], [ - "2019-12-16", - 6877.03 + "2015-09-06", + 241.29 ], [ - "2019-12-15", - 7111 + "2015-09-07", + 241.31 ], [ - "2019-12-14", - 7062.91 + "2015-09-08", + 244.14 ], [ - "2019-12-13", - 7249.9 + "2015-09-09", + 238.75 ], [ - "2019-12-12", - 7185.91 + "2015-09-10", + 238.52 ], [ - "2019-12-11", - 7201.23 + "2015-09-11", + 240.9 ], [ - "2019-12-10", - 7219.37 + "2015-09-12", + 236.5 ], [ - "2019-12-09", - 7337.51 + "2015-09-13", + 230.82 ], [ - "2019-12-08", - 7520 + "2015-09-14", + 231.01 ], [ - "2019-12-07", - 7502.19 + "2015-09-15", + 230.6 ], [ - "2019-12-06", - 7540.08 + "2015-09-16", + 229.73 ], [ - "2019-12-05", - 7393.54 + "2015-09-17", + 233.34 ], [ - "2019-12-04", - 7198.99 + "2015-09-18", + 233.78 ], [ - "2019-12-03", - 7302.94 + "2015-09-19", + 232.88 ], [ - "2019-12-02", - 7305.01 + "2015-09-20", + 232.24 ], [ - "2019-12-01", - 7404.27 + "2015-09-21", + 227.31 ], [ - "2019-11-30", - 7555.92 + "2015-09-22", + 231.28 ], [ - "2019-11-29", - 7760 + "2015-09-23", + 230.26 ], [ - "2019-11-28", - 7432.41 + "2015-09-24", + 235.27 ], [ - "2019-11-27", - 7523.72 + "2015-09-25", + 235.89 ], [ - "2019-11-26", - 7162.67 + "2015-09-26", + 234.69 ], [ - "2019-11-25", - 7127.01 + "2015-09-27", + 233.58 ], [ - "2019-11-24", - 6908.64 + "2015-09-28", + 239.99 ], [ - "2019-11-23", - 7329.29 + "2015-09-29", + 236.89 ], [ - "2019-11-22", - 7283.03 + "2015-09-30", + 237.14 ], [ - "2019-11-21", - 7616.46 + "2015-10-01", + 238.34 ], [ - "2019-11-20", - 8082.96 + "2015-10-02", + 238.28 ], [ - "2019-11-19", - 8123.36 + "2015-10-03", + 239.92 ], [ - "2019-11-18", - 8168.84 + "2015-10-04", + 239.87 ], [ - "2019-11-17", - 8500.01 + "2015-10-05", + 240.95 ], [ - "2019-11-16", - 8481 + "2015-10-06", + 246.64 ], [ - "2019-11-15", - 8457.48 + "2015-10-07", + 244 ], [ - "2019-11-14", - 8630 + "2015-10-08", + 242.94 ], [ - "2019-11-13", - 8758.34 + "2015-10-09", + 244.35 ], [ - "2019-11-12", - 8810 + "2015-10-10", + 246.07 ], [ - "2019-11-11", - 8721.54 + "2015-10-11", + 249.02 ], [ - "2019-11-10", - 9032.23 + "2015-10-12", + 246.39 ], [ - "2019-11-09", - 8807.89 + "2015-10-13", + 250.99 ], [ - "2019-11-08", - 8763.01 + "2015-10-14", + 253.27 ], [ - "2019-11-07", - 9198.84 + "2015-10-15", + 254.99 ], [ - "2019-11-06", - 9341.27 + "2015-10-16", + 263.43 ], [ - "2019-11-05", - 9322.09 + "2015-10-17", + 272.87 ], [ - "2019-11-04", - 9412.53 + "2015-10-18", + 265 ], [ - "2019-11-03", - 9206.52 + "2015-10-19", + 265.17 ], [ - "2019-11-02", - 9308.52 + "2015-10-20", + 271.14 ], [ - "2019-11-01", - 9253.12 + "2015-10-21", + 268.77 ], [ - "2019-10-31", - 9159.48 + "2015-10-22", + 275.84 ], [ - "2019-10-30", - 9164.44 + "2015-10-23", + 278.76 ], [ - "2019-10-29", - 9430.8 + "2015-10-24", + 284.29 ], [ - "2019-10-28", - 9226.5 + "2015-10-25", + 284.97 ], [ - "2019-10-27", - 9548.84 + "2015-10-26", + 287.1 ], [ - "2019-10-26", - 9259.78 + "2015-10-27", + 295.61 ], [ - "2019-10-25", - 8668 + "2015-10-28", + 304.09 ], [ - "2019-10-24", - 7430.87 + "2015-10-29", + 316.08 ], [ - "2019-10-23", - 7474.85 + "2015-10-30", + 329.11 ], [ - "2019-10-22", - 8024.72 + "2015-10-31", + 314.85 ], [ - "2019-10-21", - 8209.92 + "2015-11-01", + 329.46 ], [ - "2019-10-20", - 8236.12 + "2015-11-02", + 365.21 ], [ - "2019-10-19", - 7965.28 + "2015-11-03", + 404.1 ], [ - "2019-10-18", - 7954.16 + "2015-11-04", + 410 ], [ - "2019-10-17", - 8076.2 + "2015-11-05", + 387.21 ], [ - "2019-10-16", - 7993.54 + "2015-11-06", + 374.09 ], [ - "2019-10-15", - 8162.44 + "2015-11-07", + 384.81 ], [ - "2019-10-14", - 8355 + "2015-11-08", + 373.83 ], [ - "2019-10-13", - 8282.97 + "2015-11-09", + 379.53 ], [ - "2019-10-12", - 8309.03 + "2015-11-10", + 337.14 ], [ - "2019-10-11", - 8267.33 + "2015-11-11", + 313.2 ], [ - "2019-10-10", - 8587.5 + "2015-11-12", + 336.49 ], [ - "2019-10-09", - 8590 + "2015-11-13", + 338.07 ], [ - "2019-10-08", - 8180 + "2015-11-14", + 334.71 ], [ - "2019-10-07", - 8209 + "2015-11-15", + 322.93 ], [ - "2019-10-06", - 7859.79 + "2015-11-16", + 332.89 ], [ - "2019-10-05", - 8147.63 + "2015-11-17", + 336.49 ], [ - "2019-10-04", - 8156.67 + "2015-11-18", + 335.49 ], [ - "2019-10-03", - 8240.41 + "2015-11-19", + 326.41 ], [ - "2019-10-02", - 8381.72 + "2015-11-20", + 322.39 ], [ - "2019-10-01", - 8321.52 + "2015-11-21", + 327 ], [ - "2019-09-30", - 8304.96 + "2015-11-22", + 323.71 ], [ - "2019-09-29", - 8052.4 + "2015-11-23", + 323 ], [ - "2019-09-28", - 8217.47 + "2015-11-24", + 321 ], [ - "2019-09-27", - 8193.99 + "2015-11-25", + 328.98 ], [ - "2019-09-26", - 8060 + "2015-11-26", + 352.57 ], [ - "2019-09-25", - 8438.35 + "2015-11-27", + 358.19 ], [ - "2019-09-24", - 8530.01 + "2015-11-28", + 357.24 ], [ - "2019-09-23", - 9693.74 + "2015-11-29", + 372.24 ], [ - "2019-09-22", - 10026.8 + "2015-11-30", + 376.86 ], [ - "2019-09-21", - 9973.99 + "2015-12-01", + 362.68 ], [ - "2019-09-20", - 10168.85 + "2015-12-02", + 360 ], [ - "2019-09-19", - 10275.01 + "2015-12-03", + 361.77 ], [ - "2019-09-18", - 10155.26 + "2015-12-04", + 363.98 ], [ - "2019-09-17", - 10185.39 + "2015-12-05", + 387.99 ], [ - "2019-09-16", - 10262.54 + "2015-12-06", + 387.55 ], [ - "2019-09-15", - 10304.46 + "2015-12-07", + 394.73 ], [ - "2019-09-14", - 10360.25 + "2015-12-08", + 418.94 ], [ - "2019-09-13", - 10365.93 + "2015-12-09", + 418.39 ], [ - "2019-09-12", - 10423.72 + "2015-12-10", + 415.68 ], [ - "2019-09-11", - 10160.2 + "2015-12-11", + 452.95 ], [ - "2019-09-10", - 10093.01 + "2015-12-12", + 436.87 ], [ - "2019-09-09", - 10310 + "2015-12-13", + 433.83 ], [ - "2019-09-08", - 10398.97 + "2015-12-14", + 444.01 ], [ - "2019-09-07", - 10484.37 + "2015-12-15", + 464.27 ], [ - "2019-09-06", - 10308.92 + "2015-12-16", + 453.97 ], [ - "2019-09-05", - 10574.73 + "2015-12-17", + 455.5 ], [ - "2019-09-04", - 10581.84 + "2015-12-18", + 463.17 ], [ - "2019-09-03", - 10628.48 + "2015-12-19", + 461.29 ], [ - "2019-09-02", - 10381.26 + "2015-12-20", + 442.22 ], [ - "2019-09-01", - 9766.52 + "2015-12-21", + 436.81 ], [ - "2019-08-31", - 9600.86 + "2015-12-22", + 433.92 ], [ - "2019-08-30", - 9582.42 + "2015-12-23", + 442.43 ], [ - "2019-08-29", - 9495 + "2015-12-24", + 455.74 ], [ - "2019-08-28", - 9714.31 + "2015-12-25", + 455.84 ], [ - "2019-08-27", - 10171.85 + "2015-12-26", + 419.41 ], [ - "2019-08-26", - 10361.65 + "2015-12-27", + 424.72 ], [ - "2019-08-25", - 10138.72 + "2015-12-28", + 421.94 ], [ - "2019-08-24", - 10147.96 + "2015-12-29", + 433.89 ], [ - "2019-08-23", - 10410.85 + "2015-12-30", + 427.95 ], [ - "2019-08-22", - 10107.15 + "2015-12-31", + 430.35 ], [ - "2019-08-21", - 10130 + "2016-01-01", + 435.66 ], [ - "2019-08-20", - 10769.09 + "2016-01-02", + 435.4 ], [ - "2019-08-19", - 10920 + "2016-01-03", + 431.91 ], [ - "2019-08-18", - 10315.48 + "2016-01-04", + 433.85 ], [ - "2019-08-17", - 10217.79 + "2016-01-05", + 433.34 ], [ - "2019-08-16", - 10352.78 + "2016-01-06", + 430.87 ], [ - "2019-08-15", - 10300.01 + "2016-01-07", + 459.07 ], [ - "2019-08-14", - 10025.86 + "2016-01-08", + 454.44 ], [ - "2019-08-13", - 10854.92 + "2016-01-09", + 450.38 ], [ - "2019-08-12", - 11389.28 + "2016-01-10", + 449.99 ], [ - "2019-08-11", - 11540.76 + "2016-01-11", + 449.19 ], [ - "2019-08-10", - 11280.95 + "2016-01-12", + 434.01 ], [ - "2019-08-09", - 11856.1 + "2016-01-13", + 432.77 ], [ - "2019-08-08", - 11981 + "2016-01-14", + 430.03 ], [ - "2019-08-07", - 11975.03 + "2016-01-15", + 357.53 ], [ - "2019-08-06", - 11465.49 + "2016-01-16", + 388.7 ], [ - "2019-08-05", - 11819.49 + "2016-01-17", + 378.46 ], [ - "2019-08-04", - 10977.51 + "2016-01-18", + 384.89 ], [ - "2019-08-03", - 10820.76 + "2016-01-19", + 375.27 ], [ - "2019-08-02", - 10533.01 + "2016-01-20", + 418.54 ], [ - "2019-08-01", - 10405.94 + "2016-01-21", + 409.38 ], [ - "2019-07-31", - 10087.3 + "2016-01-22", + 382.9 ], [ - "2019-07-30", - 9589.01 + "2016-01-23", + 387.5 ], [ - "2019-07-29", - 9495.01 + "2016-01-24", + 403.05 ], [ - "2019-07-28", - 9533 + "2016-01-25", + 391.4 ], [ - "2019-07-27", - 9479.98 + "2016-01-26", + 391.54 ], [ - "2019-07-26", - 9843 + "2016-01-27", + 394.79 ], [ - "2019-07-25", - 9883.33 + "2016-01-28", + 379.61 ], [ - "2019-07-24", - 9772.6 + "2016-01-29", + 378.68 ], [ - "2019-07-23", - 9840.12 + "2016-01-30", + 378.46 ], [ - "2019-07-22", - 10323.39 + "2016-01-31", + 367.95 ], [ - "2019-07-21", - 10590.7 + "2016-02-01", + 371.33 ], [ - "2019-07-20", - 10761.03 + "2016-02-02", + 372.93 ], [ - "2019-07-19", - 10538.06 + "2016-02-03", + 368.87 ], [ - "2019-07-18", - 10649.07 + "2016-02-04", + 387.99 ], [ - "2019-07-17", - 9696.31 + "2016-02-05", + 384.5 ], [ - "2019-07-16", - 9422.72 + "2016-02-06", + 375.44 ], [ - "2019-07-15", - 10854.47 + "2016-02-07", + 377.49 ], [ - "2019-07-14", - 10185.03 + "2016-02-08", + 371.14 ], [ - "2019-07-13", - 11370.08 + "2016-02-09", + 372.68 ], [ - "2019-07-12", - 11802 + "2016-02-10", + 378.44 ], [ - "2019-07-11", - 11349 + "2016-02-11", + 378.23 ], [ - "2019-07-10", - 12097.96 + "2016-02-12", + 382.05 ], [ - "2019-07-09", - 12571.11 + "2016-02-13", + 391 ], [ - "2019-07-08", - 12293.53 + "2016-02-14", + 406.59 ], [ - "2019-07-07", - 11474.42 + "2016-02-15", + 398.95 ], [ - "2019-07-06", - 11237.77 + "2016-02-16", + 407.42 ], [ - "2019-07-05", - 11004.51 + "2016-02-17", + 415.2 ], [ - "2019-07-04", - 11136 + "2016-02-18", + 421.19 ], [ - "2019-07-03", - 11976.42 + "2016-02-19", + 420.72 ], [ - "2019-07-02", - 10829.18 + "2016-02-20", + 437.46 ], [ - "2019-07-01", - 10577.63 + "2016-02-21", + 438.56 ], [ - "2019-06-30", - 10761.26 + "2016-02-22", + 437.55 ], [ - "2019-06-29", - 11865.29 + "2016-02-23", + 419.97 ], [ - "2019-06-28", - 12360.45 + "2016-02-24", + 423.94 ], [ - "2019-06-27", - 11159.29 + "2016-02-25", + 423.54 ], [ - "2021-02-05", - 38311.49 + "2016-02-26", + 430.85 ], [ - "2021-02-04", - 36975 + "2016-02-27", + 433.12 ], [ - "2021-02-03", - 37678.37 + "2016-02-28", + 433.73 ], [ - "2021-02-02", - 35512.67 + "2016-02-29", + 436.44 ], [ - "2021-02-01", - 33533.19 + "2016-03-01", + 433.08 ], [ - "2021-01-31", - 33137.74 + "2016-03-02", + 420.39 ], [ - "2021-01-30", - 34315.63 + "2016-03-03", + 418.8 ], [ - "2021-01-29", - 34262.11 + "2016-03-04", + 407.35 ], [ - "2021-01-28", - 33488.99 + "2016-03-05", + 396.08 ], [ - "2021-01-27", - 30407.13 + "2016-03-06", + 403.24 ], [ - "2021-01-26", - 32510.82 + "2016-03-07", + 412.21 ], [ - "2021-01-25", - 32261.87 + "2016-03-08", + 411.18 ], [ - "2021-01-24", - 32288.56 + "2016-03-09", + 412.8 ], [ - "2021-01-23", - 32112.01 + "2016-03-10", + 415.98 ], [ - "2021-01-22", - 32984.93 + "2016-03-11", + 419.39 ], [ - "2021-01-21", - 30855.95 + "2016-03-12", + 410.58 ], [ - "2021-01-20", - 35503.09 + "2016-03-13", + 412.52 ], [ - "2021-01-19", - 35917.28 + "2016-03-14", + 415.02 ], [ - "2021-01-18", - 36624.23 + "2016-03-15", + 415.41 ], [ - "2021-01-17", - 35820 + "2016-03-16", + 416.07 ], [ - "2021-01-16", - 36006.94 + "2016-03-17", + 418.41 ], [ - "2021-01-15", - 36754.67 + "2016-03-18", + 409.65 ], [ - "2021-01-14", - 39125.14 + "2016-03-19", + 410.2 ], [ - "2021-01-13", - 37393.66 + "2016-03-20", + 411.27 ], [ - "2021-01-12", - 34038.98 + "2016-03-21", + 412 ], [ - "2021-01-11", - 35452.59 + "2016-03-22", + 416.66 ], [ - "2021-01-10", - 38171.57 + "2016-03-23", + 417.53 ], [ - "2021-01-09", - 40257.43 + "2016-03-24", + 412.95 ], [ - "2021-01-08", - 40665.15 + "2016-03-25", + 416.41 ], [ - "2021-01-07", - 39505.56 + "2016-03-26", + 416.97 ], [ - "2021-01-06", - 36859.26 + "2016-03-27", + 425.3 ], [ - "2021-01-05", - 34030.64 + "2016-03-28", + 423 ], [ - "2021-01-04", - 32019.99 + "2016-03-29", + 416.39 ], [ - "2021-01-03", - 33080.66 + "2016-03-30", + 412.79 ], [ - "2021-01-02", - 32225.91 + "2016-03-31", + 416.03 ], [ - "2021-01-01", - 29412.84 + "2016-04-01", + 417.68 ], [ - "2020-12-31", - 28990.08 + "2016-04-02", + 419.95 ], [ - "2020-12-30", - 28897.42 + "2016-04-03", + 420.16 ], [ - "2020-12-29", - 27366.35 + "2016-04-04", + 419.47 ], [ - "2020-12-28", - 27040.36 + "2016-04-05", + 422.36 ], [ - "2020-12-27", - 26258.65 + "2016-04-06", + 421.46 ], [ - "2020-12-26", - 26475.35 + "2016-04-07", + 421.99 ], [ - "2020-12-25", - 24704.71 + "2016-04-08", + 419.48 ], [ - "2020-12-24", - 23717.96 + "2016-04-09", + 419.46 ], [ - "2020-12-23", - 23228.35 + "2016-04-10", + 423.4 ], [ - "2020-12-22", - 23823.27 + "2016-04-11", + 423.94 ], [ - "2020-12-21", - 22729.4 + "2016-04-12", + 427.8 ], [ - "2020-12-20", - 23476.51 + "2016-04-13", + 425.58 ], [ - "2020-12-19", - 23849.99 + "2016-04-14", + 426.32 ], [ - "2020-12-18", - 23137.76 + "2016-04-15", + 430.93 ], [ - "2020-12-17", - 22826.48 + "2016-04-16", + 433.39 ], [ - "2020-12-16", - 21359.65 + "2016-04-17", + 431 ], [ - "2020-12-15", - 19444.6 + "2016-04-18", + 430.97 ], [ - "2020-12-14", - 19272.37 + "2016-04-19", + 437.06 ], [ - "2020-12-13", - 19166.65 + "2016-04-20", + 442.96 ], [ - "2020-12-12", - 18821.28 + "2016-04-21", + 452.25 ], [ - "2020-12-11", - 18042.15 + "2016-04-22", + 448.41 ], [ - "2020-12-10", - 18253.44 + "2016-04-23", + 455.69 ], [ - "2020-12-09", - 18546.55 + "2016-04-24", + 464.46 ], [ - "2020-12-08", - 18316.22 + "2016-04-25", + 466.17 ], [ - "2020-12-07", - 19177.71 + "2016-04-26", + 470.59 ], [ - "2020-12-06", - 19375.6 + "2016-04-27", + 445.31 ], [ - "2020-12-05", - 19158.96 + "2016-04-28", + 451.68 ], [ - "2020-12-04", - 18658.1 + "2016-04-29", + 458.82 ], [ - "2020-12-03", - 19448.64 + "2016-04-30", + 454.02 ], [ - "2020-12-02", - 19225.63 + "2016-05-01", + 456.98 ], [ - "2020-12-01", - 18782.97 + "2016-05-02", + 446.42 ], [ - "2020-11-30", - 19713.94 + "2016-05-03", + 452.21 ], [ - "2020-11-29", - 18202.04 + "2016-05-04", + 448.68 ], [ - "2020-11-28", - 17739.85 + "2016-05-05", + 449.98 ], [ - "2020-11-27", - 17153.95 + "2016-05-06", + 462.31 ], [ - "2020-11-26", - 17170 + "2016-05-07", + 461.91 ], [ - "2020-11-25", - 18721.93 + "2016-05-08", + 462.79 ], [ - "2020-11-24", - 19172.84 + "2016-05-09", + 464.16 ], [ - "2020-11-23", - 18384.82 + "2016-05-10", + 452.78 ], [ - "2020-11-22", - 18437.66 + "2016-05-11", + 454.37 ], [ - "2020-11-21", - 18721.21 + "2016-05-12", + 456.48 ], [ - "2020-11-20", - 18675.25 + "2016-05-13", + 457.98 ], [ - "2020-11-19", - 17821.58 + "2016-05-14", + 458.9 ], [ - "2020-11-18", - 17782.91 + "2016-05-15", + 461.47 ], [ - "2020-11-17", - 17679.36 + "2016-05-16", + 455.66 ], [ - "2020-11-16", - 16726.64 + "2016-05-17", + 454.19 ], [ - "2020-11-15", - 15966.89 + "2016-05-18", + 455.56 ], [ - "2020-11-14", - 16082.01 + "2016-05-19", + 438.38 ], [ - "2020-11-13", - 16339.56 + "2016-05-20", + 445.65 ], [ - "2020-11-12", - 16310.81 + "2016-05-21", + 446.28 ], [ - "2020-11-11", - 15705.79 + "2016-05-22", + 442.48 ], [ - "2020-11-10", - 15315.03 + "2016-05-23", + 445.67 ], [ - "2020-11-09", - 15342.25 + "2016-05-24", + 446.99 ], [ - "2020-11-08", - 15482.9 + "2016-05-25", + 451.49 ], [ - "2020-11-07", - 14834.09 + "2016-05-26", + 454.97 ], [ - "2020-11-06", - 15599.95 + "2016-05-27", + 471.27 ], [ - "2020-11-05", - 15608.21 + "2016-05-28", + 523.25 ], [ - "2020-11-04", - 14161.48 + "2016-05-29", + 525.22 ], [ - "2020-11-03", - 14035.8 + "2016-05-30", + 532.55 ], [ - "2020-11-02", - 13563.22 + "2016-05-31", + 531.34 ], [ - "2020-11-01", - 13771.59 + "2016-06-01", + 534.84 ], [ - "2020-10-31", - 13804.81 + "2016-06-02", + 537.87 ], [ - "2020-10-30", - 13571.51 + "2016-06-03", + 571.25 ], [ - "2020-10-29", - 13460 + "2016-06-04", + 576.31 ], [ - "2020-10-28", - 13281.05 + "2016-06-05", + 575.17 ], [ - "2020-10-27", - 13698.18 + "2016-06-06", + 586.77 ], [ - "2020-10-26", - 13068.79 + "2016-06-07", + 579.71 ], [ - "2020-10-25", - 13045 + "2016-06-08", + 583.21 ], [ - "2020-10-24", - 13126.24 + "2016-06-09", + 577.46 ], [ - "2020-10-23", - 12937.09 + "2016-06-10", + 580.31 ], [ - "2020-10-22", - 12987.02 + "2016-06-11", + 609.5 ], [ - "2020-10-21", - 12808 + "2016-06-12", + 677.86 ], [ - "2020-10-20", - 11923.83 + "2016-06-13", + 706.01 ], [ - "2020-10-19", - 11760.45 + "2016-06-14", + 684.95 ], [ - "2020-10-18", - 11514.2 + "2016-06-15", + 698.78 ], [ - "2020-10-17", - 11367.89 + "2016-06-16", + 769.76 ], [ - "2020-10-16", - 11328.95 + "2016-06-17", + 752.26 ], [ - "2020-10-15", - 11509.34 + "2016-06-18", + 758.99 ], [ - "2020-10-14", - 11427.7 + "2016-06-19", + 768.76 ], [ - "2020-10-13", - 11428.22 + "2016-06-20", + 703.12 ], [ - "2020-10-12", - 11535.46 + "2016-06-21", + 667.66 ], [ - "2020-10-11", - 11374.01 + "2016-06-22", + 604.5 ], [ - "2020-10-10", - 11299.5 + "2016-06-23", + 631.1 ], [ - "2020-10-09", - 11057.07 + "2016-06-24", + 669.98 ], [ - "2020-10-08", - 10933.09 + "2016-06-25", + 673.71 ], [ - "2020-10-07", - 10670.47 + "2016-06-26", + 638.56 ], [ - "2020-10-06", - 10602.66 + "2016-06-27", + 657.87 ], [ - "2020-10-05", - 10795 + "2016-06-28", + 648.43 ], [ - "2020-10-04", - 10671.11 + "2016-06-29", + 639.42 ], [ - "2020-10-03", - 10551.65 + "2016-06-30", + 673.49 ], [ - "2020-10-02", - 10573.12 + "2016-07-01", + 678.19 ], [ - "2020-10-01", - 10617.63 + "2016-07-02", + 704.95 ], [ - "2020-09-30", - 10779.63 + "2016-07-03", + 663.55 ], [ - "2020-09-29", - 10840.73 + "2016-07-04", + 681.98 ], [ - "2020-09-28", - 10695.55 + "2016-07-05", + 669.87 ], [ - "2020-09-27", - 10778.2 + "2016-07-06", + 678.79 ], [ - "2020-09-26", - 10730 + "2016-07-07", + 641.97 ], [ - "2020-09-25", - 10690.53 + "2016-07-08", + 667.33 ], [ - "2020-09-24", - 10740.01 + "2016-07-09", + 657.61 ], [ - "2020-09-23", - 10235.1 + "2016-07-10", + 652.44 ], [ - "2020-09-22", - 10531.13 + "2016-07-11", + 650.97 ], [ - "2020-09-21", - 10416.82 + "2016-07-12", + 666.56 ], [ - "2020-09-20", - 10920.89 + "2016-07-13", + 655.34 ], [ - "2020-09-19", - 11080 + "2016-07-14", + 661.65 ], [ - "2020-09-18", - 10937.52 + "2016-07-15", + 667.48 ], [ - "2020-09-17", - 10943.61 + "2016-07-16", + 666.32 ], [ - "2020-09-16", - 10959.61 + "2016-07-17", + 680 ], [ - "2020-09-15", - 10783.75 + "2016-07-18", + 675.5 ], [ - "2020-09-14", - 10679.95 + "2016-07-19", + 673.98 ], [ - "2020-09-13", - 10336.76 + "2016-07-20", + 666.92 ], [ - "2020-09-12", - 10446.52 + "2016-07-21", + 667.28 ], [ - "2020-09-11", - 10394.41 + "2016-07-22", + 654.67 ], [ - "2020-09-10", - 10343.23 + "2016-07-23", + 657.5 ], [ - "2020-09-09", - 10224.56 + "2016-07-24", + 661 ], [ - "2020-09-08", - 10125.69 + "2016-07-25", + 657.79 ], [ - "2020-09-07", - 10375 + "2016-07-26", + 654.06 ], [ - "2020-09-06", - 10257.86 + "2016-07-27", + 657.35 ], [ - "2020-09-05", - 10168.36 + "2016-07-28", + 657.4 ], [ - "2020-09-04", - 10500.05 + "2016-07-29", + 657 ], [ - "2020-09-03", - 10172.52 + "2016-07-30", + 655.87 ], [ - "2020-09-02", - 11395.48 + "2016-07-31", + 626.97 ], [ - "2020-09-01", - 11924.22 + "2016-08-01", + 605.2 ], [ - "2020-08-31", - 11655 + "2016-08-02", + 537.47 ], [ - "2020-08-30", - 11716.01 + "2016-08-03", + 573.36 ], [ - "2020-08-29", - 11474.31 + "2016-08-04", + 587.5 ], [ - "2020-08-28", - 11535 + "2016-08-05", + 583 ], [ - "2020-08-27", - 11330.06 + "2016-08-06", + 591.71 ], [ - "2020-08-26", - 11463.27 + "2016-08-07", + 595.14 ], [ - "2020-08-25", - 11324.92 + "2016-08-08", + 591.48 ], [ - "2020-08-24", - 11753.85 + "2016-08-09", + 586.45 ], [ - "2020-08-23", - 11650.01 + "2016-08-10", + 594.94 ], [ - "2020-08-22", - 11672.93 + "2016-08-11", + 587.91 ], [ - "2020-08-21", - 11529.22 + "2016-08-12", + 587.74 ], [ - "2020-08-20", - 11864.26 + "2016-08-13", + 586.45 ], [ - "2020-08-19", - 11758.87 + "2016-08-14", + 574.99 ], [ - "2020-08-18", - 11950 + "2016-08-15", + 567.79 ], [ - "2020-08-17", - 12304.26 + "2016-08-16", + 579.02 ], [ - "2020-08-16", - 11918.84 + "2016-08-17", + 574.45 ], [ - "2020-08-15", - 11859.24 + "2016-08-18", + 574.09 ], [ - "2020-08-14", - 11779 + "2016-08-19", + 573.67 ], [ - "2020-08-13", - 11795.95 + "2016-08-20", + 581.87 ], [ - "2020-08-12", - 11566.45 + "2016-08-21", + 581.29 ], [ - "2020-08-11", - 11388.53 + "2016-08-22", + 585.2 ], [ - "2020-08-10", - 11899.73 + "2016-08-23", + 582.39 ], [ - "2020-08-09", - 11688.48 + "2016-08-24", + 578.47 ], [ - "2020-08-08", - 11774.98 + "2016-08-25", + 575.58 ], [ - "2020-08-07", - 11606.52 + "2016-08-26", + 579.29 ], [ - "2020-08-06", - 11773.89 + "2016-08-27", + 570.84 ], [ - "2020-08-05", - 11756.75 + "2016-08-28", + 575.41 ], [ - "2020-08-04", - 11197.04 + "2016-08-29", + 573.21 ], [ - "2020-08-03", - 11233.13 + "2016-08-30", + 574.95 ], [ - "2020-08-02", - 11068.54 + "2016-08-31", + 572.89 ], [ - "2020-08-01", - 11810.07 + "2016-09-01", + 573.02 ], [ - "2020-07-31", - 11351.62 + "2016-09-02", + 576.21 ], [ - "2020-07-30", - 11115.95 + "2016-09-03", + 600.91 ], [ - "2020-07-29", - 11110.12 + "2016-09-04", + 611.92 ], [ - "2020-07-28", - 10934.23 + "2016-09-05", + 605.69 ], [ - "2020-07-27", - 11048.91 + "2016-09-06", + 612.99 ], [ - "2020-07-26", - 9941 + "2016-09-07", + 615.21 ], [ - "2020-07-25", - 9711.33 + "2016-09-08", + 627.97 ], [ - "2020-07-24", - 9551.21 + "2016-09-09", + 622.07 ], [ - "2020-07-23", - 9613.24 + "2016-09-10", + 623.74 ], [ - "2020-07-22", - 9536.18 + "2016-09-11", + 607.94 ], [ - "2020-07-21", - 9394.14 + "2016-09-12", + 606.74 ], [ - "2020-07-20", - 9161.05 + "2016-09-13", + 608.63 ], [ - "2020-07-19", - 9212.87 + "2016-09-14", + 608.43 ], [ - "2020-07-18", - 9175.85 + "2016-09-15", + 605.44 ], [ - "2020-07-17", - 9154.29 + "2016-09-16", + 607.93 ], [ - "2020-07-16", - 9130.11 + "2016-09-17", + 607.92 ], [ - "2020-07-15", - 9190.16 + "2016-09-18", + 611.4 ], [ - "2020-07-14", - 9256.94 + "2016-09-19", + 608.6 ], [ - "2020-07-13", - 9236.92 + "2016-09-20", + 605.6 ], [ - "2020-07-12", - 9303.37 + "2016-09-21", + 597 ], [ - "2020-07-11", - 9235 + "2016-09-22", + 596.21 ], [ - "2020-07-10", - 9291.05 + "2016-09-23", + 602.96 ], [ - "2020-07-09", - 9236.95 + "2016-09-24", + 603.68 ], [ - "2020-07-08", - 9435.28 + "2016-09-25", + 601.67 ], [ - "2020-07-07", - 9253.94 + "2016-09-26", + 607.08 ], [ - "2020-07-06", - 9343.31 + "2016-09-27", + 605.71 ], [ - "2020-07-05", - 9074.39 + "2016-09-28", + 605.04 ], [ - "2020-07-04", - 9138.51 + "2016-09-29", + 605.99 ], [ - "2020-07-03", - 9063.87 + "2016-09-30", + 608.99 ], [ - "2020-07-02", - 9091.53 + "2016-10-01", + 615.65 ], [ - "2020-07-01", - 9239.97 + "2016-10-02", + 612.4 ], [ - "2020-06-30", - 9136.2 + "2016-10-03", + 612.99 ], [ - "2020-06-29", - 9184.45 + "2016-10-04", + 610.34 ], [ - "2020-06-28", - 9113.24 + "2016-10-05", + 613.16 ], [ - "2020-06-27", - 9002.46 + "2016-10-06", + 611.88 ], [ - "2020-06-26", - 9155.42 + "2016-10-07", + 617.98 ], [ - "2020-06-25", - 9243.51 + "2016-10-08", + 619.5 ], [ - "2020-06-24", - 9285.91 + "2016-10-09", + 617.42 ], [ - "2020-06-23", - 9623.56 + "2016-10-10", + 618.72 ], [ - "2020-06-22", - 9690.74 + "2016-10-11", + 642.12 ], [ - "2020-06-21", - 9286.14 + "2016-10-12", + 635.79 ], [ - "2020-06-20", - 9355.74 + "2016-10-13", + 635.66 ], [ - "2020-06-19", - 9301.91 + "2016-10-14", + 638.03 ], [ - "2020-06-18", - 9376.14 + "2016-10-15", + 638.16 ], [ - "2020-06-17", - 9457.51 + "2016-10-16", + 641.92 ], [ - "2020-06-16", - 9526.25 + "2016-10-17", + 639.56 ], [ - "2020-06-15", - 9432.53 + "2016-10-18", + 635.11 ], [ - "2020-06-14", - 9325 + "2016-10-19", + 629.79 ], [ - "2020-06-13", - 9475 + "2016-10-20", + 628.05 ], [ - "2020-06-12", - 9464.17 + "2016-10-21", + 630.83 ], [ - "2020-06-11", - 9268.16 + "2016-10-22", + 652.75 ], [ - "2020-06-10", - 9894.04 + "2016-10-23", + 651.04 ], [ - "2020-06-09", - 9779.41 + "2016-10-24", + 649.98 ], [ - "2020-06-08", - 9781.51 + "2016-10-25", + 654.3 ], [ - "2020-06-07", - 9750.12 + "2016-10-26", + 674 ], [ - "2020-06-06", - 9671.7 + "2016-10-27", + 691.21 ], [ - "2020-06-05", - 9613.21 + "2016-10-28", + 689.95 ], [ - "2020-06-04", - 9788.03 + "2016-10-29", + 714.28 ], [ - "2020-06-03", - 9668.07 + "2016-10-30", + 697.41 ], [ - "2020-06-02", - 9522.46 + "2016-10-31", + 696.9 ], [ - "2020-06-01", - 10208.96 + "2016-11-01", + 730.7 ], [ - "2020-05-31", - 9446.57 + "2016-11-02", + 744.6 ], [ - "2020-05-30", - 9700.33 + "2016-11-03", + 690 ], [ - "2020-05-29", - 9423.84 + "2016-11-04", + 706.32 ], [ - "2020-05-28", - 9580.19 + "2016-11-05", + 706.99 ], [ - "2020-05-27", - 9208.53 + "2016-11-06", + 717.02 ], [ - "2020-05-26", - 8844.42 + "2016-11-07", + 706.42 ], [ - "2020-05-25", - 8899.31 + "2016-11-08", + 711.15 ], [ - "2020-05-24", - 8715.73 + "2016-11-09", + 720.97 ], [ - "2020-05-23", - 9181.76 + "2016-11-10", + 712.91 ], [ - "2020-05-22", - 9168.84 + "2016-11-11", + 716.9 ], [ - "2020-05-21", - 9061.96 + "2016-11-12", + 704.53 ], [ - "2020-05-20", - 9509.41 + "2016-11-13", + 704.01 ], [ - "2020-05-19", - 9783.76 + "2016-11-14", + 708.32 ], [ - "2020-05-18", - 9728.52 + "2016-11-15", + 712.29 ], [ - "2020-05-17", - 9676.63 + "2016-11-16", + 739.85 ], [ - "2020-05-16", - 9383.16 + "2016-11-17", + 730.71 ], [ - "2020-05-15", - 9312.1 + "2016-11-18", + 748.54 ], [ - "2020-05-14", - 9795.34 + "2016-11-19", + 750.77 ], [ - "2020-05-13", - 9321.26 + "2016-11-20", + 731.99 ], [ - "2020-05-12", - 8821.42 + "2016-11-21", + 736.4 ], [ - "2020-05-11", - 8572.4 + "2016-11-22", + 746.66 ], [ - "2020-05-10", - 8729.86 + "2016-11-23", + 741.52 ], [ - "2020-05-09", - 9537.21 + "2016-11-24", + 737.99 ], [ - "2020-05-08", - 9810 + "2016-11-25", + 739.74 ], [ - "2020-05-07", - 10004.77 + "2016-11-26", + 735.7 ], [ - "2020-05-06", - 9155.79 + "2016-11-27", + 729.24 ], [ - "2020-05-05", - 9028.79 + "2016-11-28", + 729.77 ], [ - "2020-05-04", - 8883.53 + "2016-11-29", + 732.37 ], [ - "2020-05-03", - 8909.95 + "2016-11-30", + 742.69 ], [ - "2020-05-02", - 8985.58 + "2016-12-01", + 754 ], [ - "2020-05-01", - 8829.42 + "2016-12-02", + 769.25 ], [ - "2020-04-30", - 8624.28 + "2016-12-03", + 766.98 ], [ - "2020-04-29", - 8793.75 + "2016-12-04", + 767.99 ], [ - "2020-04-28", - 7755.01 + "2016-12-05", + 752 ], [ - "2020-04-27", - 7789.77 + "2016-12-06", + 759.8 ], [ - "2020-04-26", - 7706.4 + "2016-12-07", + 764.34 ], [ - "2020-04-25", - 7547.61 + "2016-12-08", + 767.89 ], [ - "2020-04-24", - 7514.64 + "2016-12-09", + 773.22 ], [ - "2020-04-23", - 7488.83 + "2016-12-10", + 775.87 ], [ - "2020-04-22", - 7136.84 + "2016-12-11", + 771.05 ], [ - "2020-04-21", - 6853.68 + "2016-12-12", + 778.94 ], [ - "2020-04-20", - 6838.19 + "2016-12-13", + 776.18 ], [ - "2020-04-19", - 7130.71 + "2016-12-14", + 777.66 ], [ - "2020-04-18", - 7261.76 + "2016-12-15", + 776.16 ], [ - "2020-04-17", - 7037.46 + "2016-12-16", + 780.98 ], [ - "2021-11-27", - 54759.05 + "2016-12-17", + 788.57 ], [ - "2021-11-26", - 53757.67 + "2016-12-18", + 790.72 ], [ - "2021-11-25", - 58987.27 + "2016-12-19", + 790.81 ], [ - "2021-11-24", - 57162.66 + "2016-12-20", + 798.99 ], [ - "2021-11-23", - 57566.85 + "2016-12-21", + 834.5 ], [ - "2021-11-22", - 56280.81 + "2016-12-22", + 856.02 ], [ - "2021-11-21", - 58671.21 + "2016-12-23", + 917.26 ], [ - "2021-11-20", - 59760.76 + "2016-12-24", + 891.5 ], [ - "2021-11-19", - 58122.16 + "2016-12-25", + 896.12 ], [ - "2021-11-18", - 56898 + "2016-12-26", + 902.09 ], [ - "2021-11-17", - 60351.51 + "2016-12-27", + 925.2 ], [ - "2021-11-16", - 60107.98 + "2016-12-28", + 982.17 ], [ - "2021-11-15", - 63624.59 + "2016-12-29", + 970.72 ], [ - "2021-11-14", - 65505.02 + "2016-12-30", + 960.81 ], [ - "2021-11-13", - 64400.01 + "2016-12-31", + 973.37 ], [ - "2021-11-12", - 64147.9 + "2017-01-01", + 992.95 ], [ - "2021-11-11", - 64807.59 + "2017-01-02", + 1011.45 ], [ - "2021-11-10", - 64912.2 + "2017-01-03", + 1020.67 ], [ - "2021-11-09", - 66944.66 + "2017-01-04", + 1130.3 ], [ - "2021-11-08", - 67554.84 + "2017-01-05", + 1007 ], [ - "2021-11-07", - 63309.13 + "2017-01-06", + 895.71 ], [ - "2021-11-06", - 61539.31 + "2017-01-07", + 909 ], [ - "2021-11-05", - 61006.15 + "2017-01-08", + 923.33 ], [ - "2021-11-04", - 61444.5 + "2017-01-09", + 902.66 ], [ - "2021-11-03", - 62935.41 + "2017-01-10", + 907 ], [ - "2021-11-02", - 63266.51 + "2017-01-11", + 795.77 ], [ - "2021-11-01", - 60949.54 + "2017-01-12", + 812.25 ], [ - "2021-10-31", - 61343.68 + "2017-01-13", + 831.42 ], [ - "2021-10-30", - 61892.41 + "2017-01-14", + 828 ], [ - "2021-10-29", - 62276.72 + "2017-01-15", + 833.31 ], [ - "2021-10-28", - 60591.65 + "2017-01-16", + 834.41 ], [ - "2021-10-27", - 58455.47 + "2017-01-17", + 906 ], [ - "2021-10-26", - 60337.62 + "2017-01-18", + 887.99 ], [ - "2021-10-25", - 63083.54 + "2017-01-19", + 902.92 ], [ - "2021-10-24", - 60854.48 + "2017-01-20", + 894.31 ], [ - "2021-10-23", - 61300.01 + "2017-01-21", + 925.06 ], [ - "2021-10-22", - 60687.64 + "2017-01-22", + 931.22 ], [ - "2021-10-21", - 62204.02 + "2017-01-23", + 910.7 ], [ - "2021-10-20", - 66026.54 + "2017-01-24", + 887 ], [ - "2021-10-19", - 64303.14 + "2017-01-25", + 896 ], [ - "2021-10-18", - 62042.41 + "2017-01-26", + 917.02 ], [ - "2021-10-17", - 61527.11 + "2017-01-27", + 922.63 ], [ - "2021-10-16", - 60877.42 + "2017-01-28", + 924.98 ], [ - "2021-10-15", - 61695.39 + "2017-01-29", + 916.54 ], [ - "2021-10-14", - 57359.51 + "2017-01-30", + 923.23 ], [ - "2021-10-13", - 57367.32 + "2017-01-31", + 970.01 ], [ - "2021-10-12", - 56005.1 + "2017-02-01", + 992.75 ], [ - "2021-10-11", - 57487.44 + "2017-02-02", + 1008.38 ], [ - "2021-10-10", - 54690.53 + "2017-02-03", + 1018 ], [ - "2021-10-09", - 54962.29 + "2017-02-04", + 1035.54 ], [ - "2021-10-08", - 53963.82 + "2017-02-05", + 1016.32 ], [ - "2021-10-07", - 53797.82 + "2017-02-06", + 1022.58 ], [ - "2021-10-06", - 55339.48 + "2017-02-07", + 1053.96 ], [ - "2021-10-05", - 51493.99 + "2017-02-08", + 1056.7 ], [ - "2021-10-04", - 49245.54 + "2017-02-09", + 994.24 ], [ - "2021-10-03", - 48233.99 + "2017-02-10", + 1001.99 ], [ - "2021-10-02", - 47657.69 + "2017-02-11", + 1018.65 ], [ - "2021-10-01", - 48165.76 + "2017-02-12", + 1010 ], [ - "2021-09-30", - 43824.43 + "2017-02-13", + 1002.82 ], [ - "2021-09-29", - 41522.16 + "2017-02-14", + 1013.92 ], [ - "2021-09-28", - 41026.07 + "2017-02-15", + 1014.53 ], [ - "2021-09-27", - 42171.76 + "2017-02-16", + 1038.94 ], [ - "2021-09-26", - 43178.02 + "2017-02-17", + 1057.3 ], [ - "2021-09-25", - 42705.51 + "2017-02-18", + 1062.15 ], [ - "2021-09-24", - 42848.92 + "2017-02-19", + 1059.88 ], [ - "2021-09-23", - 44897.59 + "2017-02-20", + 1089.82 ], [ - "2021-09-22", - 43575.1 + "2017-02-21", + 1128.29 ], [ - "2021-09-21", - 40719.6 + "2017-02-22", + 1128.71 ], [ - "2021-09-20", - 43012.97 + "2017-02-23", + 1186.9 ], [ - "2021-09-19", - 47255.92 + "2017-02-24", + 1186.91 ], [ - "2021-09-18", - 48314.56 + "2017-02-25", + 1158 ], [ - "2021-09-17", - 47303.5 + "2017-02-26", + 1184.91 ], [ - "2021-09-16", - 47753.16 + "2017-02-27", + 1195.81 ], [ - "2021-09-15", - 48148.12 + "2017-02-28", + 1195.08 ], [ - "2021-09-14", - 47127.22 + "2017-03-01", + 1230 ], [ - "2021-09-13", - 44947.72 + "2017-03-02", + 1269.17 ], [ - "2021-09-12", - 46024.23 + "2017-03-03", + 1292.86 ], [ - "2021-09-11", - 45171.83 + "2017-03-04", + 1273.97 ], [ - "2021-09-10", - 44851.45 + "2017-03-05", + 1278.98 ], [ - "2021-09-09", - 46400 + "2017-03-06", + 1284.99 ], [ - "2021-09-08", - 46060.36 + "2017-03-07", + 1237.36 ], [ - "2021-09-07", - 46894.5 + "2017-03-08", + 1150.22 ], [ - "2021-09-06", - 52698.81 + "2017-03-09", + 1197.3 ], [ - "2021-09-05", - 51789.17 + "2017-03-10", + 1109.01 ], [ - "2021-09-04", - 49942.98 + "2017-03-11", + 1188.11 ], [ - "2021-09-03", - 50025 + "2017-03-12", + 1235.58 ], [ - "2021-09-02", - 49279.37 + "2017-03-13", + 1245.49 ], [ - "2021-09-01", - 48839.86 + "2017-03-14", + 1247.42 ], [ - "2021-08-31", - 47112.5 + "2017-03-15", + 1263 ], [ - "2021-08-30", - 46993.71 + "2017-03-16", + 1175.11 ], [ - "2021-08-29", - 48802.58 + "2017-03-17", + 1069.57 ], [ - "2021-08-28", - 48942.94 + "2017-03-18", + 970 ], [ - "2021-08-27", - 49077.57 + "2017-03-19", + 1019.49 ], [ - "2021-08-26", - 46851.47 + "2017-03-20", + 1044.96 ], [ - "2021-08-25", - 48987.33 + "2017-03-21", + 1114.42 ], [ - "2021-08-24", - 47682.45 + "2017-03-22", + 1034.57 ], [ - "2021-08-23", - 49506.5 + "2017-03-23", + 1025.14 ], [ - "2021-08-22", - 49284.63 + "2017-03-24", + 934.87 ], [ - "2021-08-21", - 48867.02 + "2017-03-25", + 963.72 ], [ - "2021-08-20", - 49342.4 + "2017-03-26", + 973.08 ], [ - "2021-08-19", - 46765.87 + "2017-03-27", + 1042.08 ], [ - "2021-08-18", - 44707.98 + "2017-03-28", + 1045.4 ], [ - "2021-08-17", - 44671.58 + "2017-03-29", + 1043.27 ], [ - "2021-08-16", - 45902.46 + "2017-03-30", + 1042.34 ], [ - "2021-08-15", - 47014.49 + "2017-03-31", + 1088.99 ], [ - "2021-08-14", - 47109.65 + "2017-04-01", + 1092 ], [ - "2021-08-13", - 47833.64 + "2017-04-02", + 1113.99 ], [ - "2021-08-12", - 44422.14 + "2017-04-03", + 1152.6 ], [ - "2021-08-11", - 45553.49 + "2017-04-04", + 1143.99 ], [ - "2021-08-10", - 45595.66 + "2017-04-05", + 1132.99 ], [ - "2021-08-09", - 46285.48 + "2017-04-06", + 1192.3 ], [ - "2021-08-08", - 43829.14 + "2017-04-07", + 1194 ], [ - "2021-08-07", - 44637.34 + "2017-04-08", + 1184.5 ], [ - "2021-08-06", - 42869.58 + "2017-04-09", + 1210.97 ], [ - "2021-08-05", - 40888.74 + "2017-04-10", + 1210 ], [ - "2021-08-04", - 39722.41 + "2017-04-11", + 1223.99 ], [ - "2021-08-03", - 38191.44 + "2017-04-12", + 1214.17 ], [ - "2021-08-02", - 39149.59 + "2017-04-13", + 1177.05 ], [ - "2021-08-01", - 39865.41 + "2017-04-14", + 1173.74 ], [ - "2021-07-31", - 41495.01 + "2017-04-15", + 1178.85 ], [ - "2021-07-30", - 42237.95 + "2017-04-16", + 1177.99 ], [ - "2021-07-29", - 40039.44 + "2017-04-17", + 1189.91 ], [ - "2021-07-28", - 40035.1 + "2017-04-18", + 1201.94 ], [ - "2021-07-27", - 39470.48 + "2017-04-19", + 1214.21 ], [ - "2021-07-26", - 37262.77 + "2017-04-20", + 1236.15 ], [ - "2021-07-25", - 35428.26 + "2017-04-21", + 1249.99 ], [ - "2021-07-24", - 34283.01 + "2017-04-22", + 1247 ], [ - "2021-07-23", - 33647.26 + "2017-04-23", + 1251.98 ], [ - "2021-07-22", - 32287.74 + "2017-04-24", + 1257.29 ], [ - "2021-07-21", - 32135.19 + "2017-04-25", + 1281.16 ], [ - "2021-07-20", - 29796.16 + "2017-04-26", + 1298.44 ], [ - "2021-07-19", - 30842.03 + "2017-04-27", + 1349.26 ], [ - "2021-07-18", - 31788.25 + "2017-04-28", + 1353.34 ], [ - "2021-07-17", - 31533.91 + "2017-04-29", + 1365.43 ], [ - "2021-07-16", - 31388.06 + "2017-04-30", + 1384.55 ], [ - "2021-07-15", - 31868.68 + "2017-05-01", + 1436.5 ], [ - "2021-07-14", - 32816.39 + "2017-05-02", + 1471.99 ], [ - "2021-07-13", - 32734.14 + "2017-05-03", + 1533 ], [ - "2021-07-12", - 33091.1 + "2017-05-04", + 1563.39 ], [ - "2021-07-11", - 34259.23 + "2017-05-05", + 1551.3 ], [ - "2021-07-10", - 33515.35 + "2017-05-06", + 1585.39 ], [ - "2021-07-09", - 33824.26 + "2017-05-07", + 1609.57 ], [ - "2021-07-08", - 32875.95 + "2017-05-08", + 1713 ], [ - "2021-07-07", - 33878.56 + "2017-05-09", + 1720.43 ], [ - "2021-07-06", - 34225.73 + "2017-05-10", + 1794.99 ], [ - "2021-07-05", - 33697.78 + "2017-05-11", + 1837.93 ], [ - "2021-07-04", - 35284.05 + "2017-05-12", + 1695.61 ], [ - "2021-07-03", - 34682.16 + "2017-05-13", + 1792.73 ], [ - "2021-07-02", - 33805.02 + "2017-05-14", + 1799.99 ], [ - "2021-07-01", - 33516.11 + "2017-05-15", + 1747.81 ], [ - "2021-06-30", - 35060 + "2017-05-16", + 1777.48 ], [ - "2021-06-29", - 35904.28 + "2017-05-17", + 1813.23 ], [ - "2021-06-28", - 34493.22 + "2017-05-18", + 1899.16 ], [ - "2021-06-27", - 34709.23 + "2017-05-19", + 1976.23 ], [ - "2021-06-26", - 32275.19 + "2017-05-20", + 2058.91 ], [ - "2021-06-25", - 31594.63 + "2017-05-21", + 2057 ], [ - "2021-06-24", - 34654.58 + "2017-05-22", + 2123.29 ], [ - "2021-06-23", - 33688.35 + "2017-05-23", + 2272.75 ], [ - "2021-06-22", - 32538.37 + "2017-05-24", + 2432.97 ], [ - "2021-06-21", - 31609.82 + "2017-05-25", + 2355 ], [ - "2021-06-20", - 35585.78 + "2017-05-26", + 2272.7 ], [ - "2021-06-19", - 35484.79 + "2017-05-27", + 2099.99 ], [ - "2021-06-18", - 35841.81 + "2017-05-28", + 2232.78 ], [ - "2021-06-17", - 38095.17 + "2017-05-29", + 2279.48 ], [ - "2021-06-16", - 38351 + "2017-05-30", + 2191.58 ], [ - "2021-06-15", - 40162.37 + "2017-05-31", + 2303.29 ], [ - "2021-06-14", - 40539.47 + "2017-06-01", + 2419.99 ], [ - "2021-06-13", - 39015.24 + "2017-06-02", + 2478.99 ], [ - "2021-06-12", - 35557.33 + "2017-06-03", + 2548.05 ], [ - "2021-06-11", - 37338.44 + "2017-06-04", + 2521.36 ], [ - "2021-06-10", - 36694.05 + "2017-06-05", + 2698 ], [ - "2021-06-09", - 37403.86 + "2017-06-06", + 2871.29 ], [ - "2021-06-08", - 33402.13 + "2017-06-07", + 2685.64 ], [ - "2021-06-07", - 33575.91 + "2017-06-08", + 2799.73 ], [ - "2021-06-06", - 35800.48 + "2017-06-09", + 2811.39 ], [ - "2021-06-05", - 35539.49 + "2017-06-10", + 2931.15 ], [ - "2021-06-04", - 36856.52 + "2017-06-11", + 2998.98 ], [ - "2021-06-03", - 39248.55 + "2017-06-12", + 2655.71 ], [ - "2021-06-02", - 37577.91 + "2017-06-13", + 2709.01 ], [ - "2021-06-01", - 36685 + "2017-06-14", + 2432.21 ], [ - "2021-05-31", - 37279.31 + "2017-06-15", + 2409.98 ], [ - "2021-05-30", - 35669.44 + "2017-06-16", + 2480.43 ], [ - "2021-05-29", - 34627.82 + "2017-06-17", + 2634.94 ], [ - "2021-05-28", - 35680.47 + "2017-06-18", + 2515.25 ], [ - "2021-05-27", - 38556.88 + "2017-06-19", + 2596.98 ], [ - "2021-05-26", - 39293.23 + "2017-06-20", + 2725.08 ], [ - "2021-05-25", - 38361.81 + "2017-06-21", + 2643.35 ], [ - "2021-05-24", - 38878.56 + "2017-06-22", + 2679.99 ], [ - "2021-05-23", - 34758.67 + "2017-06-23", + 2690.76 ], [ - "2021-05-22", - 37476.83 + "2017-06-24", + 2574.84 ], [ - "2021-05-21", - 37340.77 + "2017-06-25", + 2505.61 ], [ - "2021-05-20", - 40623.33 + "2017-06-26", + 2407.91 ], [ - "2021-05-19", - 36731.75 + "2017-06-27", + 2575.75 ], [ - "2021-05-18", - 42857.15 + "2017-06-28", + 2553.12 ], [ - "2021-05-17", - 43580.5 + "2017-06-29", + 2530 ], [ - "2021-05-16", - 46450.79 + "2017-06-30", + 2455.19 ], [ - "2021-05-15", - 46775.51 + "2017-07-01", + 2423.63 ], [ - "2021-05-14", - 49893.48 + "2017-07-02", + 2516.66 ], [ - "2021-05-13", - 49690.11 + "2017-07-03", + 2542.41 ], [ - "2021-05-12", - 49498.77 + "2017-07-04", + 2602 ], [ - "2021-05-11", - 56753.19 + "2017-07-05", + 2616.96 ], [ - "2021-05-10", - 55866.41 + "2017-07-06", + 2604.84 ], [ - "2021-05-09", - 58312.57 + "2017-07-07", + 2501.15 ], [ - "2021-05-08", - 58958.05 + "2017-07-08", + 2561.11 ], [ - "2021-05-07", - 57380.39 + "2017-07-09", + 2508.99 ], [ - "2021-05-06", - 56440.66 + "2017-07-10", + 2331.05 ], [ - "2021-05-05", - 57515.69 + "2017-07-11", + 2310.01 ], [ - "2021-05-04", - 53241.92 + "2017-07-12", + 2383.42 ], [ - "2021-05-03", - 57212.73 + "2017-07-13", + 2340 ], [ - "2021-05-02", - 56625.2 + "2017-07-14", + 2217.24 ], [ - "2021-05-01", - 57859.28 + "2017-07-15", + 1964.31 ], [ - "2021-04-30", - 57798.77 + "2017-07-16", + 1911.78 ], [ - "2021-04-29", - 53580 + "2017-07-17", + 2235.19 ], [ - "2021-04-28", - 54894.03 + "2017-07-18", + 2308.15 ], [ - "2021-04-27", - 55069.62 + "2017-07-19", + 2258.99 ], [ - "2021-04-26", - 54053.6 + "2017-07-20", + 2873.48 ], [ - "2021-04-25", - 49121 + "2017-07-21", + 2657.45 ], [ - "2021-04-24", - 50089.15 + "2017-07-22", + 2825.27 ], [ - "2021-04-23", - 51187.27 + "2017-07-23", + 2754.28 ], [ - "2021-04-22", - 51701.59 + "2017-07-24", + 2762.26 ], [ - "2021-04-21", - 53800.86 + "2017-07-25", + 2564 ], [ - "2021-04-20", - 56499.29 + "2017-07-26", + 2525.99 ], [ - "2021-04-19", - 55696.83 + "2017-07-27", + 2664.99 ], [ - "2021-04-18", - 56274.41 + "2017-07-28", + 2786.07 ], [ - "2021-04-17", - 60058.86 + "2017-07-29", + 2700.21 ], [ - "2021-04-16", - 61427.27 + "2017-07-30", + 2723.99 ], [ - "2021-04-15", - 63229.04 + "2017-07-31", + 2856.88 ], [ - "2021-04-14", - 62971.8 + "2017-08-01", + 2732.59 ], [ - "2021-04-13", - 63588.22 + "2017-08-02", + 2699.9 ], [ - "2021-04-12", - 59839.82 + "2017-08-03", + 2787.02 ], [ - "2021-04-11", - 59985.26 + "2017-08-04", + 2857.34 ], [ - "2021-04-10", - 59778.6 + "2017-08-05", + 3243.49 ], [ - "2021-04-09", - 58092.68 + "2017-08-06", + 3222.22 ], [ - "2021-04-08", - 58083.1 + "2017-08-07", + 3398.23 ], [ - "2021-04-07", - 55955.75 + "2017-08-08", + 3422.43 ], [ - "2021-04-06", - 58019.98 + "2017-08-09", + 3342.8 ], [ - "2021-04-05", - 59123.02 + "2017-08-10", + 3444.98 ], [ - "2021-04-04", - 58215.94 + "2017-08-11", + 3656.15 ], [ - "2021-04-03", - 57094.34 + "2017-08-12", + 3874 ], [ - "2021-04-02", - 58981.04 + "2017-08-13", + 4060.47 ], [ - "2021-04-01", - 58726.48 + "2017-08-14", + 4320.6 ], [ - "2021-03-31", - 58800 + "2017-08-15", + 4159.93 ], [ - "2021-03-30", - 58786.46 + "2017-08-16", + 4370.01 ], [ - "2021-03-29", - 57613.48 + "2017-08-17", + 4280.01 ], [ - "2021-03-28", - 55778.82 + "2017-08-18", + 4101.72 ], [ - "2021-03-27", - 55856.53 + "2017-08-19", + 4157.41 ], [ - "2021-03-26", - 55072.44 + "2017-08-20", + 4050.99 ], [ - "2021-03-25", - 51325.01 + "2017-08-21", + 4002 ], [ - "2021-03-24", - 52276.16 + "2017-08-22", + 4092 ], [ - "2021-03-23", - 54345.54 + "2017-08-23", + 4143.49 ], [ - "2021-03-22", - 54110.07 + "2017-08-24", + 4312.03 ], [ - "2021-03-21", - 57363.32 + "2017-08-25", + 4360 ], [ - "2021-03-20", - 58116.7 + "2017-08-26", + 4344.32 ], [ - "2021-03-19", - 58039.66 + "2017-08-27", + 4340.11 ], [ - "2021-03-18", - 57644.95 + "2017-08-28", + 4384.99 ], [ - "2021-03-17", - 58925.54 + "2017-08-29", + 4599 ], [ - "2021-03-16", - 56927.11 + "2017-08-30", + 4581.98 ], [ - "2021-03-15", - 55636.15 + "2017-08-31", + 4743.94 ], [ - "2021-03-14", - 58972.7 + "2017-09-01", + 4947.99 ], [ - "2021-03-13", - 61178.5 + "2017-09-02", + 4649.99 ], [ - "2021-03-12", - 57225.91 + "2017-09-03", + 4626.05 ], [ - "2021-03-11", - 57815.47 + "2017-09-04", + 4498.25 ], [ - "2021-03-10", - 55890.69 + "2017-09-05", + 4432.51 ], [ - "2021-03-09", - 54916.38 + "2017-09-06", + 4616.18 ], [ - "2021-03-08", - 52415.23 + "2017-09-07", + 4624.18 ], [ - "2021-03-07", - 50978.61 + "2017-09-08", + 4350 ], [ - "2021-03-06", - 48909.84 + "2017-09-09", + 4334.36 ], [ - "2021-03-05", - 48769.47 + "2017-09-10", + 4251.36 ], [ - "2021-03-04", - 48368.52 + "2017-09-11", + 4210.72 ], [ - "2021-03-03", - 50360 + "2017-09-12", + 4164.52 ], [ - "2021-03-02", - 48511.6 + "2017-09-13", + 3855.32 ], [ - "2021-03-01", - 49639.4 + "2017-09-14", + 3250.4 ], [ - "2021-02-28", - 45231.75 + "2017-09-15", + 3740.02 ], [ - "2021-02-27", - 46180.75 + "2017-09-16", + 3726.51 ], [ - "2021-02-26", - 46326.2 + "2017-09-17", + 3719.97 ], [ - "2021-02-25", - 47058.48 + "2017-09-18", + 4100 ], [ - "2021-02-24", - 49737.82 + "2017-09-19", + 3910.11 ], [ - "2021-02-23", - 48899.99 + "2017-09-20", + 3872.06 ], [ - "2021-02-22", - 54142.13 + "2017-09-21", + 3617.47 ], [ - "2021-02-21", - 57489.16 + "2017-09-22", + 3619.01 ], [ - "2021-02-20", - 55923.52 + "2017-09-23", + 3787.33 ], [ - "2021-02-19", - 55983.56 + "2017-09-24", + 3669.01 ], [ - "2021-02-18", - 51601.73 + "2017-09-25", + 3919.78 ], [ - "2021-02-17", - 52170.01 + "2017-09-26", + 3885.09 ], [ - "2021-02-16", - 49158.71 + "2017-09-27", + 4200 ], [ - "2021-02-15", - 47936.37 + "2017-09-28", + 4189.42 ], [ - "2021-02-14", - 48680.69 + "2017-09-29", + 4156.99 ], [ - "2021-02-13", - 47232.45 + "2017-09-30", + 4339 ], [ - "2021-02-12", - 47408.34 + "2017-10-01", + 4394.81 ], [ - "2021-02-11", - 47997.91 + "2017-10-02", + 4392.71 ], [ - "2021-02-10", - 44850 + "2017-10-03", + 4307.99 ], [ - "2021-02-09", - 46514.73 + "2017-10-04", + 4214.84 ], [ - "2021-02-08", - 46448.1 + "2017-10-05", + 4320.04 ], [ - "2021-02-07", - 38871.42 + "2017-10-06", + 4362.99 ], [ - "2021-02-06", - 39265.43 + "2017-10-07", + 4425 ], [ - "2022-09-18", - 19417.64 + "2017-10-08", + 4603.49 ], [ - "2022-09-17", - 20113.37 + "2017-10-09", + 4769.55 ], [ - "2022-09-16", - 19801.04 + "2017-10-10", + 4750 ], [ - "2022-09-15", - 19703.67 + "2017-10-11", + 4814.99 ], [ - "2022-09-14", - 20227.77 + "2017-10-12", + 5440 ], [ - "2022-09-13", - 20174.78 + "2017-10-13", + 5624.8 ], [ - "2022-09-12", - 22402.71 + "2017-10-14", + 5819.13 ], [ - "2022-09-11", - 21831.72 + "2017-10-15", + 5693.7 ], [ - "2022-09-10", - 21651.52 + "2017-10-16", + 5754.9 ], [ - "2022-09-09", - 21364.5 + "2017-10-17", + 5594 ], [ - "2022-09-08", - 19321.87 + "2017-10-18", + 5574.44 ], [ - "2022-09-07", - 19293.52 + "2017-10-19", + 5704.01 ], [ - "2022-09-06", - 18790.91 + "2017-10-20", + 5989.1 ], [ - "2022-09-05", - 19794.58 + "2017-10-21", + 6024.86 ], [ - "2022-09-04", - 20004.73 + "2017-10-22", + 6005.05 ], [ - "2022-09-03", - 19835.47 + "2017-10-23", + 5905.99 ], [ - "2022-09-02", - 19953.74 + "2017-10-24", + 5525.43 ], [ - "2022-09-01", - 20133.65 + "2017-10-25", + 5739.97 ], [ - "2022-08-31", - 20048.26 + "2017-10-26", + 5891.61 ], [ - "2022-08-30", - 19813.17 + "2017-10-27", + 5780 ], [ - "2022-08-29", - 20286.97 + "2017-10-28", + 5752.01 ], [ - "2022-08-28", - 19554.03 + "2017-10-29", + 6140.01 ], [ - "2022-08-27", - 20036.69 + "2017-10-30", + 6124.16 ], [ - "2022-08-26", - 20240.72 + "2017-10-31", + 6445.01 ], [ - "2022-08-25", - 21561.86 + "2017-11-01", + 6783.69 ], [ - "2022-08-24", - 21367.12 + "2017-11-02", + 7039.98 ], [ - "2022-08-23", - 21528.34 + "2017-11-03", + 7170.01 ], [ - "2022-08-22", - 21398.25 + "2017-11-04", + 7412.55 ], [ - "2022-08-21", - 21518.62 + "2017-11-05", + 7392 ], [ - "2022-08-20", - 21139.23 + "2017-11-06", + 6969.76 ], [ - "2022-08-19", - 20834.94 + "2017-11-07", + 7126.63 ], [ - "2022-08-18", - 23189.46 + "2017-11-08", + 7467.96 ], [ - "2022-08-17", - 23341.17 + "2017-11-09", + 7156 ], [ - "2022-08-16", - 23857.93 + "2017-11-10", + 6577.62 ], [ - "2022-08-15", - 24097.82 + "2017-11-11", + 6346.7 ], [ - "2022-08-14", - 24316.71 + "2017-11-12", + 5886.35 ], [ - "2022-08-13", - 24456.49 + "2017-11-13", + 6535.87 ], [ - "2022-08-12", - 24415.18 + "2017-11-14", + 6605 ], [ - "2022-08-11", - 23944.86 + "2017-11-15", + 7294 ], [ - "2022-08-10", - 23962.18 + "2017-11-16", + 7838.53 ], [ - "2022-08-09", - 23158.27 + "2017-11-17", + 7714.71 ], [ - "2022-08-08", - 23815.65 + "2017-11-18", + 7777.01 ], [ - "2022-08-07", - 23177.39 + "2017-11-19", + 8031.82 ], [ - "2022-08-06", - 22960.93 + "2017-11-20", + 8256.01 ], [ - "2022-08-05", - 23320.81 + "2017-11-21", + 8109 ], [ - "2022-08-04", - 22623.94 + "2017-11-22", + 8250 ], [ - "2022-08-03", - 22825 + "2017-11-23", + 8031.16 ], [ - "2022-08-02", - 22989.4 + "2017-11-24", + 8215.01 ], [ - "2022-08-01", - 23273.86 + "2017-11-25", + 8795.5 ], [ - "2022-07-31", - 23307.44 + "2017-11-26", + 9401.11 ], [ - "2022-07-30", - 23650.13 + "2017-11-27", + 9768.71 ], [ - "2022-07-29", - 23784.5 + "2017-11-28", + 9949 ], [ - "2022-07-28", - 23851.7 + "2017-11-29", + 9935.98 ], [ - "2022-07-27", - 22962.59 + "2017-11-30", + 9903 ], [ - "2022-07-26", - 21261.57 + "2017-12-01", + 10869.84 ], [ - "2022-07-25", - 21313.41 + "2017-12-02", + 10930.24 ], [ - "2022-07-24", - 22583.43 + "2017-12-03", + 11290 ], [ - "2022-07-23", - 22450.69 + "2017-12-04", + 11643.98 ], [ - "2022-07-22", - 22687.68 + "2017-12-05", + 11718.35 ], [ - "2022-07-21", - 23153.96 + "2017-12-06", + 14090 ], [ - "2022-07-20", - 23226.99 + "2017-12-07", + 17390.01 ], [ - "2022-07-19", - 23395.06 + "2017-12-08", + 16367.03 ], [ - "2022-07-18", - 22427.56 + "2017-12-09", + 15309.98 ], [ - "2022-07-17", - 20791.74 + "2017-12-10", + 15290.01 ], [ - "2022-07-16", - 21189.68 + "2017-12-11", + 16885.76 ], [ - "2022-07-15", - 20827.55 + "2017-12-12", + 17730.12 ], [ - "2022-07-14", - 20577.02 + "2017-12-13", + 16689.61 ], [ - "2022-07-13", - 20220.23 + "2017-12-14", + 16749.78 ], [ - "2022-07-12", - 19303.65 + "2017-12-15", + 17738.67 ], [ - "2022-07-11", - 19942.43 + "2017-12-16", + 19650.01 ], [ - "2022-07-10", - 20850.65 + "2017-12-17", + 19378.99 ], [ - "2022-07-09", - 21583.99 + "2017-12-18", + 19039.01 ], [ - "2022-07-08", - 21582.2 + "2017-12-19", + 17838.73 ], [ - "2022-07-07", - 21614.6 + "2017-12-20", + 16496.89 ], [ - "2022-07-06", - 20542.67 + "2017-12-21", + 15758.8 ], [ - "2022-07-05", - 20153.51 + "2017-12-22", + 14210.57 ], [ - "2022-07-04", - 20211.35 + "2017-12-23", + 15075.89 ], [ - "2022-07-03", - 19291.33 + "2017-12-24", + 14221.94 ], [ - "2022-07-02", - 19224.03 + "2017-12-25", + 14171.98 ], [ - "2022-07-01", - 19252.76 + "2017-12-26", + 15790.88 ], [ - "2022-06-30", - 19985.62 + "2017-12-27", + 15367.08 ], [ - "2022-06-29", - 20094.79 + "2017-12-28", + 14450.01 ], [ - "2022-06-28", - 20252.89 + "2017-12-29", + 14565.05 ], [ - "2022-06-27", - 20725.17 + "2017-12-30", + 12839.99 ], [ - "2022-06-26", - 21027.92 + "2017-12-31", + 13863.13 ], [ - "2022-06-25", - 21478.04 + "2018-01-01", + 13480.01 ], [ - "2022-06-24", - 21223.72 + "2018-01-02", + 14781.51 ], [ - "2022-06-23", - 21104.45 + "2018-01-03", + 15098.14 ], [ - "2022-06-22", - 19968.46 + "2018-01-04", + 15144.99 ], [ - "2022-06-21", - 20696.96 + "2018-01-05", + 16960.01 ], [ - "2022-06-20", - 20549.75 + "2018-01-06", + 17098.99 ], [ - "2022-06-19", - 20552.44 + "2018-01-07", + 16174.22 ], [ - "2022-06-18", - 18948.89 + "2018-01-08", + 14993.74 ], [ - "2022-06-17", - 20447.86 + "2018-01-09", + 14480.99 ], [ - "2022-06-16", - 20372 + "2018-01-10", + 14875.18 ], [ - "2022-06-15", - 22562.33 + "2018-01-11", + 13308.06 ], [ - "2022-06-14", - 22120.25 + "2018-01-12", + 13820 ], [ - "2022-06-13", - 22460.97 + "2018-01-13", + 14187.95 ], [ - "2022-06-12", - 26555.2 + "2018-01-14", + 13656.23 ], [ - "2022-06-11", - 28388.63 + "2018-01-15", + 13590 ], [ - "2022-06-10", - 29063.11 + "2018-01-16", + 11570.01 ], [ - "2022-06-09", - 30079.62 + "2018-01-17", + 11200.01 ], [ - "2022-06-08", - 30177 + "2018-01-18", + 11305.53 ], [ - "2022-06-07", - 31106.9 + "2018-01-19", + 11498.99 ], [ - "2022-06-06", - 31343.61 + "2018-01-20", + 12762.8 ], [ - "2022-06-05", - 29901.54 + "2018-01-21", + 11518.17 ], [ - "2022-06-04", - 29843.18 + "2018-01-22", + 10766.7 ], [ - "2022-06-03", - 29670.85 + "2018-01-23", + 10824.94 ], [ - "2022-06-02", - 30433.75 + "2018-01-24", + 11356.79 ], [ - "2022-06-01", - 29788.79 + "2018-01-25", + 11118 ], [ - "2022-05-31", - 31784.05 + "2018-01-26", + 11086.89 ], [ - "2022-05-30", - 31711.42 + "2018-01-27", + 11319 ], [ - "2022-05-29", - 29447.07 + "2018-01-28", + 11536 ], [ - "2022-05-28", - 29008.99 + "2018-01-29", + 11123.01 ], [ - "2022-05-27", - 28598.31 + "2018-01-30", + 9995 ], [ - "2022-05-26", - 29166.06 + "2018-01-31", + 10099.99 ], [ - "2022-05-25", - 29503.49 + "2018-02-01", + 9014.23 ], [ - "2022-05-24", - 29626.44 + "2018-02-02", + 8787.52 ], [ - "2022-05-23", - 29082.52 + "2018-02-03", + 9240 ], [ - "2022-05-22", - 30260.87 + "2018-02-04", + 8167.91 ], [ - "2022-05-21", - 29408.26 + "2018-02-05", + 6905.19 ], [ - "2022-05-20", - 29155.75 + "2018-02-06", + 7688.46 ], [ - "2022-05-19", - 30274.59 + "2018-02-07", + 7575.75 ], [ - "2022-05-18", - 28672.94 + "2018-02-08", + 8218.1 ], [ - "2022-05-17", - 30412.12 + "2018-02-09", + 8671.01 ], [ - "2022-05-16", - 29839.89 + "2018-02-10", + 8547.49 ], [ - "2022-05-15", - 31290.05 + "2018-02-11", + 8072.99 ], [ - "2022-05-14", - 30041.88 + "2018-02-12", + 8872.28 ], [ - "2022-05-13", - 29232.18 + "2018-02-13", + 8520.01 ], [ - "2022-05-12", - 28941.95 + "2018-02-14", + 9472.98 ], [ - "2022-05-11", - 28972.34 + "2018-02-15", + 10031.23 ], [ - "2022-05-10", - 31002.39 + "2018-02-16", + 10167.49 ], [ - "2022-05-09", - 30078.27 + "2018-02-17", + 11121.5 ], [ - "2022-05-08", - 34027.91 + "2018-02-18", + 10380.04 ], [ - "2022-05-07", - 35458 + "2018-02-19", + 11140 ], [ - "2022-05-06", - 35999.1 + "2018-02-20", + 11235.57 ], [ - "2022-05-05", - 36537.22 + "2018-02-21", + 10454.27 ], [ - "2022-05-04", - 39669.56 + "2018-02-22", + 9830 ], [ - "2022-05-03", - 37719.59 + "2018-02-23", + 10144.99 ], [ - "2022-05-02", - 38510.89 + "2018-02-24", + 9688.62 ], [ - "2022-05-01", - 38473.05 + "2018-02-25", + 9597.99 ], [ - "2022-04-30", - 37644.1 + "2018-02-26", + 10300 ], [ - "2022-04-29", - 38593.1 + "2018-02-27", + 10566.57 ], [ - "2022-04-28", - 39743.22 + "2018-02-28", + 10307.27 ], [ - "2022-04-27", - 39251.11 + "2018-03-01", + 10895.92 ], [ - "2022-04-26", - 38113.82 + "2018-03-02", + 11000 ], [ - "2022-04-25", - 40439.22 + "2018-03-03", + 11432.5 ], [ - "2022-04-24", - 39464.56 + "2018-03-04", + 11469.9 ], [ - "2022-04-23", - 39465.87 + "2018-03-05", + 11377.54 ], [ - "2022-04-22", - 39712.25 + "2018-03-06", + 10700 ], [ - "2022-04-21", - 40480.81 + "2018-03-07", + 9925 ], [ - "2022-04-20", - 41377.61 + "2018-03-08", + 9304.89 ], [ - "2022-04-19", - 41503.85 + "2018-03-09", + 9255 ], [ - "2022-04-18", - 40803.58 + "2018-03-10", + 8795.44 ], [ - "2022-04-17", - 39683.54 + "2018-03-11", + 9533.88 ], [ - "2022-04-16", - 40387.6 + "2018-03-12", + 9120 ], [ - "2022-04-15", - 40554.58 + "2018-03-13", + 9145.41 ], [ - "2022-04-14", - 39954.08 + "2018-03-14", + 8207.02 ], [ - "2022-04-13", - 41146.68 + "2018-03-15", + 8259.99 ], [ - "2022-04-12", - 40086.23 + "2018-03-16", + 8275 ], [ - "2022-04-11", - 39535.87 + "2018-03-17", + 7857.6 ], [ - "2022-04-10", - 42165.96 + "2018-03-18", + 8192 ], [ - "2022-04-09", - 42766.93 + "2018-03-19", + 8589 ], [ - "2022-04-08", - 42262.02 + "2018-03-20", + 8900 ], [ - "2022-04-07", - 43452.18 + "2018-03-21", + 8891.81 ], [ - "2022-04-06", - 43166.7 + "2018-03-22", + 8715.09 ], [ - "2022-04-05", - 45506.5 + "2018-03-23", + 8927.1 ], [ - "2022-04-04", - 46596.83 + "2018-03-24", + 8531.34 ], [ - "2022-04-03", - 46422.16 + "2018-03-25", + 8453 ], [ - "2022-04-02", - 45826.27 + "2018-03-26", + 8145 ], [ - "2022-04-01", - 46296.34 + "2018-03-27", + 7793.61 ], [ - "2022-03-31", - 45528.45 + "2018-03-28", + 7942.72 ], [ - "2022-03-30", - 47078.03 + "2018-03-29", + 7080 ], [ - "2022-03-29", - 47454.19 + "2018-03-30", + 6848.01 ], [ - "2022-03-28", - 47144.92 + "2018-03-31", + 6928.5 ], [ - "2022-03-27", - 46850.01 + "2018-04-01", + 6816.01 ], [ - "2022-03-26", - 44539.42 + "2018-04-02", + 7045.01 ], [ - "2022-03-25", - 44331.85 + "2018-04-03", + 7424.9 ], [ - "2022-03-24", - 44012.29 + "2018-04-04", + 6791.68 ], [ - "2022-03-23", - 42899.71 + "2018-04-05", + 6785.85 ], [ - "2022-03-22", - 42378.26 + "2018-04-06", + 6619.01 ], [ - "2022-03-21", - 41017.71 + "2018-04-07", + 6894.01 ], [ - "2022-03-20", - 41287.24 + "2018-04-08", + 7020.01 ], [ - "2022-03-19", - 42232.26 + "2018-04-09", + 6771.13 ], [ - "2022-03-18", - 41774.98 + "2018-04-10", + 6824.99 ], [ - "2022-03-17", - 40950.33 + "2018-04-11", + 6942.99 ], [ - "2022-03-16", - 41127.97 + "2018-04-12", + 7916 ], [ - "2022-03-15", - 39298.1 + "2018-04-13", + 7893.19 ], [ - "2022-03-14", - 39674.17 + "2018-04-14", + 8003.11 ], [ - "2022-03-13", - 37793.01 + "2018-04-15", + 8355.25 ], [ - "2022-03-12", - 38813.02 + "2018-04-16", + 8048.93 ], [ - "2022-03-11", - 38732.04 + "2018-04-17", + 7892.1 ], [ - "2022-03-10", - 39433.71 + "2018-04-18", + 8152.05 ], [ - "2022-03-09", - 41953.97 + "2018-04-19", + 8274 ], [ - "2022-03-08", - 38749.38 + "2018-04-20", + 8866.27 ], [ - "2022-03-07", - 37994 + "2018-04-21", + 8915.42 ], [ - "2022-03-06", - 38408.38 + "2018-04-22", + 8795.01 ], [ - "2022-03-05", - 39402.43 + "2018-04-23", + 8931.3 ], [ - "2022-03-04", - 39166.51 + "2018-04-24", + 9645.1 ], [ - "2022-03-03", - 42464.41 + "2018-04-25", + 8865.98 ], [ - "2022-03-02", - 43912.34 + "2018-04-26", + 9272.11 ], [ - "2022-03-01", - 44439.95 + "2018-04-27", + 8922.55 ], [ - "2022-02-28", - 43192.66 + "2018-04-28", + 9329.99 ], [ - "2022-02-27", - 37717.08 + "2018-04-29", + 9389.01 ], [ - "2022-02-26", - 39137.8 + "2018-04-30", + 9243.83 ], [ - "2022-02-25", - 39238.48 + "2018-05-01", + 9072.29 ], [ - "2022-02-24", - 38347.3 + "2018-05-02", + 9190.48 ], [ - "2022-02-23", - 37268.19 + "2018-05-03", + 9725.74 ], [ - "2022-02-22", - 38251.48 + "2018-05-04", + 9685 ], [ - "2022-02-21", - 37023 + "2018-05-05", + 9800 ], [ - "2022-02-20", - 38389.03 + "2018-05-06", + 9600 ], [ - "2022-02-19", - 40101.94 + "2018-05-07", + 9353 ], [ - "2022-02-18", - 39983.56 + "2018-05-08", + 9177.82 ], [ - "2022-02-17", - 40536.73 + "2018-05-09", + 9300.08 ], [ - "2022-02-16", - 43895.56 + "2018-05-10", + 9010.51 ], [ - "2022-02-15", - 44583.52 + "2018-05-11", + 8403.33 ], [ - "2022-02-14", - 42548.71 + "2018-05-12", + 8475 ], [ - "2022-02-13", - 42074.99 + "2018-05-13", + 8686.1 ], [ - "2022-02-12", - 42244.97 + "2018-05-14", + 8670 ], [ - "2022-02-11", - 42386.47 + "2018-05-15", + 8477.46 ], [ - "2022-02-10", - 43527.71 + "2018-05-16", + 8344 ], [ - "2022-02-09", - 44416.35 + "2018-05-17", + 8059 ], [ - "2022-02-08", - 44085.59 + "2018-05-18", + 8238.51 ], [ - "2022-02-07", - 43868.07 + "2018-05-19", + 8235.6 ], [ - "2022-02-06", - 42415.16 + "2018-05-20", + 8516.86 ], [ - "2022-02-05", - 41404.85 + "2018-05-21", + 8393.44 ], [ - "2022-02-04", - 41614.64 + "2018-05-22", + 7987.7 ], [ - "2022-02-03", - 37329.91 + "2018-05-23", + 7505 ], [ - "2022-02-02", - 36923.39 + "2018-05-24", + 7584.15 ], [ - "2022-02-01", - 38716.88 + "2018-05-25", + 7459.11 ], [ - "2022-01-31", - 38491.93 + "2018-05-26", + 7337.95 ], [ - "2022-01-30", - 37901.35 + "2018-05-27", + 7346.64 ], [ - "2022-01-29", - 38191.1 + "2018-05-28", + 7107.94 ], [ - "2022-01-28", - 37741.9 + "2018-05-29", + 7460 ], [ - "2022-01-27", - 37188.37 + "2018-05-30", + 7380.01 ], [ - "2022-01-26", - 36840.63 + "2018-05-31", + 7485 ], [ - "2022-01-25", - 36980 + "2018-06-01", + 7514.32 ], [ - "2022-01-24", - 36693.32 + "2018-06-02", + 7636.42 ], [ - "2022-01-23", - 36282.47 + "2018-06-03", + 7706.37 ], [ - "2022-01-22", - 35066.43 + "2018-06-04", + 7487.37 ], [ - "2022-01-21", - 36456.94 + "2018-06-05", + 7612.51 ], [ - "2022-01-20", - 40670.97 + "2018-06-06", + 7655 ], [ - "2022-01-19", - 41674.27 + "2018-06-07", + 7684.93 ], [ - "2022-01-18", - 42369.74 + "2018-06-08", + 7618.8 ], [ - "2022-01-17", - 42218.01 + "2018-06-09", + 7496.4 ], [ - "2022-01-16", - 43104.34 + "2018-06-10", + 6770.31 ], [ - "2022-01-15", - 43098.2 + "2018-06-11", + 6881 ], [ - "2022-01-14", - 43090.72 + "2018-06-12", + 6545 ], [ - "2022-01-13", - 42581.65 + "2018-06-13", + 6302.31 ], [ - "2022-01-12", - 43920.37 + "2018-06-14", + 6638.49 ], [ - "2022-01-11", - 42753.44 + "2018-06-15", + 6391.22 ], [ - "2022-01-10", - 41824.07 + "2018-06-16", + 6484.29 ], [ - "2022-01-09", - 41876.52 + "2018-06-17", + 6447.16 ], [ - "2022-01-08", - 41684.84 + "2018-06-18", + 6709.02 ], [ - "2022-01-07", - 41565.18 + "2018-06-19", + 6736.41 ], [ - "2022-01-06", - 43083.76 + "2018-06-20", + 6759.18 ], [ - "2022-01-05", - 43436.04 + "2018-06-21", + 6719.01 ], [ - "2022-01-04", - 45814.61 + "2018-06-22", + 6059.82 ], [ - "2022-01-03", - 46459.56 + "2018-06-23", + 6178.29 ], [ - "2022-01-02", - 47299.07 + "2018-06-24", + 6149.99 ], [ - "2022-01-01", - 47733.43 + "2018-06-25", + 6246.01 ], [ - "2021-12-31", - 46211.24 + "2018-06-26", + 6074 ], [ - "2021-12-30", - 47122.08 + "2018-06-27", + 6132.17 ], [ - "2021-12-29", - 46471.24 + "2018-06-28", + 5851.66 ], [ - "2021-12-28", - 47543.09 + "2018-06-29", + 6202.36 ], [ - "2021-12-27", - 50717.77 + "2018-06-30", + 6383.19 ], [ - "2021-12-26", - 50801.79 + "2018-07-01", + 6349.5 ], [ - "2021-12-25", - 50428.31 + "2018-07-02", + 6611.79 ], [ - "2021-12-24", - 50851.38 + "2018-07-03", + 6502.62 ], [ - "2021-12-23", - 50842.2 + "2018-07-04", + 6587.47 ], [ - "2021-12-22", - 48608.62 + "2018-07-05", + 6532.95 ], [ - "2021-12-21", - 48914.7 + "2018-07-06", + 6600 ], [ - "2021-12-20", - 46926.07 + "2018-07-07", + 6753.28 ], [ - "2021-12-19", - 46687.19 + "2018-07-08", + 6701.97 ], [ - "2021-12-18", - 46859.46 + "2018-07-09", + 6664.01 ], [ - "2021-12-17", - 46166.5 + "2018-07-10", + 6303.7 ], [ - "2021-12-16", - 47634.22 + "2018-07-11", + 6390.04 ], [ - "2021-12-15", - 48884.78 + "2018-07-12", + 6249.75 ], [ - "2021-12-14", - 48367.43 + "2018-07-13", + 6216.29 ], [ - "2021-12-13", - 46727.89 + "2018-07-14", + 6248.65 ], [ - "2021-12-12", - 50089.64 + "2018-07-15", + 6348.73 ], [ - "2021-12-11", - 49407.75 + "2018-07-16", + 6728.81 ], [ - "2021-12-10", - 47170.94 + "2018-07-17", + 7315.01 ], [ - "2021-12-09", - 47568.43 + "2018-07-18", + 7378.99 ], [ - "2021-12-08", - 50519.68 + "2018-07-19", + 7470.01 ], [ - "2021-12-07", - 50625.48 + "2018-07-20", + 7334.46 ], [ - "2021-12-06", - 50529.56 + "2018-07-21", + 7408 ], [ - "2021-12-05", - 49484.22 + "2018-07-22", + 7397.8 ], [ - "2021-12-04", - 49241.12 + "2018-07-23", + 7720.09 ], [ - "2021-12-03", - 53638.04 + "2018-07-24", + 8385.5 ], [ - "2021-12-02", - 56521.46 + "2018-07-25", + 8157.15 ], [ - "2021-12-01", - 57226.5 + "2018-07-26", + 7931.99 ], [ - "2021-11-30", - 56987.97 + "2018-07-27", + 8184.21 ], [ - "2021-11-29", - 57838.06 + "2018-07-28", + 8228.9 ], [ - "2021-11-28", - 57317.17 + "2018-07-29", + 8216.34 ], [ - "2023-07-10", - 30419.89 + "2018-07-30", + 8170.01 ], [ - "2023-07-09", - 30168.38 + "2018-07-31", + 7727.27 ], [ - "2023-07-08", - 30291.69 + "2018-08-01", + 7603.99 ], [ - "2023-07-07", - 30352.08 + "2018-08-02", + 7533.92 ], [ - "2023-07-06", - 29899.38 + "2018-08-03", + 7414.08 ], [ - "2023-07-05", - 30499.27 + "2018-08-04", + 7005 ], [ - "2023-07-04", - 30771.25 + "2018-08-05", + 7030.01 ], [ - "2023-07-03", - 31161.8 + "2018-08-06", + 6938 ], [ - "2023-07-02", - 30613.51 + "2018-08-07", + 6718.22 ], [ - "2023-07-01", - 30587.21 + "2018-08-08", + 6282.5 ], [ - "2023-06-30", - 30466.72 + "2018-08-09", + 6546.45 ], [ - "2023-06-29", - 30446.47 + "2018-08-10", + 6146.01 ], [ - "2023-06-28", - 30074.94 + "2018-08-11", + 6235.56 ], [ - "2023-06-27", - 30697.38 + "2018-08-12", + 6316.01 ], [ - "2023-06-26", - 30272.18 + "2018-08-13", + 6253.67 ], [ - "2023-06-25", - 30480.24 + "2018-08-14", + 6195.01 ], [ - "2023-06-24", - 30547.18 + "2018-08-15", + 6269.01 ], [ - "2023-06-23", - 30707.61 + "2018-08-16", + 6315.9 ], [ - "2023-06-22", - 29886.31 + "2018-08-17", + 6585.49 ], [ - "2023-06-21", - 29995.08 + "2018-08-18", + 6396.64 ], [ - "2023-06-20", - 28320.43 + "2018-08-19", + 6489.53 ], [ - "2023-06-19", - 26837.78 + "2018-08-20", + 6258.74 ], [ - "2023-06-18", - 26336.46 + "2018-08-21", + 6475.89 ], [ - "2023-06-17", - 26506.56 + "2018-08-22", + 6359.99 ], [ - "2023-06-16", - 26329.6 + "2018-08-23", + 6526.36 ], [ - "2023-06-15", - 25569.99 + "2018-08-24", + 6690.88 ], [ - "2023-06-14", - 25123.34 + "2018-08-25", + 6737.52 ], [ - "2023-06-13", - 25930.23 + "2018-08-26", + 6709.98 ], [ - "2023-06-12", - 25905.82 + "2018-08-27", + 6911.9 ], [ - "2023-06-11", - 25937.02 + "2018-08-28", + 7071.01 ], [ - "2023-06-10", - 25856.1 + "2018-08-29", + 7030.9 ], [ - "2023-06-09", - 26482.81 + "2018-08-30", + 6983 ], [ - "2023-06-08", - 26508.32 + "2018-08-31", + 7015.01 ], [ - "2023-06-07", - 26346.41 + "2018-09-01", + 7191.08 ], [ - "2023-06-06", - 27243.63 + "2018-09-02", + 7295 ], [ - "2023-06-05", - 25741.5 + "2018-09-03", + 7256.98 ], [ - "2023-06-04", - 27122.04 + "2018-09-04", + 7360 ], [ - "2023-06-03", - 27077.6 + "2018-09-05", + 6687.96 ], [ - "2023-06-02", - 27250.69 + "2018-09-06", + 6495 ], [ - "2023-06-01", - 26828.42 + "2018-09-07", + 6395.01 ], [ - "2023-05-31", - 27223.08 + "2018-09-08", + 6188 ], [ - "2023-05-30", - 27700.15 + "2018-09-09", + 6235.01 ], [ - "2023-05-29", - 27744.82 + "2018-09-10", + 6300 ], [ - "2023-05-28", - 28070.04 + "2018-09-11", + 6282.53 ], [ - "2023-05-27", - 26867.99 + "2018-09-12", + 6326 ], [ - "2023-05-26", - 26714.86 + "2018-09-13", + 6485.99 ], [ - "2023-05-25", - 26479.06 + "2018-09-14", + 6478.04 ], [ - "2023-05-24", - 26321.4 + "2018-09-15", + 6518.68 ], [ - "2023-05-23", - 27223.22 + "2018-09-16", + 6498 ], [ - "2023-05-22", - 26854.73 + "2018-09-17", + 6250.7 ], [ - "2023-05-21", - 26752.65 + "2018-09-18", + 6335.7 ], [ - "2023-05-20", - 27113.61 + "2018-09-19", + 6386.94 ], [ - "2023-05-19", - 26890.27 + "2018-09-20", + 6493.11 ], [ - "2023-05-18", - 26820.49 + "2018-09-21", + 6750 ], [ - "2023-05-17", - 27407.77 + "2018-09-22", + 6707.33 ], [ - "2023-05-16", - 27037.68 + "2018-09-23", + 6696.99 ], [ - "2023-05-15", - 27171.13 + "2018-09-24", + 6582.09 ], [ - "2023-05-14", - 26929.98 + "2018-09-25", + 6436.89 ], [ - "2023-05-13", - 26789.48 + "2018-09-26", + 6455.66 ], [ - "2023-05-12", - 26808.84 + "2018-09-27", + 6680.01 ], [ - "2023-05-11", - 26986.56 + "2018-09-28", + 6620.01 ], [ - "2023-05-10", - 27624.01 + "2018-09-29", + 6581 ], [ - "2023-05-09", - 27647.29 + "2018-09-30", + 6605 ], [ - "2023-05-08", - 27695.06 + "2018-10-01", + 6572.83 ], [ - "2023-05-07", - 28474.53 + "2018-10-02", + 6498.46 ], [ - "2023-05-06", - 28902.66 + "2018-10-03", + 6466.03 ], [ - "2023-05-05", - 29536.76 + "2018-10-04", + 6547.45 ], [ - "2023-05-04", - 28857.23 + "2018-10-05", + 6593.94 ], [ - "2023-05-03", - 29038.75 + "2018-10-06", + 6552.43 ], [ - "2023-05-02", - 28684.4 + "2018-10-07", + 6570 ], [ - "2023-05-01", - 28077.27 + "2018-10-08", + 6608.07 ], [ - "2023-04-30", - 29247.14 + "2018-10-09", + 6589.48 ], [ - "2023-04-29", - 29249.35 + "2018-10-10", + 6524.56 ], [ - "2023-04-28", - 29338.63 + "2018-10-11", + 6154.69 ], [ - "2023-04-27", - 29483.72 + "2018-10-12", + 6188.01 ], [ - "2023-04-26", - 28426.08 + "2018-10-13", + 6196 ], [ - "2023-04-25", - 28304.42 + "2018-10-14", + 6183.49 ], [ - "2023-04-24", - 27515.05 + "2018-10-15", + 6440.42 ], [ - "2023-04-23", - 27592.98 + "2018-10-16", + 6457.11 ], [ - "2023-04-22", - 27821.41 + "2018-10-17", + 6443.7 ], [ - "2023-04-21", - 27253.85 + "2018-10-18", + 6394.96 ], [ - "2023-04-20", - 28248.18 + "2018-10-19", + 6382.99 ], [ - "2023-04-19", - 28809.72 + "2018-10-20", + 6414 ], [ - "2023-04-18", - 30393.4 + "2018-10-21", + 6415.88 ], [ - "2023-04-17", - 29449.91 + "2018-10-22", + 6407.65 ], [ - "2023-04-16", - 30326.09 + "2018-10-23", + 6395.14 ], [ - "2023-04-15", - 30324.11 + "2018-10-24", + 6415.98 ], [ - "2023-04-14", - 30492.92 + "2018-10-25", + 6395.58 ], [ - "2023-04-13", - 30406.78 + "2018-10-26", + 6404.87 ], [ - "2023-04-12", - 29912.2 + "2018-10-27", + 6409.12 ], [ - "2023-04-11", - 30227.19 + "2018-10-28", + 6403.62 ], [ - "2023-04-10", - 29660.41 + "2018-10-29", + 6266 ], [ - "2023-04-09", - 28340.99 + "2018-10-30", + 6267.63 ], [ - "2023-04-08", - 27958.81 + "2018-10-31", + 6304.18 ], [ - "2023-04-07", - 27931.94 + "2018-11-01", + 6344 ], [ - "2023-04-06", - 28053.46 + "2018-11-02", + 6349.8 ], [ - "2023-04-05", - 28175.37 + "2018-11-03", + 6331.96 ], [ - "2023-04-04", - 28179.64 + "2018-11-04", + 6423.28 ], [ - "2023-04-03", - 27811.77 + "2018-11-05", + 6404 ], [ - "2023-04-02", - 28188.34 + "2018-11-06", + 6448.5 ], [ - "2023-04-01", - 28471.46 + "2018-11-07", + 6503.12 ], [ - "2023-03-31", - 28474.4 + "2018-11-08", + 6406.24 ], [ - "2023-03-30", - 28035.48 + "2018-11-09", + 6334.89 ], [ - "2023-03-29", - 28359.54 + "2018-11-10", + 6347.42 ], [ - "2023-03-28", - 27274.15 + "2018-11-11", + 6357.6 ], [ - "2023-03-27", - 27142.87 + "2018-11-12", + 6327.87 ], [ - "2023-03-26", - 27992.9 + "2018-11-13", + 6259.34 ], [ - "2023-03-25", - 27488.18 + "2018-11-14", + 5605.46 ], [ - "2023-03-24", - 27489.24 + "2018-11-15", + 5579.52 ], [ - "2023-03-23", - 28352.94 + "2018-11-16", + 5512.24 ], [ - "2023-03-22", - 27325.15 + "2018-11-17", + 5504.17 ], [ - "2023-03-21", - 28207.33 + "2018-11-18", + 5560 ], [ - "2023-03-20", - 27823.32 + "2018-11-19", + 4733.5 ], [ - "2023-03-19", - 28054.46 + "2018-11-20", + 4349.23 ], [ - "2023-03-18", - 26980.35 + "2018-11-21", + 4545.11 ], [ - "2023-03-17", - 27453.62 + "2018-11-22", + 4265.36 ], [ - "2023-03-16", - 25051.85 + "2018-11-23", + 4283.8 ], [ - "2023-03-15", - 24377.16 + "2018-11-24", + 3774.99 ], [ - "2023-03-14", - 24762.65 + "2018-11-25", + 3936.69 ], [ - "2023-03-13", - 24220 + "2018-11-26", + 3731.32 ], [ - "2023-03-12", - 22219.08 + "2018-11-27", + 3775 ], [ - "2023-03-11", - 20620.54 + "2018-11-28", + 4225.03 ], [ - "2023-03-10", - 20230.08 + "2018-11-29", + 4248 ], [ - "2023-03-09", - 20367.01 + "2018-11-30", + 3976 ], [ - "2023-03-08", - 21698.37 + "2018-12-01", + 4142.01 ], [ - "2023-03-07", - 22198.48 + "2018-12-02", + 4103.19 ], [ - "2023-03-06", - 22410.31 + "2018-12-03", + 3833.47 ], [ - "2023-03-05", - 22432.69 + "2018-12-04", + 3901.84 ], [ - "2023-03-04", - 22350.95 + "2018-12-05", + 3694.39 ], [ - "2023-03-03", - 22358.18 + "2018-12-06", + 3433.26 ], [ - "2023-03-02", - 23468.24 + "2018-12-07", + 3380.01 ], [ - "2023-03-01", - 23631.52 + "2018-12-08", + 3401 ], [ - "2023-02-28", - 23145.32 + "2018-12-09", + 3531.18 ], [ - "2023-02-27", - 23489.52 + "2018-12-10", + 3410.15 ], [ - "2023-02-26", - 23556.83 + "2018-12-11", + 3349.36 ], [ - "2023-02-25", - 23159.71 + "2018-12-12", + 3430.24 ], [ - "2023-02-24", - 23186.88 + "2018-12-13", + 3265 ], [ - "2023-02-23", - 23943.32 + "2018-12-14", + 3195.71 ], [ - "2023-02-22", - 24184.44 + "2018-12-15", + 3183 ], [ - "2023-02-21", - 24454.43 + "2018-12-16", + 3195 ], [ - "2023-02-20", - 24844.97 + "2018-12-17", + 3496.82 ], [ - "2023-02-19", - 24281.31 + "2018-12-18", + 3667.77 ], [ - "2023-02-18", - 24636.23 + "2018-12-19", + 3682.51 ], [ - "2023-02-17", - 24577.6 + "2018-12-20", + 4075.34 ], [ - "2023-02-16", - 23516.15 + "2018-12-21", + 3839.06 ], [ - "2023-02-15", - 24329.04 + "2018-12-22", + 3980.46 ], [ - "2023-02-14", - 22206.27 + "2018-12-23", + 3944.93 ], [ - "2023-02-13", - 21789.14 + "2018-12-24", + 4034 ], [ - "2023-02-12", - 21789.8 + "2018-12-25", + 3780 ], [ - "2023-02-11", - 21863.73 + "2018-12-26", + 3809.88 ], [ - "2023-02-10", - 21628.97 + "2018-12-27", + 3589.89 ], [ - "2023-02-09", - 21800.63 + "2018-12-28", + 3888.06 ], [ - "2023-02-08", - 22964.38 + "2018-12-29", + 3729.31 ], [ - "2023-02-07", - 23244.67 + "2018-12-30", + 3829 ], [ - "2023-02-06", - 22764.07 + "2018-12-31", + 3691.86 ], [ - "2023-02-05", - 22936.34 + "2019-01-01", + 3826.1 ], [ - "2023-02-04", - 23328.87 + "2019-01-02", + 3890.79 ], [ - "2023-02-03", - 23433.54 + "2019-01-03", + 3787.57 ], [ - "2023-02-02", - 23493.84 + "2019-01-04", + 3820.82 ], [ - "2023-02-01", - 23735.97 + "2019-01-05", + 3798.62 ], [ - "2023-01-31", - 23128.86 + "2019-01-06", + 4040.99 ], [ - "2023-01-30", - 22836.03 + "2019-01-07", + 4006.01 ], [ - "2023-01-29", - 23745.8 + "2019-01-08", + 3993.86 ], [ - "2023-01-28", - 23028.95 + "2019-01-09", + 4004.12 ], [ - "2023-01-27", - 23084.4 + "2019-01-10", + 3626.12 ], [ - "2023-01-26", - 23010.47 + "2019-01-11", + 3635.69 ], [ - "2023-01-25", - 23062.36 + "2019-01-12", + 3619.41 ], [ - "2023-01-24", - 22636.17 + "2019-01-13", + 3514.24 ], [ - "2023-01-23", - 22920.29 + "2019-01-14", + 3664.19 ], [ - "2023-01-22", - 22714.87 + "2019-01-15", + 3580.76 ], [ - "2023-01-21", - 22789.37 + "2019-01-16", + 3609.71 ], [ - "2023-01-20", - 22669.81 + "2019-01-17", + 3640.65 ], [ - "2023-01-19", - 21084.22 + "2019-01-18", + 3607.85 ], [ - "2023-01-18", - 20674.29 + "2019-01-19", + 3682.65 ], [ - "2023-01-17", - 21136.33 + "2019-01-20", + 3536.19 ], [ - "2023-01-16", - 21187.5 + "2019-01-21", + 3531.76 ], [ - "2023-01-15", - 20879.7 + "2019-01-22", + 3577.03 ], [ - "2023-01-14", - 20957.02 + "2019-01-23", + 3553.01 ], [ - "2023-01-13", - 19934.88 + "2019-01-24", + 3568.97 ], [ - "2023-01-12", - 18847.75 + "2019-01-25", + 3562.17 ], [ - "2023-01-11", - 17944.27 + "2019-01-26", + 3556.07 ], [ - "2023-01-10", - 17443.5 + "2019-01-27", + 3531.02 ], [ - "2023-01-09", - 17177.98 + "2019-01-28", + 3429.95 ], [ - "2023-01-08", - 17125.18 + "2019-01-29", + 3397.42 ], [ - "2023-01-07", - 16942.37 + "2019-01-30", + 3437.55 ], [ - "2023-01-06", - 16948.06 + "2019-01-31", + 3411.5 ], [ - "2023-01-05", - 16825.69 + "2019-02-01", + 3437.5 ], [ - "2023-01-04", - 16844.42 + "2019-02-02", + 3468.43 ], [ - "2023-01-03", - 16669.47 + "2019-02-03", + 3414.78 ], [ - "2023-01-02", - 16666.95 + "2019-02-04", + 3409.57 ], [ - "2023-01-01", - 16611.58 + "2019-02-05", + 3428.4 ], [ - "2022-12-31", - 16530.35 + "2019-02-06", + 3367.36 ], [ - "2022-12-30", - 16600.1 + "2019-02-07", + 3359 ], [ - "2022-12-29", - 16627.54 + "2019-02-08", + 3621.99 ], [ - "2022-12-28", - 16539.66 + "2019-02-09", + 3623.73 ], [ - "2022-12-27", - 16698.73 + "2019-02-10", + 3648.84 ], [ - "2022-12-26", - 16917.96 + "2019-02-11", + 3590.36 ], [ - "2022-12-25", - 16829.02 + "2019-02-12", + 3588.06 ], [ - "2022-12-24", - 16837.12 + "2019-02-13", + 3576.68 ], [ - "2022-12-23", - 16777.21 + "2019-02-14", + 3561.5 ], [ - "2022-12-22", - 16815.51 + "2019-02-15", + 3566.59 ], [ - "2022-12-21", - 16826.56 + "2019-02-16", + 3582.37 ], [ - "2022-12-20", - 16897.65 + "2019-02-17", + 3625.08 ], [ - "2022-12-19", - 16439.74 + "2019-02-18", + 3867 ], [ - "2022-12-18", - 16741.16 + "2019-02-19", + 3888.01 ], [ - "2022-12-17", - 16782.25 + "2019-02-20", + 3938.99 ], [ - "2022-12-16", - 16632.64 + "2019-02-21", + 3897.71 ], [ - "2022-12-15", - 17357.96 + "2019-02-22", + 3942.02 ], [ - "2022-12-14", - 17804.97 + "2019-02-23", + 4110 ], [ - "2022-12-13", - 17773.18 + "2019-02-24", + 3734.22 ], [ - "2022-12-12", - 17211.66 + "2019-02-25", + 3818.79 ], [ - "2022-12-11", - 17085.21 + "2019-02-26", + 3799.48 ], [ - "2022-12-10", - 17128.1 + "2019-02-27", + 3799.91 ], [ - "2022-12-09", - 17130.59 + "2019-02-28", + 3792.14 ], [ - "2022-12-08", - 17226.01 + "2019-03-01", + 3806.17 ], [ - "2022-12-07", - 16840 + "2019-03-02", + 3809.7 ], [ - "2022-12-06", - 17089.05 + "2019-03-03", + 3786.93 ], [ - "2022-12-05", - 16966.05 + "2019-03-04", + 3700.72 ], [ - "2022-12-04", - 17108.9 + "2019-03-05", + 3844.59 ], [ - "2022-12-03", - 16888.53 + "2019-03-06", + 3851.89 ], [ - "2022-12-02", - 17094.71 + "2019-03-07", + 3857.05 ], [ - "2022-12-01", - 16980.08 + "2019-03-08", + 3843.12 ], [ - "2022-11-30", - 17167.33 + "2019-03-09", + 3917 ], [ - "2022-11-29", - 16438 + "2019-03-10", + 3900.92 ], [ - "2022-11-28", - 16206.3 + "2019-03-11", + 3849.68 ], [ - "2022-11-27", - 16419.88 + "2019-03-12", + 3860 ], [ - "2022-11-26", - 16450.93 + "2019-03-13", + 3851.02 ], [ - "2022-11-25", - 16510.9 + "2019-03-14", + 3853.95 ], [ - "2022-11-24", - 16587.61 + "2019-03-15", + 3902.8 ], [ - "2022-11-23", - 16587 + "2019-03-16", + 3990 ], [ - "2022-11-22", - 16199.71 + "2019-03-17", + 3967.01 ], [ - "2022-11-21", - 15760.14 + "2019-03-18", + 3970.5 ], [ - "2022-11-20", - 16252.53 + "2019-03-19", + 4000.85 ], [ - "2022-11-19", - 16683.02 + "2019-03-20", + 4031.85 ], [ - "2022-11-18", - 16680.59 + "2019-03-21", + 3972.76 ], [ - "2022-11-17", - 16680.47 + "2019-03-22", + 3983.78 ], [ - "2022-11-16", - 16645.24 + "2019-03-23", + 3983.43 ], [ - "2022-11-15", - 16877.93 + "2019-03-24", + 3969.52 ], [ - "2022-11-14", - 16590.73 + "2019-03-25", + 3907.53 ], [ - "2022-11-13", - 16301.39 + "2019-03-26", + 3921.45 ], [ - "2022-11-12", - 16783.33 + "2019-03-27", + 4026.53 ], [ - "2022-11-11", - 17013.62 + "2019-03-28", + 4011.17 ], [ - "2022-11-10", - 17553.89 + "2019-03-29", + 4091.01 ], [ - "2022-11-09", - 15891.96 + "2019-03-30", + 4094.14 ], [ - "2022-11-08", - 18550.25 + "2019-03-31", + 4094.99 ], [ - "2022-11-07", - 20593.49 + "2019-04-01", + 4137 ], [ - "2022-11-06", - 20909.17 + "2019-04-02", + 4901.93 ], [ - "2022-11-05", - 21300.45 + "2019-04-03", + 4975.97 ], [ - "2022-11-04", - 21144.2 + "2019-04-04", + 4906.49 ], [ - "2022-11-03", - 20206.88 + "2019-04-05", + 5040.66 ], [ - "2022-11-02", - 20151.4 + "2019-04-06", + 5049.22 ], [ - "2022-11-01", - 20479.63 + "2019-04-07", + 5194.79 ], [ - "2022-10-31", - 20489.94 + "2019-04-08", + 5285.54 ], [ - "2022-10-30", - 20630.68 + "2019-04-09", + 5187.21 ], [ - "2022-10-29", - 20823.53 + "2019-04-10", + 5318.58 ], [ - "2022-10-28", - 20597.91 + "2019-04-11", + 5041.3 ], [ - "2022-10-27", - 20296.97 + "2019-04-12", + 5078.19 ], [ - "2022-10-26", - 20775.4 + "2019-04-13", + 5066.22 ], [ - "2022-10-25", - 20086.28 + "2019-04-14", + 5164.27 ], [ - "2022-10-24", - 19330.41 + "2019-04-15", + 5029.99 ], [ - "2022-10-23", - 19572.44 + "2019-04-16", + 5202.9 ], [ - "2022-10-22", - 19209.1 + "2019-04-17", + 5227 ], [ - "2022-10-21", - 19166.45 + "2019-04-18", + 5281.81 ], [ - "2022-10-20", - 19042.48 + "2019-04-19", + 5290.36 ], [ - "2022-10-19", - 19124.18 + "2019-04-20", + 5319.89 ], [ - "2022-10-18", - 19328.76 + "2019-04-21", + 5297.64 ], [ - "2022-10-17", - 19550.4 + "2019-04-22", + 5387.6 ], [ - "2022-10-16", - 19264.44 + "2019-04-23", + 5532.75 ], [ - "2022-10-15", - 19070.24 + "2019-04-24", + 5441.9 ], [ - "2022-10-14", - 19178 + "2019-04-25", + 5134.81 ], [ - "2022-10-13", - 19378.65 + "2019-04-26", + 5159.51 ], [ - "2022-10-12", - 19155.92 + "2019-04-27", + 5170.6 ], [ - "2022-10-11", - 19058.11 + "2019-04-28", + 5155 ], [ - "2022-10-10", - 19132.83 + "2019-04-29", + 5148.25 ], [ - "2022-10-09", - 19443.47 + "2019-04-30", + 5270.69 ], [ - "2022-10-08", - 19419.39 + "2019-05-01", + 5321.15 ], [ - "2022-10-07", - 19533.05 + "2019-05-02", + 5390.01 ], [ - "2022-10-06", - 19965.64 + "2019-05-03", + 5657.4 ], [ - "2022-10-05", - 20161.62 + "2019-05-04", + 5770.01 ], [ - "2022-10-04", - 20345.19 + "2019-05-05", + 5715.86 ], [ - "2022-10-03", - 19633.46 + "2019-05-06", + 5687.9 ], [ - "2022-10-02", - 19059.17 + "2019-05-07", + 5748.45 ], [ - "2022-10-01", - 19315.27 + "2019-05-08", + 5948.41 ], [ - "2022-09-30", - 19426.11 + "2019-05-09", + 6153.09 ], [ - "2022-09-29", - 19595.57 + "2019-05-10", + 6343.14 ], [ - "2022-09-28", - 19412.07 + "2019-05-11", + 7219.95 ], [ - "2022-09-27", - 19077.57 + "2019-05-12", + 6979.76 ], [ - "2022-09-26", - 19228 + "2019-05-13", + 7824.93 ], [ - "2022-09-25", - 18808.61 + "2019-05-14", + 7990.92 ], [ - "2022-09-24", - 18923.2 + "2019-05-15", + 8203.32 ], [ - "2022-09-23", - 19286.01 + "2019-05-16", + 7878.96 ], [ - "2022-09-22", - 19401.25 + "2019-05-17", + 7363.69 ], [ - "2022-09-21", - 18462.64 + "2019-05-18", + 7262.4 ], [ - "2022-09-20", - 18876.91 + "2019-05-19", + 8200 ], [ - "2022-09-19", - 19540.38 + "2019-05-20", + 7999.54 ], [ - "2024-04-30", - 60622.1 + "2019-05-21", + 7951.7 ], [ - "2024-04-29", - 63844.85 + "2019-05-22", + 7626.48 ], [ - "2024-04-28", - 63108.94 + "2019-05-23", + 7881.98 ], [ - "2024-04-27", - 63422 + "2019-05-24", + 8001.7 ], [ - "2024-04-26", - 63742.39 + "2019-05-25", + 8063.81 ], [ - "2024-04-25", - 64484.44 + "2019-05-26", + 8731.72 ], [ - "2024-04-24", - 64255.78 + "2019-05-27", + 8772.29 ], [ - "2024-04-23", - 66414.16 + "2019-05-28", + 8715.36 ], [ - "2024-04-22", - 66859.17 + "2019-05-29", + 8662.44 ], [ - "2024-04-21", - 64952.92 + "2019-05-30", + 8279.69 ], [ - "2024-04-20", - 64968.87 + "2019-05-31", + 8554.06 ], [ - "2024-04-19", - 63848.37 + "2019-06-01", + 8558.95 ], [ - "2024-04-18", - 63513.85 + "2019-06-02", + 8736.55 ], [ - "2024-04-17", - 61279.36 + "2019-06-03", + 8107.96 ], [ - "2024-04-16", - 63814.94 + "2019-06-04", + 7670.96 ], [ - "2024-04-15", - 63452.18 + "2019-06-05", + 7789.48 ], [ - "2024-04-14", - 65777.05 + "2019-06-06", + 7805 ], [ - "2024-04-13", - 64024.77 + "2019-06-07", + 7998.13 ], [ - "2024-04-12", - 67148.61 + "2019-06-08", + 7930.14 ], [ - "2024-04-11", - 70020.73 + "2019-06-09", + 7634.58 ], [ - "2024-04-10", - 70634.04 + "2019-06-10", + 8015.69 ], [ - "2024-04-09", - 69117.01 + "2019-06-11", + 7918.17 ], [ - "2024-04-08", - 71622.53 + "2019-06-12", + 8176.02 ], [ - "2024-04-07", - 69350.34 + "2019-06-13", + 8239.04 ], [ - "2024-04-06", - 68919.89 + "2019-06-14", + 8697.46 ], [ - "2024-04-05", - 67856.51 + "2019-06-15", + 8860.23 ], [ - "2024-04-04", - 68525.23 + "2019-06-16", + 8975 ], [ - "2024-04-03", - 65987.92 + "2019-06-17", + 9333.14 ], [ - "2024-04-02", - 65464.14 + "2019-06-18", + 9078.48 ], [ - "2024-04-01", - 69681.82 + "2019-06-19", + 9277.54 ], [ - "2024-03-31", - 71288.9 + "2019-06-20", + 9531.21 ], [ - "2024-03-30", - 69626.87 + "2019-06-21", + 10236.2 ], [ - "2024-03-29", - 69903.75 + "2019-06-22", + 10666.86 ], [ - "2024-03-28", - 70801.18 + "2019-06-23", + 10833.02 ], [ - "2024-03-27", - 69435.96 + "2019-06-24", + 11032.32 ], [ - "2024-03-26", - 69992.4 + "2019-06-25", + 11755.53 ], [ - "2024-03-25", - 69890.28 + "2019-06-26", + 12927.44 ], [ - "2024-03-24", - 67204.93 + "2019-06-27", + 11159.29 ], [ - "2024-03-23", - 63998.86 + "2019-06-28", + 12360.45 ], [ - "2024-03-22", - 63814.56 + "2019-06-29", + 11865.29 ], [ - "2024-03-21", - 65484.7 + "2019-06-30", + 10761.26 ], [ - "2024-03-20", - 67858.8 + "2019-07-01", + 10577.63 ], [ - "2024-03-19", - 61906.27 + "2019-07-02", + 10829.18 ], [ - "2024-03-18", - 67613.04 + "2019-07-03", + 11976.42 ], [ - "2024-03-17", - 68343.64 + "2019-07-04", + 11136 ], [ - "2024-03-16", - 65254.22 + "2019-07-05", + 11004.51 ], [ - "2024-03-15", - 69506.88 + "2019-07-06", + 11237.77 ], [ - "2024-03-14", - 71364.58 + "2019-07-07", + 11474.42 ], [ - "2024-03-13", - 73135.04 + "2019-07-08", + 12293.53 ], [ - "2024-03-12", - 71475.93 + "2019-07-09", + 12571.11 ], [ - "2024-03-11", - 72110.98 + "2019-07-10", + 12097.96 ], [ - "2024-03-10", - 69032.12 + "2019-07-11", + 11349 ], [ - "2024-03-09", - 68480 + "2019-07-12", + 11802 ], [ - "2024-03-08", - 68289.16 + "2019-07-13", + 11370.08 ], [ - "2024-03-07", - 66938.21 + "2019-07-14", + 10185.03 ], [ - "2024-03-06", - 66122.28 + "2019-07-15", + 10854.47 ], [ - "2024-03-05", - 63800.78 + "2019-07-16", + 9422.72 ], [ - "2024-03-04", - 68360.14 + "2019-07-17", + 9696.31 ], [ - "2024-03-03", - 63154.49 + "2019-07-18", + 10649.07 ], [ - "2024-03-02", - 62045.78 + "2019-07-19", + 10538.06 ], [ - "2024-03-01", - 62436.72 + "2019-07-20", + 10761.03 ], [ - "2024-02-29", - 61179.03 + "2019-07-21", + 10590.7 ], [ - "2024-02-28", - 62518.9 + "2019-07-22", + 10323.39 ], [ - "2024-02-27", - 57077.07 + "2019-07-23", + 9840.12 ], [ - "2024-02-26", - 54533.48 + "2019-07-24", + 9772.6 ], [ - "2024-02-25", - 51731 + "2019-07-25", + 9883.33 ], [ - "2024-02-24", - 51570.65 + "2019-07-26", + 9843 ], [ - "2024-02-23", - 50747.05 + "2019-07-27", + 9479.98 ], [ - "2024-02-22", - 51258.7 + "2019-07-28", + 9533 ], [ - "2024-02-21", - 51851.67 + "2019-07-29", + 9495.01 ], [ - "2024-02-20", - 52277.52 + "2019-07-30", + 9589.01 ], [ - "2024-02-19", - 51787.05 + "2019-07-31", + 10087.3 ], [ - "2024-02-18", - 52153.63 + "2019-08-01", + 10405.94 ], [ - "2024-02-17", - 51666.22 + "2019-08-02", + 10533.01 ], [ - "2024-02-16", - 52162.64 + "2019-08-03", + 10820.76 ], [ - "2024-02-15", - 51934.29 + "2019-08-04", + 10977.51 ], [ - "2024-02-14", - 51858.59 + "2019-08-05", + 11819.49 ], [ - "2024-02-13", - 49725.36 + "2019-08-06", + 11465.49 ], [ - "2024-02-12", - 49941.81 + "2019-08-07", + 11975.03 ], [ - "2024-02-11", - 48316.3 + "2019-08-08", + 11981 ], [ - "2024-02-10", - 47767.06 + "2019-08-09", + 11856.1 ], [ - "2024-02-09", - 47160.41 + "2019-08-10", + 11280.95 ], [ - "2024-02-08", - 45305.2 + "2019-08-11", + 11540.76 ], [ - "2024-02-07", - 44343.61 + "2019-08-12", + 11389.28 ], [ - "2024-02-06", - 43095.79 + "2019-08-13", + 10854.92 ], [ - "2024-02-05", - 42657.67 + "2019-08-14", + 10025.86 ], [ - "2024-02-04", - 42568.55 + "2019-08-15", + 10300.01 ], [ - "2024-02-03", - 43010.67 + "2019-08-16", + 10352.78 ], [ - "2024-02-02", - 43181.66 + "2019-08-17", + 10217.79 ], [ - "2024-02-01", - 43078.81 + "2019-08-18", + 10315.48 ], [ - "2024-01-31", - 42548.08 + "2019-08-19", + 10920 ], [ - "2024-01-30", - 42942.78 + "2019-08-20", + 10769.09 ], [ - "2024-01-29", - 43306.18 + "2019-08-21", + 10130 ], [ - "2024-01-28", - 42034.59 + "2019-08-22", + 10107.15 ], [ - "2024-01-27", - 42126.55 + "2019-08-23", + 10410.85 ], [ - "2024-01-26", - 41814.8 + "2019-08-24", + 10147.96 ], [ - "2024-01-25", - 39941.66 + "2019-08-25", + 10138.72 ], [ - "2024-01-24", - 40077.78 + "2019-08-26", + 10361.65 ], [ - "2024-01-23", - 39878.3 + "2019-08-27", + 10171.85 ], [ - "2024-01-22", - 39524.27 + "2019-08-28", + 9714.31 ], [ - "2024-01-21", - 41554.05 + "2019-08-29", + 9495 ], [ - "2024-01-20", - 41666.67 + "2019-08-30", + 9582.42 ], [ - "2024-01-19", - 41624.07 + "2019-08-31", + 9600.86 ], [ - "2024-01-18", - 41293.5 + "2019-09-01", + 9766.52 ], [ - "2024-01-17", - 42739.49 + "2019-09-02", + 10381.26 ], [ - "2024-01-16", - 43130.45 + "2019-09-03", + 10628.48 ], [ - "2024-01-15", - 42490.16 + "2019-09-04", + 10581.84 ], [ - "2024-01-14", - 41697.33 + "2019-09-05", + 10574.73 ], [ - "2024-01-13", - 42839.33 + "2019-09-06", + 10308.92 ], [ - "2024-01-12", - 42773.03 + "2019-09-07", + 10484.37 ], [ - "2024-01-11", - 46342.66 + "2019-09-08", + 10398.97 ], [ - "2024-01-10", - 46666.11 + "2019-09-09", + 10310 ], [ - "2024-01-09", - 46124.08 + "2019-09-10", + 10093.01 ], [ - "2024-01-08", - 46995.1 + "2019-09-11", + 10160.2 ], [ - "2024-01-07", - 43950.28 + "2019-09-12", + 10423.72 ], [ - "2024-01-06", - 43992.44 + "2019-09-13", + 10365.93 ], [ - "2024-01-05", - 44186.59 + "2019-09-14", + 10360.25 ], [ - "2024-01-04", - 44193.29 + "2019-09-15", + 10304.46 ], [ - "2024-01-03", - 42862.44 + "2019-09-16", + 10262.54 ], [ - "2024-01-02", - 44972.8 + "2019-09-17", + 10185.39 ], [ - "2024-01-01", - 44220.78 + "2019-09-18", + 10155.26 ], [ - "2023-12-31", - 42288.06 + "2019-09-19", + 10275.01 ], [ - "2023-12-30", - 42141.03 + "2019-09-20", + 10168.85 ], [ - "2023-12-29", - 42063.45 + "2019-09-21", + 9973.99 ], [ - "2023-12-28", - 42581.23 + "2019-09-22", + 10026.8 ], [ - "2023-12-27", - 43474.4 + "2019-09-23", + 9693.74 ], [ - "2023-12-26", - 42515.53 + "2019-09-24", + 8530.01 ], [ - "2023-12-25", - 43589.67 + "2019-09-25", + 8438.35 ], [ - "2023-12-24", - 43025.03 + "2019-09-26", + 8060 ], [ - "2023-12-23", - 43726.35 + "2019-09-27", + 8193.99 ], [ - "2023-12-22", - 44013.73 + "2019-09-28", + 8217.47 ], [ - "2023-12-21", - 43875.32 + "2019-09-29", + 8052.4 ], [ - "2023-12-20", - 43674.77 + "2019-09-30", + 8304.96 ], [ - "2023-12-19", - 42266.22 + "2019-10-01", + 8321.52 ], [ - "2023-12-18", - 42650.01 + "2019-10-02", + 8381.72 ], [ - "2023-12-17", - 41349.59 + "2019-10-03", + 8240.41 ], [ - "2023-12-16", - 42237.29 + "2019-10-04", + 8156.67 ], [ - "2023-12-15", - 41933.89 + "2019-10-05", + 8147.63 ], [ - "2023-12-14", - 43027.77 + "2019-10-06", + 7859.79 ], [ - "2023-12-13", - 42885.54 + "2019-10-07", + 8209 ], [ - "2023-12-12", - 41477.39 + "2019-10-08", + 8180 ], [ - "2023-12-11", - 41229.61 + "2019-10-09", + 8590 ], [ - "2023-12-10", - 43793.68 + "2019-10-10", + 8587.5 ], [ - "2023-12-09", - 43723.25 + "2019-10-11", + 8267.33 ], [ - "2023-12-08", - 44192.87 + "2019-10-12", + 8309.03 ], [ - "2023-12-07", - 43280.95 + "2019-10-13", + 8282.97 ], [ - "2023-12-06", - 43764.05 + "2019-10-14", + 8355 ], [ - "2023-12-05", - 44084.39 + "2019-10-15", + 8162.44 ], [ - "2023-12-04", - 41987.24 + "2019-10-16", + 7993.54 ], [ - "2023-12-03", - 39984.81 + "2019-10-17", + 8076.2 ], [ - "2023-12-02", - 39478.95 + "2019-10-18", + 7954.16 ], [ - "2023-12-01", - 38703.54 + "2019-10-19", + 7965.28 ], [ - "2023-11-30", - 37732.27 + "2019-10-20", + 8236.12 ], [ - "2023-11-29", - 37863.84 + "2019-10-21", + 8209.92 ], [ - "2023-11-28", - 37838.26 + "2019-10-22", + 8024.72 ], [ - "2023-11-27", - 37241.63 + "2019-10-23", + 7474.85 ], [ - "2023-11-26", - 37462.79 + "2019-10-24", + 7430.87 ], [ - "2023-11-25", - 37805.99 + "2019-10-25", + 8668 ], [ - "2023-11-24", - 37745.84 + "2019-10-26", + 9259.78 ], [ - "2023-11-23", - 37304.05 + "2019-10-27", + 9548.84 ], [ - "2023-11-22", - 37424.31 + "2019-10-28", + 9226.5 ], [ - "2023-11-21", - 35751.89 + "2019-10-29", + 9430.8 ], [ - "2023-11-20", - 37475.64 + "2019-10-30", + 9164.44 ], [ - "2023-11-19", - 37391.19 + "2019-10-31", + 9159.48 ], [ - "2023-11-18", - 36594.89 + "2019-11-01", + 9253.12 ], [ - "2023-11-17", - 36630.38 + "2019-11-02", + 9308.52 ], [ - "2023-11-16", - 36161.15 + "2019-11-03", + 9206.52 ], [ - "2023-11-15", - 37885.35 + "2019-11-04", + 9412.53 ], [ - "2023-11-14", - 35554.09 + "2019-11-05", + 9322.09 ], [ - "2023-11-13", - 36475.67 + "2019-11-06", + 9341.27 ], [ - "2023-11-12", - 37086.03 + "2019-11-07", + 9198.84 ], [ - "2023-11-11", - 37139.12 + "2019-11-08", + 8763.01 ], [ - "2023-11-10", - 37324.83 + "2019-11-09", + 8807.89 ], [ - "2023-11-09", - 36706.59 + "2019-11-10", + 9032.23 ], [ - "2023-11-08", - 35639.13 + "2019-11-11", + 8721.54 ], [ - "2023-11-07", - 35416.28 + "2019-11-12", + 8810 ], [ - "2023-11-06", - 35059.46 + "2019-11-13", + 8758.34 ], [ - "2023-11-05", - 35035.42 + "2019-11-14", + 8630 ], [ - "2023-11-04", - 35087.01 + "2019-11-15", + 8457.48 ], [ - "2023-11-03", - 34731.27 + "2019-11-16", + 8481 ], [ - "2023-11-02", - 34950 + "2019-11-17", + 8500.01 ], [ - "2023-11-01", - 35440.1 + "2019-11-18", + 8168.84 ], [ - "2023-10-31", - 34656.4 + "2019-11-19", + 8123.36 ], [ - "2023-10-30", - 34493.79 + "2019-11-20", + 8082.96 ], [ - "2023-10-29", - 34534.48 + "2019-11-21", + 7616.46 ], [ - "2023-10-28", - 34085.42 + "2019-11-22", + 7283.03 ], [ - "2023-10-27", - 33906.09 + "2019-11-23", + 7329.29 ], [ - "2023-10-26", - 34154.71 + "2019-11-24", + 6908.64 ], [ - "2023-10-25", - 34506.35 + "2019-11-25", + 7127.01 ], [ - "2023-10-24", - 33922.52 + "2019-11-26", + 7162.67 ], [ - "2023-10-23", - 33087.58 + "2019-11-27", + 7523.72 ], [ - "2023-10-22", - 30004.15 + "2019-11-28", + 7432.41 ], [ - "2023-10-21", - 29924.84 + "2019-11-29", + 7760 ], [ - "2023-10-20", - 29684.73 + "2019-11-30", + 7555.92 ], [ - "2023-10-19", - 28735.34 + "2019-12-01", + 7404.27 ], [ - "2023-10-18", - 28326.51 + "2019-12-02", + 7305.01 ], [ - "2023-10-17", - 28408.83 + "2019-12-03", + 7302.94 ], [ - "2023-10-16", - 28520.24 + "2019-12-04", + 7198.99 ], [ - "2023-10-15", - 27186.13 + "2019-12-05", + 7393.54 ], [ - "2023-10-14", - 26851.71 + "2019-12-06", + 7540.08 ], [ - "2023-10-13", - 26863.53 + "2019-12-07", + 7502.19 ], [ - "2023-10-12", - 26750.51 + "2019-12-08", + 7520 ], [ - "2023-10-11", - 26869.19 + "2019-12-09", + 7337.51 ], [ - "2023-10-10", - 27393.29 + "2019-12-10", + 7219.37 ], [ - "2023-10-09", - 27596.67 + "2019-12-11", + 7201.23 ], [ - "2023-10-08", - 27933.55 + "2019-12-12", + 7185.91 ], [ - "2023-10-07", - 27976.43 + "2019-12-13", + 7249.9 ], [ - "2023-10-06", - 27945.17 + "2019-12-14", + 7062.91 ], [ - "2023-10-05", - 27412.96 + "2019-12-15", + 7111 ], [ - "2023-10-04", - 27786.75 + "2019-12-16", + 6877.03 ], [ - "2023-10-03", - 27428.96 + "2019-12-17", + 6616.62 ], [ - "2023-10-02", - 27504.04 + "2019-12-18", + 7285.53 ], [ - "2023-10-01", - 27995.46 + "2019-12-19", + 7149.12 ], [ - "2023-09-30", - 26961 + "2019-12-20", + 7190 ], [ - "2023-09-29", - 26907 + "2019-12-21", + 7143.01 ], [ - "2023-09-28", - 27027.14 + "2019-12-22", + 7513.06 ], [ - "2023-09-27", - 26357.62 + "2019-12-23", + 7310.79 ], [ - "2023-09-26", - 26208.44 + "2019-12-24", + 7255.01 ], [ - "2023-09-25", - 26296.08 + "2019-12-25", + 7192.12 ], [ - "2023-09-24", - 26250.24 + "2019-12-26", + 7194.13 ], [ - "2023-09-23", - 26579.6 + "2019-12-27", + 7245.83 ], [ - "2023-09-22", - 26578.4 + "2019-12-28", + 7302.67 ], [ - "2023-09-21", - 26564.54 + "2019-12-29", + 7384.89 ], [ - "2023-09-20", - 27123.94 + "2019-12-30", + 7218 ], [ - "2023-09-19", - 27216.13 + "2019-12-31", + 7165.72 ], [ - "2023-09-18", - 26764.49 + "2020-01-01", + 7174.33 ], [ - "2023-09-17", - 26530.95 + "2020-01-02", + 6945.02 ], [ - "2023-09-16", - 26569.69 + "2020-01-03", + 7334.45 ], [ - "2023-09-15", - 26602.42 + "2020-01-04", + 7348.63 ], [ - "2023-09-14", - 26532.76 + "2020-01-05", + 7355.4 ], [ - "2023-09-13", - 26226.65 + "2020-01-06", + 7764.63 ], [ - "2023-09-12", - 25840.61 + "2020-01-07", + 8158.52 ], [ - "2023-09-11", - 25152.14 + "2020-01-08", + 8045.51 ], [ - "2023-09-10", - 25831.76 + "2020-01-09", + 7813.78 ], [ - "2023-09-09", - 25897.82 + "2020-01-10", + 8198.09 ], [ - "2023-09-08", - 25906.34 + "2020-01-11", + 8020 ], [ - "2023-09-07", - 26276.3 + "2020-01-12", + 8180.81 ], [ - "2023-09-06", - 25747.63 + "2020-01-13", + 8104.5 ], [ - "2023-09-05", - 25783.91 + "2020-01-14", + 8815.69 ], [ - "2023-09-04", - 25816.13 + "2020-01-15", + 8808.81 ], [ - "2023-09-03", - 25969.83 + "2020-01-16", + 8714.76 ], [ - "2023-09-02", - 25867.83 + "2020-01-17", + 8899.42 ], [ - "2023-09-01", - 25794.88 + "2020-01-18", + 8909.32 ], [ - "2023-08-31", - 25932.45 + "2020-01-19", + 8697.53 ], [ - "2023-08-30", - 27306.06 + "2020-01-20", + 8628.89 ], [ - "2023-08-29", - 27717.98 + "2020-01-21", + 8722.03 ], [ - "2023-08-28", - 26101.04 + "2020-01-22", + 8660.38 ], [ - "2023-08-27", - 26091.16 + "2020-01-23", + 8385.22 ], [ - "2023-08-26", - 26009.61 + "2020-01-24", + 8427.26 ], [ - "2023-08-25", - 26049.39 + "2020-01-25", + 8326.81 ], [ - "2023-08-24", - 26163.49 + "2020-01-26", + 8595 ], [ - "2023-08-23", - 26427.54 + "2020-01-27", + 8895.96 ], [ - "2023-08-22", - 26042.11 + "2020-01-28", + 9394.5 ], [ - "2023-08-21", - 26125.18 + "2020-01-29", + 9288.44 ], [ - "2023-08-20", - 26189.14 + "2020-01-30", + 9503.08 ], [ - "2023-08-19", - 26096.42 + "2020-01-31", + 9334.98 ], [ - "2023-08-18", - 26048.89 + "2020-02-01", + 9380.18 ], [ - "2023-08-17", - 26627.57 + "2020-02-02", + 9323.5 ], [ - "2023-08-16", - 28700.51 + "2020-02-03", + 9280.49 ], [ - "2023-08-15", - 29170.14 + "2020-02-04", + 9164.33 ], [ - "2023-08-14", - 29405.49 + "2020-02-05", + 9613.82 ], [ - "2023-08-13", - 29275.94 + "2020-02-06", + 9763.01 ], [ - "2023-08-12", - 29416.96 + "2020-02-07", + 9808.05 ], [ - "2023-08-11", - 29400.45 + "2020-02-08", + 9905.64 ], [ - "2023-08-10", - 29424.03 + "2020-02-09", + 10168.35 ], [ - "2023-08-09", - 29562.76 + "2020-02-10", + 9851.78 ], [ - "2023-08-08", - 29770.01 + "2020-02-11", + 10270.01 ], [ - "2023-08-07", - 29179.21 + "2020-02-12", + 10351.13 ], [ - "2023-08-06", - 29040.01 + "2020-02-13", + 10236.49 ], [ - "2023-08-05", - 29047.12 + "2020-02-14", + 10371.33 ], [ - "2023-08-04", - 29076.48 + "2020-02-15", + 9911.22 ], [ - "2023-08-03", - 29174.18 + "2020-02-16", + 9921 ], [ - "2023-08-02", - 29164.22 + "2020-02-17", + 9700 ], [ - "2023-08-01", - 29697.27 + "2020-02-18", + 10188.04 ], [ - "2023-07-31", - 29230.67 + "2020-02-19", + 9600.08 ], [ - "2023-07-30", - 29281.39 + "2020-02-20", + 9610.05 ], [ - "2023-07-29", - 29355.71 + "2020-02-21", + 9695.66 ], [ - "2023-07-28", - 29316.15 + "2020-02-22", + 9668.23 ], [ - "2023-07-27", - 29214.92 + "2020-02-23", + 9965.01 ], [ - "2023-07-26", - 29353.23 + "2020-02-24", + 9660 ], [ - "2023-07-25", - 29225.14 + "2020-02-25", + 9305 ], [ - "2023-07-24", - 29176.98 + "2020-02-26", + 8778.3 ], [ - "2023-07-23", - 30081.61 + "2020-02-27", + 8812.49 ], [ - "2023-07-22", - 29795.03 + "2020-02-28", + 8708.89 ], [ - "2023-07-21", - 29907.98 + "2020-02-29", + 8525.07 ], [ - "2023-07-20", - 29809.13 + "2020-03-01", + 8522.31 ], [ - "2023-07-19", - 29916.72 + "2020-03-02", + 8915 ], [ - "2023-07-18", - 29861.93 + "2020-03-03", + 8757.84 ], [ - "2023-07-17", - 30143.08 + "2020-03-04", + 8760.66 ], [ - "2023-07-16", - 30247.64 + "2020-03-05", + 9070.17 ], [ - "2023-07-15", - 30301.65 + "2020-03-06", + 9158.51 ], [ - "2023-07-14", - 30330.52 + "2020-03-07", + 8901.37 ], [ - "2023-07-13", - 31471.83 + "2020-03-08", + 8037.76 ], [ - "2023-07-12", - 30381.81 + "2020-03-09", + 7934.52 ], [ - "2023-07-11", - 30626.55 + "2020-03-10", + 7894.68 ], [ - "2025-02-19", - 96632.03 + "2020-03-11", + 7938.05 ], [ - "2025-02-18", - 95607.4 + "2020-03-12", + 4857.1 ], [ - "2025-02-17", - 95781.8 + "2020-03-13", + 5637.6 ], [ - "2025-02-16", - 96119.88 + "2020-03-14", + 5165.25 ], [ - "2025-02-15", - 97596.94 + "2020-03-15", + 5345.35 ], [ - "2025-02-14", - 97509.03 + "2020-03-16", + 5037.61 ], [ - "2025-02-13", - 96625.29 + "2020-03-17", + 5331.71 ], [ - "2025-02-12", - 97862.53 + "2020-03-18", + 5413.64 ], [ - "2025-02-11", - 95774.08 + "2020-03-19", + 6186.26 ], [ - "2025-02-10", - 97444.41 + "2020-03-20", + 6206.1 ], [ - "2025-02-09", - 96475.82 + "2020-03-21", + 6198.78 ], [ - "2025-02-08", - 96476.25 + "2020-03-22", + 5818.25 ], [ - "2025-02-07", - 96537.08 + "2020-03-23", + 6490.63 ], [ - "2025-02-06", - 96564.62 + "2020-03-24", + 6766.64 ], [ - "2025-02-05", - 96638.33 + "2020-03-25", + 6690.96 ], [ - "2025-02-04", - 97795.05 + "2020-03-26", + 6758.18 ], [ - "2025-02-03", - 101460.2 + "2020-03-27", + 6372.36 ], [ - "2025-02-02", - 97676.52 + "2020-03-28", + 6251.82 ], [ - "2025-02-01", - 100623.85 + "2020-03-29", + 5877.21 ], [ - "2025-01-31", - 102411.26 + "2020-03-30", + 6406.4 ], [ - "2025-01-30", - 104742.64 + "2020-03-31", + 6424.35 ], [ - "2025-01-29", - 103747.25 + "2020-04-01", + 6666.11 ], [ - "2025-01-28", - 101290 + "2020-04-02", + 6804.52 ], [ - "2025-01-27", - 102062.42 + "2020-04-03", + 6741.99 ], [ - "2025-01-26", - 102563 + "2020-04-04", + 6874.77 ], [ - "2025-01-25", - 104733.56 + "2020-04-05", + 6778.25 ], [ - "2025-01-24", - 104850.27 + "2020-04-06", + 7341.56 ], [ - "2025-01-23", - 103926.36 + "2020-04-07", + 7200.01 ], [ - "2025-01-22", - 103667.11 + "2020-04-08", + 7370.11 ], [ - "2025-01-21", - 106159.26 + "2020-04-09", + 7293.24 ], [ - "2025-01-20", - 102145.43 + "2020-04-10", + 6871.91 ], [ - "2025-01-19", - 101211.13 + "2020-04-11", + 6889.65 ], [ - "2025-01-18", - 104435 + "2020-04-12", + 6908.13 ], [ - "2025-01-17", - 104107 + "2020-04-13", + 6861.21 ], [ - "2025-01-16", - 99981.78 + "2020-04-14", + 6877.37 ], [ - "2025-01-15", - 100510.23 + "2020-04-15", + 6624.12 ], [ - "2025-01-14", - 96534.96 + "2020-04-16", + 7112.64 ], [ - "2025-01-13", - 94506.45 + "2020-04-17", + 7037.46 ], [ - "2025-01-12", - 94509.62 + "2020-04-18", + 7261.76 ], [ - "2025-01-11", - 94565.02 + "2020-04-19", + 7130.71 ], [ - "2025-01-10", - 94701.18 + "2020-04-20", + 6838.19 ], [ - "2025-01-09", - 92547.44 + "2020-04-21", + 6853.68 ], [ - "2025-01-08", - 95036.63 + "2020-04-22", + 7136.84 ], [ - "2025-01-07", - 96941.98 + "2020-04-23", + 7488.83 ], [ - "2025-01-06", - 102279.41 + "2020-04-24", + 7514.64 ], [ - "2025-01-05", - 98345.33 + "2020-04-25", + 7547.61 ], [ - "2025-01-04", - 98209.85 + "2020-04-26", + 7706.4 ], [ - "2025-01-03", - 98136.51 + "2020-04-27", + 7789.77 ], [ - "2025-01-02", - 96903.19 + "2020-04-28", + 7755.01 ], [ - "2025-01-01", - 94383.59 + "2020-04-29", + 8793.75 ], [ - "2024-12-31", - 93354.22 + "2020-04-30", + 8624.28 ], [ - "2024-12-30", - 92620.71 + "2020-05-01", + 8829.42 ], [ - "2024-12-29", - 93563.35 + "2020-05-02", + 8985.58 ], [ - "2024-12-28", - 95130.82 + "2020-05-03", + 8909.95 ], [ - "2024-12-27", - 94171.89 + "2020-05-04", + 8883.53 ], [ - "2024-12-26", - 95669.49 + "2020-05-05", + 9028.79 ], [ - "2024-12-25", - 99346.28 + "2020-05-06", + 9155.79 ], [ - "2024-12-24", - 98594.47 + "2020-05-07", + 10004.77 ], [ - "2024-12-23", - 94764.56 + "2020-05-08", + 9810 ], [ - "2024-12-22", - 95087.75 + "2020-05-09", + 9537.21 ], [ - "2024-12-21", - 97230.08 + "2020-05-10", + 8729.86 ], [ - "2024-12-20", - 97765 + "2020-05-11", + 8572.4 ], [ - "2024-12-19", - 97372.21 + "2020-05-12", + 8821.42 ], [ - "2024-12-18", - 100150.73 + "2020-05-13", + 9321.26 ], [ - "2024-12-17", - 106136.99 + "2020-05-14", + 9795.34 ], [ - "2024-12-16", - 106099.81 + "2020-05-15", + 9312.1 ], [ - "2024-12-15", - 104447.76 + "2020-05-16", + 9383.16 ], [ - "2024-12-14", - 101399.99 + "2020-05-17", + 9676.63 ], [ - "2024-12-13", - 101428.75 + "2020-05-18", + 9728.52 ], [ - "2024-12-12", - 100030.47 + "2020-05-19", + 9783.76 ], [ - "2024-12-11", - 101202.11 + "2020-05-20", + 9509.41 ], [ - "2024-12-10", - 96660.76 + "2020-05-21", + 9061.96 ], [ - "2024-12-09", - 97324.81 + "2020-05-22", + 9168.84 ], [ - "2024-12-08", - 101174.99 + "2020-05-23", + 9181.76 ], [ - "2024-12-07", - 99929.32 + "2020-05-24", + 8715.73 ], [ - "2024-12-06", - 99891.35 + "2020-05-25", + 8899.31 ], [ - "2024-12-05", - 97044.23 + "2020-05-26", + 8844.42 ], [ - "2024-12-04", - 98746.24 + "2020-05-27", + 9208.53 ], [ - "2024-12-03", - 95924.52 + "2020-05-28", + 9580.19 ], [ - "2024-12-02", - 95862.89 + "2020-05-29", + 9423.84 ], [ - "2024-12-01", - 97263.18 + "2020-05-30", + 9700.33 ], [ - "2024-11-30", - 96465.42 + "2020-05-31", + 9446.57 ], [ - "2024-11-29", - 97490.56 + "2020-06-01", + 10208.96 ], [ - "2024-11-28", - 95665.53 + "2020-06-02", + 9522.46 ], [ - "2024-11-27", - 95951.19 + "2020-06-03", + 9668.07 ], [ - "2024-11-26", - 91929.54 + "2020-06-04", + 9788.03 ], [ - "2024-11-25", - 93000.01 + "2020-06-05", + 9613.21 ], [ - "2024-11-24", - 98028.18 + "2020-06-06", + 9671.7 ], [ - "2024-11-23", - 97778.77 + "2020-06-07", + 9750.12 ], [ - "2024-11-22", - 99024.03 + "2020-06-08", + 9781.51 ], [ - "2024-11-21", - 98439.09 + "2020-06-09", + 9779.41 ], [ - "2024-11-20", - 94393.15 + "2020-06-10", + 9894.04 ], [ - "2024-11-19", - 92435.89 + "2020-06-11", + 9268.16 ], [ - "2024-11-18", - 90520.3 + "2020-06-12", + 9464.17 ], [ - "2024-11-17", - 89886.69 + "2020-06-13", + 9475 ], [ - "2024-11-16", - 90636.24 + "2020-06-14", + 9325 ], [ - "2024-11-15", - 91058.36 + "2020-06-15", + 9432.53 ], [ - "2024-11-14", - 87340.4 + "2020-06-16", + 9526.25 ], [ - "2024-11-13", - 90493.82 + "2020-06-17", + 9457.51 ], [ - "2024-11-12", - 88035.43 + "2020-06-18", + 9376.14 ], [ - "2024-11-11", - 88770.73 + "2020-06-19", + 9301.91 ], [ - "2024-11-10", - 80428.92 + "2020-06-20", + 9355.74 ], [ - "2024-11-09", - 76716.06 + "2020-06-21", + 9286.14 ], [ - "2024-11-08", - 76566.73 + "2020-06-22", + 9690.74 ], [ - "2024-11-07", - 75920 + "2020-06-23", + 9623.56 ], [ - "2024-11-06", - 75646.55 + "2020-06-24", + 9285.91 ], [ - "2024-11-05", - 69380.73 + "2020-06-25", + 9243.51 ], [ - "2024-11-04", - 67807.48 + "2020-06-26", + 9155.42 ], [ - "2024-11-03", - 68738.18 + "2020-06-27", + 9002.46 ], [ - "2024-11-02", - 69358.94 + "2020-06-28", + 9113.24 ], [ - "2024-11-01", - 69467.29 + "2020-06-29", + 9184.45 ], [ - "2024-10-31", - 70197.83 + "2020-06-30", + 9136.2 ], [ - "2024-10-30", - 72322.91 + "2020-07-01", + 9239.97 ], [ - "2024-10-29", - 72724.35 + "2020-07-02", + 9091.53 ], [ - "2024-10-28", - 69924.5 + "2020-07-03", + 9063.87 ], [ - "2024-10-27", - 67943.19 + "2020-07-04", + 9138.51 ], [ - "2024-10-26", - 67012.56 + "2020-07-05", + 9074.39 ], [ - "2024-10-25", - 66564.51 + "2020-07-06", + 9343.31 ], [ - "2024-10-24", - 68156.84 + "2020-07-07", + 9253.94 ], [ - "2024-10-23", - 66601.11 + "2020-07-08", + 9435.28 ], [ - "2024-10-22", - 67380.08 + "2020-07-09", + 9236.95 ], [ - "2024-10-21", - 67346.15 + "2020-07-10", + 9291.05 ], [ - "2024-10-20", - 69014.86 + "2020-07-11", + 9235 ], [ - "2024-10-19", - 68363.73 + "2020-07-12", + 9303.37 ], [ - "2024-10-18", - 68426.11 + "2020-07-13", + 9236.92 ], [ - "2024-10-17", - 67402.33 + "2020-07-14", + 9256.94 ], [ - "2024-10-16", - 67608.44 + "2020-07-15", + 9190.16 ], [ - "2024-10-15", - 67056.6 + "2020-07-16", + 9130.11 ], [ - "2024-10-14", - 66065.65 + "2020-07-17", + 9154.29 ], [ - "2024-10-13", - 62845.3 + "2020-07-18", + 9175.85 ], [ - "2024-10-12", - 63187.47 + "2020-07-19", + 9212.87 ], [ - "2024-10-11", - 62518.75 + "2020-07-20", + 9161.05 ], [ - "2024-10-10", - 60279.53 + "2020-07-21", + 9394.14 ], [ - "2024-10-09", - 60578.28 + "2020-07-22", + 9536.18 ], [ - "2024-10-08", - 62122.02 + "2020-07-23", + 9613.24 ], [ - "2024-10-07", - 62200.28 + "2020-07-24", + 9551.21 ], [ - "2024-10-06", - 62810.86 + "2020-07-25", + 9711.33 ], [ - "2024-10-05", - 62051.29 + "2020-07-26", + 9941 ], [ - "2024-10-04", - 62090.71 + "2020-07-27", + 11048.91 ], [ - "2024-10-03", - 60744.99 + "2020-07-28", + 10934.23 ], [ - "2024-10-02", - 60631.37 + "2020-07-29", + 11110.12 ], [ - "2024-10-01", - 60790 + "2020-07-30", + 11115.95 ], [ - "2024-09-30", - 63301.25 + "2020-07-31", + 11351.62 ], [ - "2024-09-29", - 65600.01 + "2020-08-01", + 11810.07 ], [ - "2024-09-28", - 65858.99 + "2020-08-02", + 11068.54 ], [ - "2024-09-27", - 65789 + "2020-08-03", + 11233.13 ], [ - "2024-09-26", - 65177.21 + "2020-08-04", + 11197.04 ], [ - "2024-09-25", - 63130.89 + "2020-08-05", + 11756.75 ], [ - "2024-09-24", - 64272.93 + "2020-08-06", + 11773.89 ], [ - "2024-09-23", - 63338.87 + "2020-08-07", + 11606.52 ], [ - "2024-09-22", - 63577.66 + "2020-08-08", + 11774.98 ], [ - "2024-09-21", - 63362.74 + "2020-08-09", + 11688.48 ], [ - "2024-09-20", - 63210.69 + "2020-08-10", + 11899.73 ], [ - "2024-09-19", - 62960.14 + "2020-08-11", + 11388.53 ], [ - "2024-09-18", - 61769.18 + "2020-08-12", + 11566.45 ], [ - "2024-09-17", - 60312.6 + "2020-08-13", + 11795.95 ], [ - "2024-09-16", - 58208.75 + "2020-08-14", + 11779 ], [ - "2024-09-15", - 59122.33 + "2020-08-15", + 11859.24 ], [ - "2024-09-14", - 60012.35 + "2020-08-16", + 11918.84 ], [ - "2024-09-13", - 60543.35 + "2020-08-17", + 12304.26 ], [ - "2024-09-12", - 58137.54 + "2020-08-18", + 11950 ], [ - "2024-09-11", - 57352.79 + "2020-08-19", + 11758.87 ], [ - "2024-09-10", - 57645.59 + "2020-08-20", + 11864.26 ], [ - "2024-09-09", - 57053.9 + "2020-08-21", + 11529.22 ], [ - "2024-09-08", - 54881.11 + "2020-08-22", + 11672.93 ], [ - "2024-09-07", - 54156.33 + "2020-08-23", + 11650.01 ], [ - "2024-09-06", - 53950.01 + "2020-08-24", + 11753.85 ], [ - "2024-09-05", - 56156.82 + "2020-08-25", + 11324.92 ], [ - "2024-09-04", - 57971 + "2020-08-26", + 11463.27 ], [ - "2024-09-03", - 57468.84 + "2020-08-27", + 11330.06 ], [ - "2024-09-02", - 59139.83 + "2020-08-28", + 11535 ], [ - "2024-09-01", - 57299 + "2020-08-29", + 11474.31 ], [ - "2024-08-31", - 58968.37 + "2020-08-30", + 11716.01 ], [ - "2024-08-30", - 59112.77 + "2020-08-31", + 11655 ], [ - "2024-08-29", - 59364.47 + "2020-09-01", + 11924.22 ], [ - "2024-08-28", - 59045.88 + "2020-09-02", + 11395.48 ], [ - "2024-08-27", - 59439.64 + "2020-09-03", + 10172.52 ], [ - "2024-08-26", - 62840 + "2020-09-04", + 10500.05 ], [ - "2024-08-25", - 64251.93 + "2020-09-05", + 10168.36 ], [ - "2024-08-24", - 64179.63 + "2020-09-06", + 10257.86 ], [ - "2024-08-23", - 64086.72 + "2020-09-07", + 10375 ], [ - "2024-08-22", - 60383.29 + "2020-09-08", + 10125.69 ], [ - "2024-08-21", - 61163.28 + "2020-09-09", + 10224.56 ], [ - "2024-08-20", - 59017.59 + "2020-09-10", + 10343.23 ], [ - "2024-08-19", - 59452.67 + "2020-09-11", + 10394.41 ], [ - "2024-08-18", - 58437.9 + "2020-09-12", + 10446.52 ], [ - "2024-08-17", - 59497.49 + "2020-09-13", + 10336.76 ], [ - "2024-08-16", - 58888.99 + "2020-09-14", + 10679.95 ], [ - "2024-08-15", - 57543.61 + "2020-09-15", + 10783.75 ], [ - "2024-08-14", - 58690.62 + "2020-09-16", + 10959.61 ], [ - "2024-08-13", - 60603.19 + "2020-09-17", + 10943.61 ], [ - "2024-08-12", - 59358.78 + "2020-09-18", + 10937.52 ], [ - "2024-08-11", - 58722.49 + "2020-09-19", + 11080 ], [ - "2024-08-10", - 60935.02 + "2020-09-20", + 10920.89 ], [ - "2024-08-09", - 60862.13 + "2020-09-21", + 10416.82 ], [ - "2024-08-08", - 61705.58 + "2020-09-22", + 10531.13 ], [ - "2024-08-07", - 55148.1 + "2020-09-23", + 10235.1 ], [ - "2024-08-06", - 56048.08 + "2020-09-24", + 10740.01 ], [ - "2024-08-05", - 54029.12 + "2020-09-25", + 10690.53 ], [ - "2024-08-04", - 58130.95 + "2020-09-26", + 10730 ], [ - "2024-08-03", - 60674.93 + "2020-09-27", + 10778.2 ], [ - "2024-08-02", - 61418.06 + "2020-09-28", + 10695.55 ], [ - "2024-08-01", - 65288.18 + "2020-09-29", + 10840.73 ], [ - "2024-07-31", - 64609.62 + "2020-09-30", + 10779.63 ], [ - "2024-07-30", - 66169.68 + "2020-10-01", + 10617.63 ], [ - "2024-07-29", - 66771.45 + "2020-10-02", + 10573.12 ], [ - "2024-07-28", - 68244.3 + "2020-10-03", + 10551.65 ], [ - "2024-07-27", - 67899.41 + "2020-10-04", + 10671.11 ], [ - "2024-07-26", - 67924.08 + "2020-10-05", + 10795 ], [ - "2024-07-25", - 65795.42 + "2020-10-06", + 10602.66 ], [ - "2024-07-24", - 65366.4 + "2020-10-07", + 10670.47 ], [ - "2024-07-23", - 65939.24 + "2020-10-08", + 10933.09 ], [ - "2024-07-22", - 67558.22 + "2020-10-09", + 11057.07 ], [ - "2024-07-21", - 68181.28 + "2020-10-10", + 11299.5 ], [ - "2024-07-20", - 67163.83 + "2020-10-11", + 11374.01 ], [ - "2024-07-19", - 66707.61 + "2020-10-12", + 11535.46 ], [ - "2024-07-18", - 63982.86 + "2020-10-13", + 11428.22 ], [ - "2024-07-17", - 64085.81 + "2020-10-14", + 11427.7 ], [ - "2024-07-16", - 65088.99 + "2020-10-15", + 11509.34 ], [ - "2024-07-15", - 64757.16 + "2020-10-16", + 11328.95 ], [ - "2024-07-14", - 60808.42 + "2020-10-17", + 11367.89 ], [ - "2024-07-13", - 59224.58 + "2020-10-18", + 11514.2 ], [ - "2024-07-12", - 57909.03 + "2020-10-19", + 11760.45 ], [ - "2024-07-11", - 57340.77 + "2020-10-20", + 11923.83 ], [ - "2024-07-10", - 57712.59 + "2020-10-21", + 12808 ], [ - "2024-07-09", - 58047.86 + "2020-10-22", + 12987.02 ], [ - "2024-07-08", - 56699.43 + "2020-10-23", + 12937.09 ], [ - "2024-07-07", - 55854.09 + "2020-10-24", + 13126.24 ], [ - "2024-07-06", - 58244.75 + "2020-10-25", + 13045 ], [ - "2024-07-05", - 56639.43 + "2020-10-26", + 13068.79 ], [ - "2024-07-04", - 57042.14 + "2020-10-27", + 13698.18 ], [ - "2024-07-03", - 60145.01 + "2020-10-28", + 13281.05 ], [ - "2024-07-02", - 62040.22 + "2020-10-29", + 13460 ], [ - "2024-07-01", - 62830.13 + "2020-10-30", + 13571.51 ], [ - "2024-06-30", - 62668.26 + "2020-10-31", + 13804.81 ], [ - "2024-06-29", - 60885.67 + "2020-11-01", + 13771.59 ], [ - "2024-06-28", - 60313.35 + "2020-11-02", + 13563.22 ], [ - "2024-06-27", - 61615.39 + "2020-11-03", + 14035.8 ], [ - "2024-06-26", - 60816.68 + "2020-11-04", + 14161.48 ], [ - "2024-06-25", - 61789.71 + "2020-11-05", + 15608.21 ], [ - "2024-06-24", - 60263 + "2020-11-06", + 15599.95 ], [ - "2024-06-23", - 63171.43 + "2020-11-07", + 14834.09 ], [ - "2024-06-22", - 64235.01 + "2020-11-08", + 15482.9 ], [ - "2024-06-21", - 64120.28 + "2020-11-09", + 15342.25 ], [ - "2024-06-20", - 64840.88 + "2020-11-10", + 15315.03 ], [ - "2024-06-19", - 64943.79 + "2020-11-11", + 15705.79 ], [ - "2024-06-18", - 65152.8 + "2020-11-12", + 16310.81 ], [ - "2024-06-17", - 66481.81 + "2020-11-13", + 16339.56 ], [ - "2024-06-16", - 66628.75 + "2020-11-14", + 16082.01 ], [ - "2024-06-15", - 66192 + "2020-11-15", + 15966.89 ], [ - "2024-06-14", - 66004.39 + "2020-11-16", + 16726.64 ], [ - "2024-06-13", - 66738.85 + "2020-11-17", + 17679.36 ], [ - "2024-06-12", - 68248.6 + "2020-11-18", + 17782.91 ], [ - "2024-06-11", - 67316.53 + "2020-11-19", + 17821.58 ], [ - "2024-06-10", - 69497.73 + "2020-11-20", + 18675.25 ], [ - "2024-06-09", - 69637.87 + "2020-11-21", + 18721.21 ], [ - "2024-06-08", - 69304.05 + "2020-11-22", + 18437.66 ], [ - "2024-06-07", - 69324.53 + "2020-11-23", + 18384.82 ], [ - "2024-06-06", - 70773.64 + "2020-11-24", + 19172.84 ], [ - "2024-06-05", - 71121.11 + "2020-11-25", + 18721.93 ], [ - "2024-06-04", - 70542.32 + "2020-11-26", + 17170 ], [ - "2024-06-03", - 68791 + "2020-11-27", + 17153.95 ], [ - "2024-06-02", - 67735.52 + "2020-11-28", + 17739.85 ], [ - "2024-06-01", - 67719.29 + "2020-11-29", + 18202.04 ], [ - "2024-05-31", - 67472.41 + "2020-11-30", + 19713.94 ], [ - "2024-05-30", - 68338.58 + "2020-12-01", + 18782.97 ], [ - "2024-05-29", - 67569.45 + "2020-12-02", + 19225.63 ], [ - "2024-05-28", - 68321.98 + "2020-12-03", + 19448.64 ], [ - "2024-05-27", - 69368.72 + "2020-12-04", + 18658.1 ], [ - "2024-05-26", - 68473.72 + "2020-12-05", + 19158.96 ], [ - "2024-05-25", - 69289.67 + "2020-12-06", + 19375.6 ], [ - "2024-05-24", - 68547.8 + "2020-12-07", + 19177.71 ], [ - "2024-05-23", - 67940.45 + "2020-12-08", + 18316.22 ], [ - "2024-05-22", - 69109.93 + "2020-12-09", + 18546.55 ], [ - "2024-05-21", - 70142.84 + "2020-12-10", + 18253.44 ], [ - "2024-05-20", - 71432.17 + "2020-12-11", + 18042.15 ], [ - "2024-05-19", - 66261.62 + "2020-12-12", + 18821.28 ], [ - "2024-05-18", - 66923.87 + "2020-12-13", + 19166.65 ], [ - "2024-05-17", - 67046.33 + "2020-12-14", + 19272.37 ], [ - "2024-05-16", - 65252.18 + "2020-12-15", + 19444.6 ], [ - "2024-05-15", - 66244.69 + "2020-12-16", + 21359.65 ], [ - "2024-05-14", - 61539.84 + "2020-12-17", + 22826.48 ], [ - "2024-05-13", - 62932.37 + "2020-12-18", + 23137.76 ], [ - "2024-05-12", - 61453.02 + "2020-12-19", + 23849.99 ], [ - "2024-05-11", - 60814.63 + "2020-12-20", + 23476.51 ], [ - "2024-05-10", - 60787.47 + "2020-12-21", + 22729.4 ], [ - "2024-05-09", - 63073.57 + "2020-12-22", + 23823.27 ], [ - "2024-05-08", - 61169.53 + "2020-12-23", + 23228.35 ], [ - "2024-05-07", - 62315.76 + "2020-12-24", + 23717.96 ], [ - "2024-05-06", - 63162.24 + "2020-12-25", + 24704.71 ], [ - "2024-05-05", - 64023.45 + "2020-12-26", + 26475.35 ], [ - "2024-05-04", - 63902.88 + "2020-12-27", + 26258.65 ], [ - "2024-05-03", - 62913.03 + "2020-12-28", + 27040.36 ], [ - "2024-05-02", - 59071.89 + "2020-12-29", + 27366.35 ], [ - "2024-05-01", - 58265.59 + "2020-12-30", + 28897.42 ], [ - "2025-12-11", - 92542 + "2020-12-31", + 28990.08 ], [ - "2025-12-10", - 92035.99 + "2021-01-01", + 29412.84 ], [ - "2025-12-09", - 92690 + "2021-01-02", + 32225.91 ], [ - "2025-12-08", - 90653.86 + "2021-01-03", + 33080.66 ], [ - "2025-12-07", - 90402.29 + "2021-01-04", + 32019.99 ], [ - "2025-12-06", - 89267.97 + "2021-01-05", + 34030.64 ], [ - "2025-12-05", - 89345.29 + "2021-01-06", + 36859.26 ], [ - "2025-12-04", - 92093.54 + "2021-01-07", + 39505.56 ], [ - "2025-12-03", - 93453.84 + "2021-01-08", + 40665.15 ], [ - "2025-12-02", - 91308.05 + "2021-01-09", + 40257.43 ], [ - "2025-12-01", - 86282.36 + "2021-01-10", + 38171.57 ], [ - "2025-11-30", - 90369.51 + "2021-01-11", + 35452.59 ], [ - "2025-11-29", - 90828.06 + "2021-01-12", + 34038.98 ], [ - "2025-11-28", - 90902.7 + "2021-01-13", + 37393.66 ], [ - "2025-11-27", - 91316.7 + "2021-01-14", + 39125.14 ], [ - "2025-11-26", - 90468.84 + "2021-01-15", + 36754.67 ], [ - "2025-11-25", - 87325.01 + "2021-01-16", + 36006.94 ], [ - "2025-11-24", - 88266.2 + "2021-01-17", + 35820 ], [ - "2025-11-23", - 86808.28 + "2021-01-18", + 36624.23 ], [ - "2025-11-22", - 84684 + "2021-01-19", + 35917.28 ], [ - "2025-11-21", - 85068.88 + "2021-01-20", + 35503.09 ], [ - "2025-11-20", - 86536.88 + "2021-01-21", + 30855.95 ], [ - "2025-11-19", - 91461.6 + "2021-01-22", + 32984.93 ], [ - "2025-11-18", - 92914.46 + "2021-01-23", + 32112.01 ], [ - "2025-11-17", - 92100.6 + "2021-01-24", + 32288.56 ], [ - "2025-11-16", - 94183.97 + "2021-01-25", + 32261.87 ], [ - "2025-11-15", - 95544.94 + "2021-01-26", + 32510.82 ], [ - "2025-11-14", - 94503.96 + "2021-01-27", + 30407.13 ], [ - "2025-11-13", - 99614.54 + "2021-01-28", + 33488.99 ], [ - "2025-11-12", - 101639.01 + "2021-01-29", + 34262.11 ], [ - "2025-11-11", - 103009.35 + "2021-01-30", + 34315.63 ], [ - "2025-11-10", - 105979.38 + "2021-01-31", + 33137.74 ], [ - "2025-11-09", - 104694.95 + "2021-02-01", + 33533.19 ], [ - "2025-11-08", - 102285.57 + "2021-02-02", + 35512.67 ], [ - "2025-11-07", - 103284.27 + "2021-02-03", + 37678.37 ], [ - "2025-11-06", - 101290.5 + "2021-02-04", + 36975 ], [ - "2025-11-05", - 103869 + "2021-02-05", + 38311.49 ], [ - "2025-11-04", - 101468.15 + "2021-02-06", + 39265.43 ], [ - "2025-11-03", - 106557.98 + "2021-02-07", + 38871.42 ], [ - "2025-11-02", - 110536.01 + "2021-02-08", + 46448.1 ], [ - "2025-11-01", - 110052.25 + "2021-02-09", + 46514.73 ], [ - "2025-10-31", - 109555.27 + "2021-02-10", + 44850 ], [ - "2025-10-30", - 108308.18 + "2021-02-11", + 47997.91 ], [ - "2025-10-29", - 110032.13 + "2021-02-12", + 47408.34 ], [ - "2025-10-28", - 112906.75 + "2021-02-13", + 47232.45 ], [ - "2025-10-27", - 114087.06 + "2021-02-14", + 48680.69 ], [ - "2025-10-26", - 114548.09 + "2021-02-15", + 47936.37 ], [ - "2025-10-25", - 111666.21 + "2021-02-16", + 49158.71 ], [ - "2025-10-24", - 111042.13 + "2021-02-17", + 52170.01 ], [ - "2025-10-23", - 110116.03 + "2021-02-18", + 51601.73 ], [ - "2025-10-22", - 107585.98 + "2021-02-19", + 55983.56 ], [ - "2025-10-21", - 108362.27 + "2021-02-20", + 55923.52 ], [ - "2025-10-20", - 110568.06 + "2021-02-21", + 57489.16 ], [ - "2025-10-19", - 108676.78 + "2021-02-22", + 54142.13 ], [ - "2025-10-18", - 107208.91 + "2021-02-23", + 48899.99 ], [ - "2025-10-17", - 106463.3 + "2021-02-24", + 49737.82 ], [ - "2025-10-16", - 108198 + "2021-02-25", + 47058.48 ], [ - "2025-10-15", - 110804.12 + "2021-02-26", + 46326.2 ], [ - "2025-10-14", - 113068 + "2021-02-27", + 46180.75 ], [ - "2025-10-13", - 115274.03 + "2021-02-28", + 45231.75 ], [ - "2025-10-12", - 115067.98 + "2021-03-01", + 49639.4 ], [ - "2025-10-11", - 110768.89 + "2021-03-02", + 48511.6 ], [ - "2025-10-10", - 112980.28 + "2021-03-03", + 50360 ], [ - "2025-10-09", - 121714.51 + "2021-03-04", + 48368.52 ], [ - "2025-10-08", - 123343.25 + "2021-03-05", + 48769.47 ], [ - "2025-10-07", - 121393.95 + "2021-03-06", + 48909.84 ], [ - "2025-10-06", - 124720.09 + "2021-03-07", + 50978.61 ], [ - "2025-10-05", - 123520.79 + "2021-03-08", + 52415.23 ], [ - "2025-10-04", - 122458.56 + "2021-03-09", + 54916.38 ], [ - "2025-10-03", - 122318.4 + "2021-03-10", + 55890.69 ], [ - "2025-10-02", - 120621.32 + "2021-03-11", + 57815.47 ], [ - "2025-10-01", - 118659.97 + "2021-03-12", + 57225.91 ], [ - "2025-09-30", - 114067.71 + "2021-03-13", + 61178.5 ], [ - "2025-09-29", - 114365.07 + "2021-03-14", + 58972.7 ], [ - "2025-09-28", - 112197.67 + "2021-03-15", + 55636.15 ], [ - "2025-09-27", - 109681.16 + "2021-03-16", + 56927.11 ], [ - "2025-09-26", - 109697.29 + "2021-03-17", + 58925.54 ], [ - "2025-09-25", - 109035.72 + "2021-03-18", + 57644.95 ], [ - "2025-09-24", - 113348.17 + "2021-03-19", + 58039.66 ], [ - "2025-09-23", - 112017.21 + "2021-03-20", + 58116.7 ], [ - "2025-09-22", - 112736.59 + "2021-03-21", + 57363.32 ], [ - "2025-09-21", - 115282.27 + "2021-03-22", + 54110.07 ], [ - "2025-09-20", - 115752.4 + "2021-03-23", + 54345.54 ], [ - "2025-09-19", - 115690.55 + "2021-03-24", + 52276.16 ], [ - "2025-09-18", - 117117.99 + "2021-03-25", + 51325.01 ], [ - "2025-09-17", - 116484.4 + "2021-03-26", + 55072.44 ], [ - "2025-09-16", - 116832.56 + "2021-03-27", + 55856.53 ], [ - "2025-09-15", - 115381.08 + "2021-03-28", + 55778.82 ], [ - "2025-09-14", - 115314.13 + "2021-03-29", + 57613.48 ], [ - "2025-09-13", - 115968.35 + "2021-03-30", + 58786.46 ], [ - "2025-09-12", - 116106.03 + "2021-03-31", + 58800 ], [ - "2025-09-11", - 115540 + "2021-04-01", + 58726.48 ], [ - "2025-09-10", - 113983.97 + "2021-04-02", + 58981.04 ], [ - "2025-09-09", - 111549.32 + "2021-04-03", + 57094.34 ], [ - "2025-09-08", - 112072.57 + "2021-04-04", + 58215.94 ], [ - "2025-09-07", - 111129.61 + "2021-04-05", + 59123.02 ], [ - "2025-09-06", - 110212.6 + "2021-04-06", + 58019.98 ], [ - "2025-09-05", - 110670.02 + "2021-04-07", + 55955.75 ], [ - "2025-09-04", - 110720.79 + "2021-04-08", + 58083.1 ], [ - "2025-09-03", - 111756.41 + "2021-04-09", + 58092.68 ], [ - "2025-09-02", - 111247.94 + "2021-04-10", + 59778.6 ], [ - "2025-09-01", - 109240.55 + "2021-04-11", + 59985.26 ], [ - "2025-08-31", - 108247.95 + "2021-04-12", + 59839.82 ], [ - "2025-08-30", - 108827.93 + "2021-04-13", + 63588.22 ], [ - "2025-08-29", - 108378.32 + "2021-04-14", + 62971.8 ], [ - "2025-08-28", - 112574.85 + "2021-04-15", + 63229.04 ], [ - "2025-08-27", - 111253.21 + "2021-04-16", + 61427.27 ], [ - "2025-08-26", - 111788.01 + "2021-04-17", + 60058.86 ], [ - "2025-08-25", - 110127.74 + "2021-04-18", + 56274.41 ], [ - "2025-08-24", - 113478 + "2021-04-19", + 55696.83 ], [ - "2025-08-23", - 115383.87 + "2021-04-20", + 56499.29 ], [ - "2025-08-22", - 116908.68 + "2021-04-21", + 53800.86 ], [ - "2025-08-21", - 112480.3 + "2021-04-22", + 51701.59 ], [ - "2025-08-20", - 114276 + "2021-04-23", + 51187.27 ], [ - "2025-08-19", - 112856.19 + "2021-04-24", + 50089.15 ], [ - "2025-08-18", - 116286.76 + "2021-04-25", + 49121 ], [ - "2025-08-17", - 117488.6 + "2021-04-26", + 54053.6 ], [ - "2025-08-16", - 117455.68 + "2021-04-27", + 55069.62 ], [ - "2025-08-15", - 117436.96 + "2021-04-28", + 54894.03 ], [ - "2025-08-14", - 118389.79 + "2021-04-29", + 53580 ], [ - "2025-08-13", - 123365.63 + "2021-04-30", + 57798.77 ], [ - "2025-08-12", - 120113.18 + "2021-05-01", + 57859.28 ], [ - "2025-08-11", - 118701.84 + "2021-05-02", + 56625.2 ], [ - "2025-08-10", - 119309.37 + "2021-05-03", + 57212.73 ], [ - "2025-08-09", - 116492.51 + "2021-05-04", + 53241.92 ], [ - "2025-08-08", - 116683.79 + "2021-05-05", + 57515.69 ], [ - "2025-08-07", - 117515.49 + "2021-05-06", + 56440.66 ], [ - "2025-08-06", - 115028.83 + "2021-05-07", + 57380.39 ], [ - "2025-08-05", - 114112.95 + "2021-05-08", + 58958.05 ], [ - "2025-08-04", - 115051.85 + "2021-05-09", + 58312.57 ], [ - "2025-08-03", - 114215.73 + "2021-05-10", + 55866.41 ], [ - "2025-08-02", - 112542.74 + "2021-05-11", + 56753.19 ], [ - "2025-08-01", - 113248.73 + "2021-05-12", + 49498.77 ], [ - "2025-07-31", - 115761.13 + "2021-05-13", + 49690.11 ], [ - "2025-07-30", - 117830.15 + "2021-05-14", + 49893.48 ], [ - "2025-07-29", - 117933.39 + "2021-05-15", + 46775.51 ], [ - "2025-07-28", - 118070.59 + "2021-05-16", + 46450.79 ], [ - "2025-07-27", - 119465.52 + "2021-05-17", + 43580.5 ], [ - "2025-07-26", - 117969.63 + "2021-05-18", + 42857.15 ], [ - "2025-07-25", - 117633.27 + "2021-05-19", + 36731.75 ], [ - "2025-07-24", - 118397.04 + "2021-05-20", + 40623.33 ], [ - "2025-07-23", - 118810.44 + "2021-05-21", + 37340.77 ], [ - "2025-07-22", - 120026.42 + "2021-05-22", + 37476.83 ], [ - "2025-07-21", - 117428.79 + "2021-05-23", + 34758.67 ], [ - "2025-07-20", - 117312.7 + "2021-05-24", + 38878.56 ], [ - "2025-07-19", - 117914.17 + "2021-05-25", + 38361.81 ], [ - "2025-07-18", - 118023.05 + "2021-05-26", + 39293.23 ], [ - "2025-07-17", - 119273.69 + "2021-05-27", + 38556.88 ], [ - "2025-07-16", - 118681.68 + "2021-05-28", + 35680.47 ], [ - "2025-07-15", - 117781.64 + "2021-05-29", + 34627.82 ], [ - "2025-07-14", - 119863.71 + "2021-05-30", + 35669.44 ], [ - "2025-07-13", - 119130.81 + "2021-05-31", + 37279.31 ], [ - "2025-07-12", - 117472.65 + "2021-06-01", + 36685 ], [ - "2025-07-11", - 117582.16 + "2021-06-02", + 37577.91 ], [ - "2025-07-10", - 116031.3 + "2021-06-03", + 39248.55 ], [ - "2025-07-09", - 111282.85 + "2021-06-04", + 36856.52 ], [ - "2025-07-08", - 108958.04 + "2021-06-05", + 35539.49 ], [ - "2025-07-07", - 108269.84 + "2021-06-06", + 35800.48 ], [ - "2025-07-06", - 109217.98 + "2021-06-07", + 33575.91 ], [ - "2025-07-05", - 108246.65 + "2021-06-08", + 33402.13 ], [ - "2025-07-04", - 108028.6 + "2021-06-09", + 37403.86 ], [ - "2025-07-03", - 109628.83 + "2021-06-10", + 36694.05 ], [ - "2025-07-02", - 108888.32 + "2021-06-11", + 37338.44 ], [ - "2025-07-01", - 105711.78 + "2021-06-12", + 35557.33 ], [ - "2025-06-30", - 107173.21 + "2021-06-13", + 39015.24 ], [ - "2025-06-29", - 108386.44 + "2021-06-14", + 40539.47 ], [ - "2025-06-28", - 107352.2 + "2021-06-15", + 40162.37 ], [ - "2025-06-27", - 107113.38 + "2021-06-16", + 38351 ], [ - "2025-06-26", - 107029.64 + "2021-06-17", + 38095.17 ], [ - "2025-06-25", - 107400.22 + "2021-06-18", + 35841.81 ], [ - "2025-06-24", - 106141 + "2021-06-19", + 35484.79 ], [ - "2025-06-23", - 105419.39 + "2021-06-20", + 35585.78 ], [ - "2025-06-22", - 100996.87 + "2021-06-21", + 31609.82 ], [ - "2025-06-21", - 102160.03 + "2021-06-22", + 32538.37 ], [ - "2025-06-20", - 103317.8 + "2021-06-23", + 33688.35 ], [ - "2025-06-19", - 104671.9 + "2021-06-24", + 34654.58 ], [ - "2025-06-18", - 104915.6 + "2021-06-25", + 31594.63 ], [ - "2025-06-17", - 104590.44 + "2021-06-26", + 32275.19 ], [ - "2025-06-16", - 106853.38 + "2021-06-27", + 34709.23 ], [ - "2025-06-15", - 105599.25 + "2021-06-28", + 34493.22 ], [ - "2025-06-14", - 105465.42 + "2021-06-29", + 35904.28 ], [ - "2025-06-13", - 106118.7 + "2021-06-30", + 35060 ], [ - "2025-06-12", - 105721.05 + "2021-07-01", + 33516.11 ], [ - "2025-06-11", - 108669.37 + "2021-07-02", + 33805.02 ], [ - "2025-06-10", - 110300.24 + "2021-07-03", + 34682.16 ], [ - "2025-06-09", - 110301.15 + "2021-07-04", + 35284.05 ], [ - "2025-06-08", - 105784.4 + "2021-07-05", + 33697.78 ], [ - "2025-06-07", - 105619.02 + "2021-07-06", + 34225.73 ], [ - "2025-06-06", - 104397.99 + "2021-07-07", + 33878.56 ], [ - "2025-06-05", - 101570.2 + "2021-07-08", + 32875.95 ], [ - "2025-06-04", - 104753.38 + "2021-07-09", + 33824.26 ], [ - "2025-06-03", - 105447.82 + "2021-07-10", + 33515.35 ], [ - "2025-06-02", - 105904.94 + "2021-07-11", + 34259.23 ], [ - "2025-06-01", - 105697.94 + "2021-07-12", + 33091.1 ], [ - "2025-05-31", - 104645.87 + "2021-07-13", + 32734.14 ], [ - "2025-05-30", - 104033.26 + "2021-07-14", + 32816.39 ], [ - "2025-05-29", - 105572.58 + "2021-07-15", + 31868.68 ], [ - "2025-05-28", - 107819.29 + "2021-07-16", + 31388.06 ], [ - "2025-05-27", - 108978.46 + "2021-07-17", + 31533.91 ], [ - "2025-05-26", - 109464.32 + "2021-07-18", + 31788.25 ], [ - "2025-05-25", - 109048.68 + "2021-07-19", + 30842.03 ], [ - "2025-05-24", - 107794.01 + "2021-07-20", + 29796.16 ], [ - "2025-05-23", - 107329.61 + "2021-07-21", + 32135.19 ], [ - "2025-05-22", - 111722.53 + "2021-07-22", + 32287.74 ], [ - "2025-05-21", - 109699.54 + "2021-07-23", + 33647.26 ], [ - "2025-05-20", - 106883.24 + "2021-07-24", + 34283.01 ], [ - "2025-05-19", - 105616.18 + "2021-07-25", + 35428.26 ], [ - "2025-05-18", - 106473.46 + "2021-07-26", + 37262.77 ], [ - "2025-05-17", - 103161.07 + "2021-07-27", + 39470.48 ], [ - "2025-05-16", - 103500.03 + "2021-07-28", + 40035.1 ], [ - "2025-05-15", - 103786.43 + "2021-07-29", + 40039.44 ], [ - "2025-05-14", - 103545.38 + "2021-07-30", + 42237.95 ], [ - "2025-05-13", - 104131.06 + "2021-07-31", + 41495.01 ], [ - "2025-05-12", - 102800.21 + "2021-08-01", + 39865.41 ], [ - "2025-05-11", - 104137.62 + "2021-08-02", + 39149.59 ], [ - "2025-05-10", - 104821.19 + "2021-08-03", + 38191.44 ], [ - "2025-05-09", - 102986.96 + "2021-08-04", + 39722.41 ], [ - "2025-05-08", - 103253.49 + "2021-08-05", + 40888.74 ], [ - "2025-05-07", - 97058.32 + "2021-08-06", + 42869.58 ], [ - "2025-05-06", - 96839.17 + "2021-08-07", + 44637.34 ], [ - "2025-05-05", - 94733.99 + "2021-08-08", + 43829.14 ], [ - "2025-05-04", - 94272.55 + "2021-08-09", + 46285.48 ], [ - "2025-05-03", - 95861.33 + "2021-08-10", + 45595.66 ], [ - "2025-05-02", - 96929.81 + "2021-08-11", + 45553.49 ], [ - "2025-05-01", - 96524.98 + "2021-08-12", + 44422.14 ], [ - "2025-04-30", - 94182.54 + "2021-08-13", + 47833.64 ], [ - "2025-04-29", - 94271.09 + "2021-08-14", + 47109.65 ], [ - "2025-04-28", - 95042.57 + "2021-08-15", + 47014.49 ], [ - "2025-04-27", - 93780.57 + "2021-08-16", + 45902.46 ], [ - "2025-04-26", - 94666.64 + "2021-08-17", + 44671.58 ], [ - "2025-04-25", - 94708.79 + "2021-08-18", + 44707.98 ], [ - "2025-04-24", - 94021.96 + "2021-08-19", + 46765.87 ], [ - "2025-04-23", - 93740.92 + "2021-08-20", + 49342.4 ], [ - "2025-04-22", - 93489.1 + "2021-08-21", + 48867.02 ], [ - "2025-04-21", - 87522.07 + "2021-08-22", + 49284.63 ], [ - "2025-04-20", - 85177.34 + "2021-08-23", + 49506.5 ], [ - "2025-04-19", - 85074.99 + "2021-08-24", + 47682.45 ], [ - "2025-04-18", - 84466.47 + "2021-08-25", + 48987.33 ], [ - "2025-04-17", - 84961.97 + "2021-08-26", + 46851.47 ], [ - "2025-04-16", - 84028.72 + "2021-08-27", + 49077.57 ], [ - "2025-04-15", - 83629.78 + "2021-08-28", + 48942.94 ], [ - "2025-04-14", - 84590.36 + "2021-08-29", + 48802.58 ], [ - "2025-04-13", - 83733.07 + "2021-08-30", + 46993.71 ], [ - "2025-04-12", - 85271.01 + "2021-08-31", + 47112.5 ], [ - "2025-04-11", - 83380.47 + "2021-09-01", + 48839.86 ], [ - "2025-04-10", - 79552.34 + "2021-09-02", + 49279.37 ], [ - "2025-04-09", - 82594.75 + "2021-09-03", + 50025 ], [ - "2025-04-08", - 76251.64 + "2021-09-04", + 49942.98 ], [ - "2025-04-07", - 79140.01 + "2021-09-05", + 51789.17 ], [ - "2025-04-06", - 78370.75 + "2021-09-06", + 52698.81 ], [ - "2025-04-05", - 83498.25 + "2021-09-07", + 46894.5 ], [ - "2025-04-04", - 83860.16 + "2021-09-08", + 46060.36 ], [ - "2025-04-03", - 83174.33 + "2021-09-09", + 46400 ], [ - "2025-04-02", - 82490.08 + "2021-09-10", + 44851.45 ], [ - "2025-04-01", - 85170.37 + "2021-09-11", + 45171.83 ], [ - "2025-03-31", - 82534.32 + "2021-09-12", + 46024.23 ], [ - "2025-03-30", - 82379.98 + "2021-09-13", + 44947.72 ], [ - "2025-03-29", - 82616.83 + "2021-09-14", + 47127.22 ], [ - "2025-03-28", - 84381.8 + "2021-09-15", + 48148.12 ], [ - "2025-03-27", - 87217.48 + "2021-09-16", + 47753.16 ], [ - "2025-03-26", - 86926.01 + "2021-09-17", + 47303.5 ], [ - "2025-03-25", - 87427.88 + "2021-09-18", + 48314.56 ], [ - "2025-03-24", - 87523.62 + "2021-09-19", + 47255.92 ], [ - "2025-03-23", - 86092.94 + "2021-09-20", + 43012.97 ], [ - "2025-03-22", - 83852.03 + "2021-09-21", + 40719.6 ], [ - "2025-03-21", - 84061.96 + "2021-09-22", + 43575.1 ], [ - "2025-03-20", - 84183.42 + "2021-09-23", + 44897.59 ], [ - "2025-03-19", - 86877.96 + "2021-09-24", + 42848.92 ], [ - "2025-03-18", - 82698.76 + "2021-09-25", + 42705.51 ], [ - "2025-03-17", - 84011.4 + "2021-09-26", + 43178.02 ], [ - "2025-03-16", - 82562.57 + "2021-09-27", + 42171.76 ], [ - "2025-03-15", - 84351.46 + "2021-09-28", + 41026.07 ], [ - "2025-03-14", - 83980.49 + "2021-09-29", + 41522.16 ], [ - "2025-03-13", - 81073.43 + "2021-09-30", + 43824.43 ], [ - "2025-03-12", - 83659.43 + "2021-10-01", + 48165.76 ], [ - "2025-03-11", - 82914.51 + "2021-10-02", + 47657.69 ], [ - "2025-03-10", - 78544.71 + "2021-10-03", + 48233.99 ], [ - "2025-03-09", - 80699.17 + "2021-10-04", + 49245.54 ], [ - "2025-03-08", - 86206.69 + "2021-10-05", + 51493.99 ], [ - "2025-03-07", - 86756.98 + "2021-10-06", + 55339.48 ], [ - "2025-03-06", - 89921.85 + "2021-10-07", + 53797.82 ], [ - "2025-03-05", - 90603.73 + "2021-10-08", + 53963.82 ], [ - "2025-03-04", - 87249.96 + "2021-10-09", + 54962.29 ], [ - "2025-03-03", - 86161.1 + "2021-10-10", + 54690.53 ], [ - "2025-03-02", - 94265.48 + "2021-10-11", + 57487.44 ], [ - "2025-03-01", - 86018.76 + "2021-10-12", + 56005.1 ], [ - "2025-02-28", - 84297.73 + "2021-10-13", + 57367.32 ], [ - "2025-02-27", - 84625.19 + "2021-10-14", + 57359.51 ], [ - "2025-02-26", - 84111.78 + "2021-10-15", + 61695.39 ], [ - "2025-02-25", - 88583.74 + "2021-10-16", + 60877.42 ], [ - "2025-02-24", - 91510.82 + "2021-10-17", + 61527.11 ], [ - "2025-02-23", - 96265.98 + "2021-10-18", + 62042.41 ], [ - "2025-02-22", - 96582.12 + "2021-10-19", + 64303.14 ], [ - "2025-02-21", - 96157.03 + "2021-10-20", + 66026.54 ], [ - "2025-02-20", - 98347.2 + "2021-10-21", + 62204.02 ], [ - "2026-10-02", - 84504.88 + "2021-10-22", + 60687.64 ], [ - "2026-10-01", - 84848.73 + "2021-10-23", + 61300.01 ], [ - "2026-09-30", - 83556.14 + "2021-10-24", + 60854.48 ], [ - "2026-09-29", - 83638.42 + "2021-10-25", + 63083.54 ], [ - "2026-09-28", - 83456.74 + "2021-10-26", + 60337.62 ], [ - "2026-09-27", - 84462.14 + "2021-10-27", + 58455.47 ], [ - "2026-09-26", - 84416.65 + "2021-10-28", + 60591.65 ], [ - "2026-09-25", - 84093.13 + "2021-10-29", + 62276.72 ], [ - "2026-09-24", - 84385.46 + "2021-10-30", + 61892.41 ], [ - "2026-09-23", - 84378.31 + "2021-10-31", + 61343.68 ], [ - "2026-09-22", - 86198.05 + "2021-11-01", + 60949.54 ], [ - "2026-09-21", - 86594.94 + "2021-11-02", + 63266.51 ], [ - "2026-09-20", - 81159.64 + "2021-11-03", + 62935.41 ], [ - "2026-09-19", - 81233.91 + "2021-11-04", + 61444.5 ], [ - "2026-09-18", - 80875.04 + "2021-11-05", + 61006.15 ], [ - "2026-09-17", - 76348.74 + "2021-11-06", + 61539.31 ], [ - "2026-09-16", - 76144.99 + "2021-11-07", + 63309.13 ], [ - "2026-09-15", - 75584.17 + "2021-11-08", + 67554.84 ], [ - "2026-09-14", - 78175.01 + "2021-11-09", + 66944.66 ], [ - "2026-09-13", - 76799.85 + "2021-11-10", + 64912.2 ], [ - "2026-09-12", - 77262.85 + "2021-11-11", + 64807.59 ], [ - "2026-09-11", - 77208.55 + "2021-11-12", + 64147.9 ], [ - "2026-09-10", - 76536.55 + "2021-11-13", + 64400.01 ], [ - "2026-09-09", - 78283.98 + "2021-11-14", + 65505.02 ], [ - "2026-09-08", - 78447.11 + "2021-11-15", + 63624.59 ], [ - "2026-09-07", - 79091.97 + "2021-11-16", + 60107.98 ], [ - "2026-09-06", - 80339.13 + "2021-11-17", + 60351.51 ], [ - "2026-09-05", - 79831.57 + "2021-11-18", + 56898 ], [ - "2026-09-04", - 79675.12 + "2021-11-19", + 58122.16 ], [ - "2026-09-03", - 81263.99 + "2021-11-20", + 59760.76 ], [ - "2026-09-02", - 77307.36 + "2021-11-21", + 58671.21 ], [ - "2026-09-01", - 77398.69 + "2021-11-22", + 56280.81 ], [ - "2026-08-31", - 78562.74 + "2021-11-23", + 57566.85 ], [ - "2026-08-30", - 77665.14 + "2021-11-24", + 57162.66 ], [ - "2026-08-29", - 78233.93 + "2021-11-25", + 58987.27 ], [ - "2026-08-28", - 77839.19 + "2021-11-26", + 53757.67 ], [ - "2026-08-27", - 80275.34 + "2021-11-27", + 54759.05 ], [ - "2026-08-26", - 79026.18 + "2021-11-28", + 57317.17 ], [ - "2026-08-25", - 78526.8 + "2021-11-29", + 57838.06 ], [ - "2026-08-24", - 78981.59 + "2021-11-30", + 56987.97 ], [ - "2026-08-23", - 77729.36 + "2021-12-01", + 57226.5 ], [ - "2026-08-22", - 77054.44 + "2021-12-02", + 56521.46 ], [ - "2026-08-21", - 78325.54 + "2021-12-03", + 53638.04 ], [ - "2026-08-20", - 73011.87 + "2021-12-04", + 49241.12 ], [ - "2026-08-19", - 69300.01 + "2021-12-05", + 49484.22 ], [ - "2026-08-18", - 64681.33 + "2021-12-06", + 50529.56 ], [ - "2026-08-17", - 64484.18 + "2021-12-07", + 50625.48 ], [ - "2026-08-16", - 62836.66 + "2021-12-08", + 50519.68 ], [ - "2026-08-15", - 63018.75 + "2021-12-09", + 47568.43 ], [ - "2026-08-14", - 62975.19 + "2021-12-10", + 47170.94 ], [ - "2026-08-13", - 63425.35 + "2021-12-11", + 49407.75 ], [ - "2026-08-12", - 63411.72 + "2021-12-12", + 50089.64 ], [ - "2026-08-11", - 63531.75 + "2021-12-13", + 46727.89 ], [ - "2026-08-10", - 63911.88 + "2021-12-14", + 48367.43 ], [ - "2026-08-09", - 64848.69 + "2021-12-15", + 48884.78 ], [ - "2026-08-08", - 64908.72 + "2021-12-16", + 47634.22 ], [ - "2026-08-07", - 64891.61 + "2021-12-17", + 46166.5 ], [ - "2026-08-06", - 64267.3 + "2021-12-18", + 46859.46 ], [ - "2026-08-05", - 64603.03 + "2021-12-19", + 46687.19 ], [ - "2026-08-04", - 64050.51 + "2021-12-20", + 46926.07 ], [ - "2026-08-03", - 63466.51 + "2021-12-21", + 48914.7 ], [ - "2026-08-02", - 63499.49 + "2021-12-22", + 48608.62 ], [ - "2026-08-01", - 62764.2 + "2021-12-23", + 50842.2 ], [ - "2026-07-31", - 62825.9 + "2021-12-24", + 50851.38 ], [ - "2026-07-30", - 64721.9 + "2021-12-25", + 50428.31 ], [ - "2026-07-29", - 63896.14 + "2021-12-26", + 50801.79 ], [ - "2026-07-28", - 63847.12 + "2021-12-27", + 50717.77 ], [ - "2026-07-27", - 63694.43 + "2021-12-28", + 47543.09 ], [ - "2026-07-26", - 65341.07 + "2021-12-29", + 46471.24 ], [ - "2026-07-25", - 64295.61 + "2021-12-30", + 47122.08 ], [ - "2026-07-24", - 64083.32 + "2021-12-31", + 46211.24 ], [ - "2026-07-23", - 65051.23 + "2022-01-01", + 47733.43 ], [ - "2026-07-22", - 66086.61 + "2022-01-02", + 47299.07 ], [ - "2026-07-21", - 66516.18 + "2022-01-03", + 46459.56 ], [ - "2026-07-20", - 65213.05 + "2022-01-04", + 45814.61 ], [ - "2026-07-19", - 64681.78 + "2022-01-05", + 43436.04 ], [ - "2026-07-18", - 64796.36 + "2022-01-06", + 43083.76 ], [ - "2026-07-17", - 63894 + "2022-01-07", + 41565.18 ], [ - "2026-07-16", - 63770.6 + "2022-01-08", + 41684.84 ], [ - "2026-07-15", - 64716.63 + "2022-01-09", + 41876.52 ], [ - "2026-07-14", - 64988.64 + "2022-01-10", + 41824.07 ], [ - "2026-07-13", - 62264.94 + "2022-01-11", + 42753.44 ], [ - "2026-07-12", - 63740.32 + "2022-01-12", + 43920.37 ], [ - "2026-07-11", - 63773.04 + "2022-01-13", + 42581.65 ], [ - "2026-07-10", - 64128.49 + "2022-01-14", + 43090.72 ], [ - "2026-07-09", - 63175.25 + "2022-01-15", + 43098.2 ], [ - "2026-07-08", - 62237.7 + "2022-01-16", + 43104.34 ], [ - "2026-07-07", - 63323.27 + "2022-01-17", + 42218.01 ], [ - "2026-07-06", - 64001.84 + "2022-01-18", + 42369.74 ], [ - "2026-07-05", - 63580.44 + "2022-01-19", + 41674.27 ], [ - "2026-07-04", - 63086.45 + "2022-01-20", + 40670.97 ], [ - "2026-07-03", - 62520.22 + "2022-01-21", + 36456.94 ], [ - "2026-07-02", - 61484.02 + "2022-01-22", + 35066.43 ], [ - "2026-07-01", - 59961.45 + "2022-01-23", + 36282.47 ], [ - "2026-06-30", - 58523.93 + "2022-01-24", + 36693.32 ], [ - "2026-06-29", - 60162.73 + "2022-01-25", + 36980 ], [ - "2026-06-28", - 59474.01 + "2022-01-26", + 36840.63 ], [ - "2026-06-27", - 59934.84 + "2022-01-27", + 37188.37 ], [ - "2026-06-26", - 60002.53 + "2022-01-28", + 37741.9 ], [ - "2026-06-25", - 59703.65 + "2022-01-29", + 38191.1 ], [ - "2026-06-24", - 60983.13 + "2022-01-30", + 37901.35 ], [ - "2026-06-23", - 62644.86 + "2022-01-31", + 38491.93 ], [ - "2026-06-22", - 63950.61 + "2022-02-01", + 38716.88 ], [ - "2026-06-21", - 63235.63 + "2022-02-02", + 36923.39 ], [ - "2026-06-20", - 64222.99 + "2022-02-03", + 37329.91 ], [ - "2026-06-19", - 63475.2 + "2022-02-04", + 41614.64 ], [ - "2026-06-18", - 62879.01 + "2022-02-05", + 41404.85 ], [ - "2026-06-17", - 64446.04 + "2022-02-06", + 42415.16 ], [ - "2026-06-16", - 65616.64 + "2022-02-07", + 43868.07 ], [ - "2026-06-15", - 66276.8 + "2022-02-08", + 44085.59 ], [ - "2026-06-14", - 65706.62 + "2022-02-09", + 44416.35 ], [ - "2026-06-13", - 64429.99 + "2022-02-10", + 43527.71 ], [ - "2026-06-12", - 63538.43 + "2022-02-11", + 42386.47 ], [ - "2026-06-11", - 63563.42 + "2022-02-12", + 42244.97 ], [ - "2026-06-10", - 61449.46 + "2022-02-13", + 42074.99 ], [ - "2026-06-09", - 61685.8 + "2022-02-14", + 42548.71 ], [ - "2026-06-08", - 63062.98 + "2022-02-15", + 44583.52 ], [ - "2026-06-07", - 63302.73 + "2022-02-16", + 43895.56 ], [ - "2026-06-06", - 60850.48 + "2022-02-17", + 40536.73 ], [ - "2026-06-05", - 61032 + "2022-02-18", + 39983.56 ], [ - "2026-06-04", - 63806.02 + "2022-02-19", + 40101.94 ], [ - "2026-06-03", - 64040 + "2022-02-20", + 38389.03 ], [ - "2026-06-02", - 66658.35 + "2022-02-21", + 37023 ], [ - "2026-06-01", - 71314.42 + "2022-02-22", + 38251.48 ], [ - "2026-05-31", - 73575.17 + "2022-02-23", + 37268.19 ], [ - "2026-05-30", - 73770.69 + "2022-02-24", + 38347.3 ], [ - "2026-05-29", - 73366.77 + "2022-02-25", + 39238.48 ], [ - "2026-05-28", - 73512.56 + "2022-02-26", + 39137.8 ], [ - "2026-05-27", - 74315.98 + "2022-02-27", + 37717.08 ], [ - "2026-05-26", - 75826.1 + "2022-02-28", + 43192.66 ], [ - "2026-05-25", - 77249.07 + "2022-03-01", + 44439.95 ], [ - "2026-05-24", - 76975.99 + "2022-03-02", + 43912.34 ], [ - "2026-05-23", - 76650 + "2022-03-03", + 42464.41 ], [ - "2026-05-22", - 75443.91 + "2022-03-04", + 39166.51 ], [ - "2026-05-21", - 77547.62 + "2022-03-05", + 39402.43 ], [ - "2026-05-20", - 77475.99 + "2022-03-06", + 38408.38 ], [ - "2026-05-19", - 76767.48 + "2022-03-07", + 37994 ], [ - "2026-05-18", - 76943.98 + "2022-03-08", + 38749.38 ], [ - "2026-05-17", - 77407.59 + "2022-03-09", + 41953.97 ], [ - "2026-05-16", - 78105.45 + "2022-03-10", + 39433.71 ], [ - "2026-05-15", - 79058.51 + "2022-03-11", + 38732.04 ], [ - "2026-05-14", - 81079.39 + "2022-03-12", + 38813.02 ], [ - "2026-05-13", - 79288.26 + "2022-03-13", + 37793.01 ], [ - "2026-05-12", - 80484.72 + "2022-03-14", + 39674.17 ], [ - "2026-05-11", - 81727.06 + "2022-03-15", + 39298.1 ], [ - "2026-05-10", - 82199.99 + "2022-03-16", + 41127.97 ], [ - "2026-05-09", - 80655.96 + "2022-03-17", + 40950.33 ], [ - "2026-05-08", - 80188.82 + "2022-03-18", + 41774.98 ], [ - "2026-05-07", - 80005.38 + "2022-03-19", + 42232.26 ], [ - "2026-05-06", - 81438.1 + "2022-03-20", + 41287.24 ], [ - "2026-05-05", - 80907.72 + "2022-03-21", + 41017.71 ], [ - "2026-05-04", - 79852.37 + "2022-03-22", + 42378.26 ], [ - "2026-05-03", - 78558.89 + "2022-03-23", + 42899.71 ], [ - "2026-05-02", - 78682.31 + "2022-03-24", + 44012.29 ], [ - "2026-05-01", - 78234.05 + "2022-03-25", + 44331.85 ], [ - "2026-04-30", - 76305.78 + "2022-03-26", + 44539.42 ], [ - "2026-04-29", - 75752.88 + "2022-03-27", + 46850.01 ], [ - "2026-04-28", - 76317.99 + "2022-03-28", + 47144.92 ], [ - "2026-04-27", - 77364.42 + "2022-03-29", + 47454.19 ], [ - "2026-04-26", - 78673.83 + "2022-03-30", + 47078.03 ], [ - "2026-04-25", - 77650.72 + "2022-03-31", + 45528.45 ], [ - "2026-04-24", - 77461.8 + "2022-04-01", + 46296.34 ], [ - "2026-04-23", - 78281.32 + "2022-04-02", + 45826.27 ], [ - "2026-04-22", - 78208.52 + "2022-04-03", + 46422.16 ], [ - "2026-04-21", - 76348.58 + "2022-04-04", + 46596.83 ], [ - "2026-04-20", - 75864.86 + "2022-04-05", + 45506.5 ], [ - "2026-04-19", - 73823.14 + "2022-04-06", + 43166.7 ], [ - "2026-04-18", - 75736.82 + "2022-04-07", + 43452.18 ], [ - "2026-04-17", - 77098.01 + "2022-04-08", + 42262.02 ], [ - "2026-04-16", - 75163.09 + "2022-04-09", + 42766.93 ], [ - "2026-04-15", - 74836.31 + "2022-04-10", + 42165.96 ], [ - "2026-04-14", - 74179.04 + "2022-04-11", + 39535.87 ], [ - "2026-04-13", - 74446 + "2022-04-12", + 40086.23 ], [ - "2026-04-12", - 70755.35 + "2022-04-13", + 41146.68 ], [ - "2026-04-11", - 73086 + "2022-04-14", + 39954.08 ], [ - "2026-04-10", - 72997.88 + "2022-04-15", + 40554.58 ], [ - "2026-04-09", - 71798.01 + "2022-04-16", + 40387.6 ], [ - "2026-04-08", - 71085.99 + "2022-04-17", + 39683.54 ], [ - "2026-04-07", - 71910.2 + "2022-04-18", + 40803.58 ], [ - "2026-04-06", - 68853.61 + "2022-04-19", + 41503.85 ], [ - "2026-04-05", - 69005 + "2022-04-20", + 41377.61 ], [ - "2026-04-04", - 67291.73 + "2022-04-21", + 40480.81 ], [ - "2026-04-03", - 66959.99 + "2022-04-22", + 39712.25 ], [ - "2026-04-02", - 66894.48 + "2022-04-23", + 39465.87 ], [ - "2026-04-01", - 68112.35 + "2022-04-24", + 39464.56 ], [ - "2026-03-31", - 68221.85 + "2022-04-25", + 40439.22 ], [ - "2026-03-30", - 66737.18 + "2022-04-26", + 38113.82 ], [ - "2026-03-29", - 65956.94 + "2022-04-27", + 39251.11 ], [ - "2026-03-28", - 66320.15 + "2022-04-28", + 39743.22 ], [ - "2026-03-27", - 66353.34 + "2022-04-29", + 38593.1 ], [ - "2026-03-26", - 68769.02 + "2022-04-30", + 37644.1 ], [ - "2026-03-25", - 71301.53 + "2022-05-01", + 38473.05 ], [ - "2026-03-24", - 70533.49 + "2022-05-02", + 38510.89 ], [ - "2026-03-23", - 70874.23 + "2022-05-03", + 37719.59 ], [ - "2026-03-22", - 67844.94 + "2022-05-04", + 39669.56 ], [ - "2026-03-21", - 68912.02 + "2022-05-05", + 36537.22 ], [ - "2026-03-20", - 70497.01 + "2022-05-06", + 35999.1 ], [ - "2026-03-19", - 69918.3 + "2022-05-07", + 35458 ], [ - "2026-03-18", - 71245.02 + "2022-05-08", + 34027.91 ], [ - "2026-03-17", - 73934.11 + "2022-05-09", + 30078.27 ], [ - "2026-03-16", - 74886.47 + "2022-05-10", + 31002.39 ], [ - "2026-03-15", - 72830.01 + "2022-05-11", + 28972.34 ], [ - "2026-03-14", - 71232.02 + "2022-05-12", + 28941.95 ], [ - "2026-03-13", - 70944.33 + "2022-05-13", + 29232.18 ], [ - "2026-03-12", - 70531.56 + "2022-05-14", + 30041.88 ], [ - "2026-03-11", - 70208 + "2022-05-15", + 31290.05 ], [ - "2026-03-10", - 69960.83 + "2022-05-16", + 29839.89 ], [ - "2026-03-09", - 68432.17 + "2022-05-17", + 30412.12 ], [ - "2026-03-08", - 65970.56 + "2022-05-18", + 28672.94 ], [ - "2026-03-07", - 67259.62 + "2022-05-19", + 30274.59 ], [ - "2026-03-06", - 68108.24 + "2022-05-20", + 29155.75 ], [ - "2026-03-05", - 70887.6 + "2022-05-21", + 29408.26 ], [ - "2026-03-04", - 72683.26 + "2022-05-22", + 30260.87 ], [ - "2026-03-03", - 68335.99 + "2022-05-23", + 29082.52 ], [ - "2026-03-02", - 68832.01 + "2022-05-24", + 29626.44 ], [ - "2026-03-01", - 65769 + "2022-05-25", + 29503.49 ], [ - "2026-02-28", - 66967.85 + "2022-05-26", + 29166.06 ], [ - "2026-02-27", - 65859.94 + "2022-05-27", + 28598.31 ], [ - "2026-02-26", - 67490.51 + "2022-05-28", + 29008.99 ], [ - "2026-02-25", - 67992.68 + "2022-05-29", + 29447.07 ], [ - "2026-02-24", - 64068.33 + "2022-05-30", + 31711.42 ], [ - "2026-02-23", - 64625.78 + "2022-05-31", + 31784.05 ], [ - "2026-02-22", - 67617.98 + "2022-06-01", + 29788.79 ], [ - "2026-02-21", - 67955.78 + "2022-06-02", + 30433.75 ], [ - "2026-02-20", - 67984.42 + "2022-06-03", + 29670.85 ], [ - "2026-02-19", - 66972.5 + "2022-06-04", + 29843.18 ], [ - "2026-02-18", - 66419.79 + "2022-06-05", + 29901.54 ], [ - "2026-02-17", - 67466.7 + "2022-06-06", + 31343.61 ], [ - "2026-02-16", - 68858.13 + "2022-06-07", + 31106.9 ], [ - "2026-02-15", - 68792 + "2022-06-08", + 30177 ], [ - "2026-02-14", - 69786.96 + "2022-06-09", + 30079.62 ], [ - "2026-02-13", - 68812 + "2022-06-10", + 29063.11 ], [ - "2026-02-12", - 66208 + "2022-06-11", + 28388.63 ], [ - "2026-02-11", - 67024.93 + "2022-06-12", + 26555.2 ], [ - "2026-02-10", - 68803.65 + "2022-06-13", + 22460.97 ], [ - "2026-02-09", - 70101.99 + "2022-06-14", + 22120.25 ], [ - "2026-02-08", - 70279.33 + "2022-06-15", + 22562.33 ], [ - "2026-02-07", - 69244.74 + "2022-06-16", + 20372 ], [ - "2026-02-06", - 70527.7 + "2022-06-17", + 20447.86 ], [ - "2026-02-05", - 62791 + "2022-06-18", + 18948.89 ], [ - "2026-02-04", - 72998 + "2022-06-19", + 20552.44 ], [ - "2026-02-03", - 75661.49 + "2022-06-20", + 20549.75 ], [ - "2026-02-02", - 78666.85 + "2022-06-21", + 20696.96 ], [ - "2026-02-01", - 76895.53 + "2022-06-22", + 19968.46 ], [ - "2026-01-31", - 78648 + "2022-06-23", + 21104.45 ], [ - "2026-01-30", - 84110.99 + "2022-06-24", + 21223.72 ], [ - "2026-01-29", - 84513.2 + "2022-06-25", + 21478.04 ], [ - "2026-01-28", - 89162.4 + "2022-06-26", + 21027.92 ], [ - "2026-01-27", - 89116.96 + "2022-06-27", + 20725.17 ], [ - "2026-01-26", - 88250.01 + "2022-06-28", + 20252.89 ], [ - "2026-01-25", - 86561.94 + "2022-06-29", + 20094.79 ], [ - "2026-01-24", - 89082.17 + "2022-06-30", + 19985.62 ], [ - "2026-01-23", - 89474.93 + "2022-07-01", + 19252.76 ], [ - "2026-01-22", - 89463.5 + "2022-07-02", + 19224.03 ], [ - "2026-01-21", - 89363.71 + "2022-07-03", + 19291.33 ], [ - "2026-01-20", - 88310.6 + "2022-07-04", + 20211.35 ], [ - "2026-01-19", - 92559.66 + "2022-07-05", + 20153.51 ], [ - "2026-01-18", - 93633.53 + "2022-07-06", + 20542.67 ], [ - "2026-01-17", - 95109.99 + "2022-07-07", + 21614.6 ], [ - "2026-01-16", - 95504 + "2022-07-08", + 21582.2 ], [ - "2026-01-15", - 95587.65 + "2022-07-09", + 21583.99 ], [ - "2026-01-14", - 96955.16 + "2022-07-10", + 20850.65 ], [ - "2026-01-13", - 95384.23 + "2022-07-11", + 19942.43 ], [ - "2026-01-12", - 91188.09 + "2022-07-12", + 19303.65 ], [ - "2026-01-11", - 90872.01 + "2022-07-13", + 20220.23 ], [ - "2026-01-10", - 90385.54 + "2022-07-14", + 20577.02 ], [ - "2026-01-09", - 90515.45 + "2022-07-15", + 20827.55 ], [ - "2026-01-08", - 91026 + "2022-07-16", + 21189.68 ], [ - "2026-01-07", - 91279.73 + "2022-07-17", + 20791.74 ], [ - "2026-01-06", - 93722.01 + "2022-07-18", + 22427.56 ], [ - "2026-01-05", - 93870.06 + "2022-07-19", + 23395.06 ], [ - "2026-01-04", - 91494 + "2022-07-20", + 23226.99 ], [ - "2026-01-03", - 90598.02 + "2022-07-21", + 23153.96 ], [ - "2026-01-02", - 89957.99 + "2022-07-22", + 22687.68 ], [ - "2026-01-01", - 88738.34 + "2022-07-23", + 22450.69 ], [ - "2025-12-31", - 87497.94 + "2022-07-24", + 22583.43 ], [ - "2025-12-30", - 88397.5 + "2022-07-25", + 21313.41 ], [ - "2025-12-29", - 87110.78 + "2022-07-26", + 21261.57 ], [ - "2025-12-28", - 87877.29 + "2022-07-27", + 22962.59 ], [ - "2025-12-27", - 87808 + "2022-07-28", + 23851.7 ], [ - "2025-12-26", - 87296.01 + "2022-07-29", + 23784.5 ], [ - "2025-12-25", - 87171.68 + "2022-07-30", + 23650.13 ], [ - "2025-12-24", - 87609.03 + "2022-07-31", + 23307.44 ], [ - "2025-12-23", - 87429.32 + "2022-08-01", + 23273.86 ], [ - "2025-12-22", - 88556.77 + "2022-08-02", + 22989.4 ], [ - "2025-12-21", - 88639.95 + "2022-08-03", + 22825 ], [ - "2025-12-20", - 88324 + "2022-08-04", + 22623.94 ], [ - "2025-12-19", - 88092.65 + "2022-08-05", + 23320.81 ], [ - "2025-12-18", - 85460.02 + "2022-08-06", + 22960.93 ], [ - "2025-12-17", - 86209.77 + "2022-08-07", + 23177.39 ], [ - "2025-12-16", - 87854.01 + "2022-08-08", + 23815.65 ], [ - "2025-12-15", - 86417.5 + "2022-08-09", + 23158.27 ], [ - "2025-12-14", - 88171.61 + "2022-08-10", + 23962.18 ], [ - "2025-12-13", - 90255.32 + "2022-08-11", + 23944.86 ], [ - "2025-12-12", - 90278 + "2022-08-12", + 24415.18 ], [ - "2026-11-24", - 59665.16 + "2022-08-13", + 24456.49 ], [ - "2026-11-23", - 61189.97 + "2022-08-14", + 24316.71 ], [ - "2026-11-22", - 61163.01 + "2022-08-15", + 24097.82 ], [ - "2026-11-21", - 60086 + "2022-08-16", + 23857.93 ], [ - "2026-11-20", - 58814.99 + "2022-08-17", + 23341.17 ], [ - "2026-11-19", - 61913.23 + "2022-08-18", + 23189.46 ], [ - "2026-11-18", - 62981.71 + "2022-08-19", + 20834.94 ], [ - "2026-11-17", - 64873.18 + "2022-08-20", + 21139.23 ], [ - "2026-11-16", - 64816.79 + "2022-08-21", + 21518.62 ], [ - "2026-11-15", - 65315.35 + "2022-08-22", + 21398.25 ], [ - "2026-11-14", - 64118.79 + "2022-08-23", + 21528.34 ], [ - "2026-11-13", - 68236.54 + "2022-08-24", + 21367.12 ], [ - "2026-11-12", - 71369.9 + "2022-08-25", + 21561.86 ], [ - "2026-11-11", - 73927.63 + "2022-08-26", + 20240.72 ], [ - "2026-11-10", - 73697.87 + "2022-08-27", + 20036.69 ], [ - "2026-11-09", - 75259.28 + "2022-08-28", + 19554.03 ], [ - "2026-11-08", - 74754.08 + "2022-08-29", + 20286.97 ], [ - "2026-11-07", - 75753.96 + "2022-08-30", + 19813.17 ], [ - "2026-11-06", - 75731.04 + "2022-08-31", + 20048.26 ], [ - "2026-11-05", - 75969.06 + "2022-09-01", + 20133.65 ], [ - "2026-11-04", - 80428.31 + "2022-09-02", + 19953.74 ], [ - "2026-11-03", - 77336.75 + "2022-09-03", + 19835.47 ], [ - "2026-11-02", - 76674.13 + "2022-09-04", + 20004.73 ], [ - "2026-11-01", - 78230.55 + "2022-09-05", + 19794.58 ], [ - "2026-10-31", - 77423.98 + "2022-09-06", + 18790.91 ], [ - "2026-10-30", - 77180.42 + "2022-09-07", + 19293.52 ], [ - "2026-10-29", - 77780.33 + "2022-09-08", + 19321.87 ], [ - "2026-10-28", - 81249.31 + "2022-09-09", + 21364.5 ], [ - "2026-10-27", - 80799.51 + "2022-09-10", + 21651.52 ], [ - "2026-10-26", - 80008.79 + "2022-09-11", + 21831.72 ], [ - "2026-10-25", - 80053.16 + "2022-09-12", + 22402.71 ], [ - "2026-10-24", - 80769.67 + "2022-09-13", + 20174.78 ], [ - "2026-10-23", - 81078.04 + "2022-09-14", + 20227.77 ], [ - "2026-10-22", - 81307.16 + "2022-09-15", + 19703.67 ], [ - "2026-10-21", - 84024.67 + "2022-09-16", + 19801.04 ], [ - "2026-10-20", - 82938.26 + "2022-09-17", + 20113.37 ], [ - "2026-10-19", - 81837.69 + "2022-09-18", + 19417.64 ], [ - "2026-10-18", - 82006.85 + "2022-09-19", + 19540.38 ], [ - "2026-10-17", - 81378.21 + "2022-09-20", + 18876.91 ], [ - "2026-10-16", - 81500.04 + "2022-09-21", + 18462.64 ], [ - "2026-10-15", - 82131.46 + "2022-09-22", + 19401.25 ], [ - "2026-10-14", - 81566.29 + "2022-09-23", + 19286.01 ], [ - "2026-10-13", - 83101.99 + "2022-09-24", + 18923.2 ], [ - "2026-10-12", - 81742.5 + "2022-09-25", + 18808.61 ], [ - "2026-10-11", - 83678.29 + "2022-09-26", + 19228 ], [ - "2026-10-10", - 82910.8 + "2022-09-27", + 19077.57 ], [ - "2026-10-09", - 82544.71 + "2022-09-28", + 19412.07 ], [ - "2026-10-08", - 81692.79 + "2022-09-29", + 19595.57 ], [ - "2026-10-07", - 83275.06 + "2022-09-30", + 19426.11 ], [ - "2026-10-06", - 85539.77 + "2022-10-01", + 19315.27 ], [ - "2026-10-05", - 85748.96 + "2022-10-02", + 19059.17 ], [ - "2026-10-04", - 86507.11 + "2022-10-03", + 19633.46 ], [ - "2026-10-03", - 84742.22 + "2022-10-04", + 20345.19 + ], + [ + "2022-10-05", + 20161.62 ], [ - "2011-05-30", - 280 + "2022-10-06", + 19965.64 ], [ - "2011-05-31", - 280 + "2022-10-07", + 19533.05 ], [ - "2011-06-01", - 280 + "2022-10-08", + 19419.39 ], [ - "2011-06-02", - 280 + "2022-10-09", + 19443.47 ], [ - "2011-06-03", - 280 + "2022-10-10", + 19132.83 ], [ - "2011-06-04", - 280 + "2022-10-11", + 19058.11 ], [ - "2011-06-05", - 280 + "2022-10-12", + 19155.92 ], [ - "2011-06-06", - 280 + "2022-10-13", + 19378.65 ], [ - "2011-06-07", - 280 + "2022-10-14", + 19178 ], [ - "2011-06-08", - 280 + "2022-10-15", + 19070.24 ], [ - "2011-06-09", - 280 + "2022-10-16", + 19264.44 ], [ - "2011-06-10", - 280 + "2022-10-17", + 19550.4 ], [ - "2011-06-11", - 280 + "2022-10-18", + 19328.76 ], [ - "2011-06-12", - 280 + "2022-10-19", + 19124.18 ], [ - "2011-06-13", - 280 + "2022-10-20", + 19042.48 ], [ - "2011-06-14", - 280 + "2022-10-21", + 19166.45 ], [ - "2011-06-15", - 280 + "2022-10-22", + 19209.1 ], [ - "2011-06-16", - 280 + "2022-10-23", + 19572.44 ], [ - "2011-06-17", - 280 + "2022-10-24", + 19330.41 ], [ - "2011-06-18", - 280 + "2022-10-25", + 20086.28 ], [ - "2011-06-19", - 280 + "2022-10-26", + 20775.4 ], [ - "2011-06-20", - 280 + "2022-10-27", + 20296.97 ], [ - "2011-06-21", - 280 + "2022-10-28", + 20597.91 ], [ - "2011-06-22", - 280 + "2022-10-29", + 20823.53 ], [ - "2011-06-23", - 280 + "2022-10-30", + 20630.68 ], [ - "2011-06-24", - 280 + "2022-10-31", + 20489.94 ], [ - "2011-06-25", - 280 + "2022-11-01", + 20479.63 ], [ - "2011-06-26", - 280 + "2022-11-02", + 20151.4 ], [ - "2011-06-27", - 280 + "2022-11-03", + 20206.88 ], [ - "2011-06-28", - 280 + "2022-11-04", + 21144.2 ], [ - "2011-06-29", - 280 + "2022-11-05", + 21300.45 ], [ - "2011-06-30", - 280 + "2022-11-06", + 20909.17 ], [ - "2011-07-01", - 280 + "2022-11-07", + 20593.49 ], [ - "2011-07-02", - 280 + "2022-11-08", + 18550.25 ], [ - "2011-07-03", - 280 + "2022-11-09", + 15891.96 ], [ - "2011-07-04", - 280 + "2022-11-10", + 17553.89 ], [ - "2011-07-05", - 280 + "2022-11-11", + 17013.62 ], [ - "2011-07-06", - 280 + "2022-11-12", + 16783.33 ], [ - "2011-07-07", - 280 + "2022-11-13", + 16301.39 ], [ - "2011-07-08", - 280 + "2022-11-14", + 16590.73 ], [ - "2011-07-09", - 280 + "2022-11-15", + 16877.93 ], [ - "2011-07-10", - 280 + "2022-11-16", + 16645.24 ], [ - "2011-07-11", - 280 + "2022-11-17", + 16680.47 ], [ - "2011-07-12", - 280 + "2022-11-18", + 16680.59 ], [ - "2011-07-13", - 280 + "2022-11-19", + 16683.02 ], [ - "2011-07-14", - 280 + "2022-11-20", + 16252.53 ], [ - "2011-07-15", - 280 + "2022-11-21", + 15760.14 ], [ - "2011-07-16", - 280 + "2022-11-22", + 16199.71 ], [ - "2011-07-17", - 280 + "2022-11-23", + 16587 ], [ - "2011-07-18", - 280 + "2022-11-24", + 16587.61 ], [ - "2011-07-19", - 280 + "2022-11-25", + 16510.9 ], [ - "2011-07-20", - 280 + "2022-11-26", + 16450.93 ], [ - "2011-07-21", - 280 + "2022-11-27", + 16419.88 ], [ - "2011-07-22", - 280 + "2022-11-28", + 16206.3 ], [ - "2011-07-23", - 280 + "2022-11-29", + 16438 ], [ - "2011-07-24", - 280 + "2022-11-30", + 17167.33 ], [ - "2011-07-25", - 280 + "2022-12-01", + 16980.08 ], [ - "2011-07-26", - 280 + "2022-12-02", + 17094.71 ], [ - "2011-07-27", - 280 + "2022-12-03", + 16888.53 ], [ - "2011-07-28", - 280 + "2022-12-04", + 17108.9 ], [ - "2011-07-29", - 280 + "2022-12-05", + 16966.05 ], [ - "2011-07-30", - 280 + "2022-12-06", + 17089.05 ], [ - "2011-07-31", - 280 + "2022-12-07", + 16840 ], [ - "2011-08-01", - 280 + "2022-12-08", + 17226.01 ], [ - "2011-08-02", - 280 + "2022-12-09", + 17130.59 ], [ - "2011-08-03", - 280 + "2022-12-10", + 17128.1 ], [ - "2011-08-04", - 280 + "2022-12-11", + 17085.21 ], [ - "2011-08-05", - 280 + "2022-12-12", + 17211.66 ], [ - "2011-08-06", - 280 + "2022-12-13", + 17773.18 ], [ - "2011-08-07", - 280 + "2022-12-14", + 17804.97 ], [ - "2011-08-08", - 280 + "2022-12-15", + 17357.96 ], [ - "2011-08-09", - 280 + "2022-12-16", + 16632.64 ], [ - "2011-08-10", - 280 + "2022-12-17", + 16782.25 ], [ - "2011-08-11", - 280 + "2022-12-18", + 16741.16 ], [ - "2011-08-12", - 280 + "2022-12-19", + 16439.74 ], [ - "2011-08-13", - 280 + "2022-12-20", + 16897.65 ], [ - "2011-08-14", - 280 + "2022-12-21", + 16826.56 ], [ - "2011-08-15", - 280 + "2022-12-22", + 16815.51 ], [ - "2011-08-16", - 280 + "2022-12-23", + 16777.21 ], [ - "2011-08-17", - 280 + "2022-12-24", + 16837.12 ], [ - "2011-08-18", - 280 + "2022-12-25", + 16829.02 ], [ - "2011-08-19", - 280 + "2022-12-26", + 16917.96 ], [ - "2011-08-20", - 280 + "2022-12-27", + 16698.73 ], [ - "2011-08-21", - 280 + "2022-12-28", + 16539.66 ], [ - "2011-08-22", - 280 + "2022-12-29", + 16627.54 ], [ - "2011-08-23", - 280 + "2022-12-30", + 16600.1 ], [ - "2011-08-24", - 280 + "2022-12-31", + 16530.35 ], [ - "2011-08-25", - 280 + "2023-01-01", + 16611.58 ], [ - "2011-08-26", - 280 + "2023-01-02", + 16666.95 ], [ - "2011-08-27", - 280 + "2023-01-03", + 16669.47 ], [ - "2011-08-28", - 280 + "2023-01-04", + 16844.42 ], [ - "2011-08-29", - 280 + "2023-01-05", + 16825.69 ], [ - "2011-08-30", - 280 + "2023-01-06", + 16948.06 ], [ - "2011-08-31", - 280 + "2023-01-07", + 16942.37 ], [ - "2011-09-01", - 280 + "2023-01-08", + 17125.18 ], [ - "2011-09-02", - 280 + "2023-01-09", + 17177.98 ], [ - "2011-09-03", - 280 + "2023-01-10", + 17443.5 ], [ - "2011-09-04", - 280 + "2023-01-11", + 17944.27 ], [ - "2011-09-05", - 280 + "2023-01-12", + 18847.75 ], [ - "2011-09-06", - 280 + "2023-01-13", + 19934.88 ], [ - "2011-09-07", - 280 + "2023-01-14", + 20957.02 ], [ - "2011-09-08", - 280 + "2023-01-15", + 20879.7 ], [ - "2011-09-09", - 280 + "2023-01-16", + 21187.5 ], [ - "2011-09-10", - 280 + "2023-01-17", + 21136.33 ], [ - "2011-09-11", - 280 + "2023-01-18", + 20674.29 ], [ - "2011-09-12", - 280 + "2023-01-19", + 21084.22 ], [ - "2011-09-13", - 280 + "2023-01-20", + 22669.81 ], [ - "2011-09-14", - 280 + "2023-01-21", + 22789.37 ], [ - "2011-09-15", - 280 + "2023-01-22", + 22714.87 ], [ - "2011-09-16", - 280 + "2023-01-23", + 22920.29 ], [ - "2011-09-17", - 280 + "2023-01-24", + 22636.17 ], [ - "2011-09-18", - 280 + "2023-01-25", + 23062.36 ], [ - "2011-09-19", - 280 + "2023-01-26", + 23010.47 ], [ - "2011-09-20", - 280 + "2023-01-27", + 23084.4 ], [ - "2011-09-21", - 280 + "2023-01-28", + 23028.95 ], [ - "2011-09-22", - 280 + "2023-01-29", + 23745.8 ], [ - "2011-09-23", - 280 + "2023-01-30", + 22836.03 ], [ - "2011-09-24", - 280 + "2023-01-31", + 23128.86 ], [ - "2011-09-25", - 280 + "2023-02-01", + 23735.97 ], [ - "2011-09-26", - 280 + "2023-02-02", + 23493.84 ], [ - "2011-09-27", - 280 + "2023-02-03", + 23433.54 ], [ - "2011-09-28", - 280 + "2023-02-04", + 23328.87 ], [ - "2011-09-29", - 280 + "2023-02-05", + 22936.34 ], [ - "2011-09-30", - 280 + "2023-02-06", + 22764.07 ], [ - "2011-10-01", - 280 + "2023-02-07", + 23244.67 ], [ - "2011-10-02", - 280 + "2023-02-08", + 22964.38 ], [ - "2011-10-03", - 280 + "2023-02-09", + 21800.63 ], [ - "2011-10-04", - 280 + "2023-02-10", + 21628.97 ], [ - "2011-10-05", - 280 + "2023-02-11", + 21863.73 ], [ - "2011-10-06", - 280 + "2023-02-12", + 21789.8 ], [ - "2011-10-07", - 280 + "2023-02-13", + 21789.14 ], [ - "2011-10-08", - 280 + "2023-02-14", + 22206.27 ], [ - "2011-10-09", - 280 + "2023-02-15", + 24329.04 ], [ - "2011-10-10", - 280 + "2023-02-16", + 23516.15 ], [ - "2011-10-11", - 280 + "2023-02-17", + 24577.6 ], [ - "2011-10-12", - 280 + "2023-02-18", + 24636.23 ], [ - "2011-10-13", - 280 + "2023-02-19", + 24281.31 ], [ - "2011-10-14", - 280 + "2023-02-20", + 24844.97 ], [ - "2011-10-15", - 280 + "2023-02-21", + 24454.43 ], [ - "2011-10-16", - 280 + "2023-02-22", + 24184.44 ], [ - "2011-10-17", - 280 + "2023-02-23", + 23943.32 ], [ - "2011-10-18", - 280 + "2023-02-24", + 23186.88 ], [ - "2011-10-19", - 280 + "2023-02-25", + 23159.71 ], [ - "2011-10-20", - 280 + "2023-02-26", + 23556.83 ], [ - "2011-10-21", - 280 + "2023-02-27", + 23489.52 ], [ - "2011-10-22", - 280 + "2023-02-28", + 23145.32 ], [ - "2011-10-23", - 280 + "2023-03-01", + 23631.52 ], [ - "2011-10-24", - 280 + "2023-03-02", + 23468.24 ], [ - "2011-10-25", - 280 + "2023-03-03", + 22358.18 ], [ - "2011-10-26", - 280 + "2023-03-04", + 22350.95 ], [ - "2011-10-27", - 280 + "2023-03-05", + 22432.69 ], [ - "2011-10-28", - 280 + "2023-03-06", + 22410.31 ], [ - "2011-10-29", - 280 + "2023-03-07", + 22198.48 ], [ - "2011-10-30", - 280 + "2023-03-08", + 21698.37 ], [ - "2011-10-31", - 280 + "2023-03-09", + 20367.01 ], [ - "2011-11-01", - 280 + "2023-03-10", + 20230.08 ], [ - "2011-11-02", - 280 + "2023-03-11", + 20620.54 ], [ - "2011-11-03", - 280 + "2023-03-12", + 22219.08 ], [ - "2011-11-04", - 280 + "2023-03-13", + 24220 ], [ - "2011-11-05", - 280 + "2023-03-14", + 24762.65 ], [ - "2011-11-06", - 280 + "2023-03-15", + 24377.16 ], [ - "2011-11-07", - 280 + "2023-03-16", + 25051.85 ], [ - "2011-11-08", - 280 + "2023-03-17", + 27453.62 ], [ - "2011-11-09", - 280 + "2023-03-18", + 26980.35 ], [ - "2011-11-10", - 280 + "2023-03-19", + 28054.46 ], [ - "2011-11-11", - 280 + "2023-03-20", + 27823.32 ], [ - "2011-11-12", - 280 + "2023-03-21", + 28207.33 ], [ - "2011-11-13", - 280 + "2023-03-22", + 27325.15 ], [ - "2011-11-14", - 280 + "2023-03-23", + 28352.94 ], [ - "2011-11-15", - 280 + "2023-03-24", + 27489.24 ], [ - "2011-11-16", - 280 + "2023-03-25", + 27488.18 ], [ - "2011-11-17", - 280 + "2023-03-26", + 27992.9 ], [ - "2011-11-18", - 280 + "2023-03-27", + 27142.87 ], [ - "2011-11-19", - 280 + "2023-03-28", + 27274.15 ], [ - "2011-11-20", - 280 + "2023-03-29", + 28359.54 ], [ - "2011-11-21", - 280 + "2023-03-30", + 28035.48 ], [ - "2011-11-22", - 280 + "2023-03-31", + 28474.4 ], [ - "2011-11-23", - 280 + "2023-04-01", + 28471.46 ], [ - "2011-11-24", - 280 + "2023-04-02", + 28188.34 ], [ - "2011-11-25", - 280 + "2023-04-03", + 27811.77 ], [ - "2011-11-26", - 280 + "2023-04-04", + 28179.64 ], [ - "2011-11-27", - 280 + "2023-04-05", + 28175.37 ], [ - "2011-11-28", - 280 + "2023-04-06", + 28053.46 ], [ - "2011-11-29", - 280 + "2023-04-07", + 27931.94 ], [ - "2011-11-30", - 280 + "2023-04-08", + 27958.81 ], [ - "2011-12-01", - 280 + "2023-04-09", + 28340.99 ], [ - "2011-12-02", - 280 + "2023-04-10", + 29660.41 ], [ - "2011-12-03", - 280 + "2023-04-11", + 30227.19 ], [ - "2011-12-04", - 280 + "2023-04-12", + 29912.2 ], [ - "2011-12-05", - 280 + "2023-04-13", + 30406.78 ], [ - "2011-12-06", - 280 + "2023-04-14", + 30492.92 ], [ - "2011-12-07", - 280 + "2023-04-15", + 30324.11 ], [ - "2011-12-08", - 280 + "2023-04-16", + 30326.09 ], [ - "2011-12-09", - 280 + "2023-04-17", + 29449.91 ], [ - "2011-12-10", - 280 + "2023-04-18", + 30393.4 ], [ - "2011-12-11", - 280 + "2023-04-19", + 28809.72 ], [ - "2011-12-12", - 280 + "2023-04-20", + 28248.18 ], [ - "2011-12-13", - 280 + "2023-04-21", + 27253.85 ], [ - "2011-12-14", - 280 + "2023-04-22", + 27821.41 ], [ - "2011-12-15", - 280 + "2023-04-23", + 27592.98 ], [ - "2011-12-16", - 280 + "2023-04-24", + 27515.05 ], [ - "2011-12-17", - 280 + "2023-04-25", + 28304.42 ], [ - "2011-12-18", - 280 + "2023-04-26", + 28426.08 ], [ - "2011-12-19", - 280 + "2023-04-27", + 29483.72 ], [ - "2011-12-20", - 280 + "2023-04-28", + 29338.63 ], [ - "2011-12-21", - 280 + "2023-04-29", + 29249.35 ], [ - "2011-12-22", - 280 + "2023-04-30", + 29247.14 ], [ - "2011-12-23", - 280 + "2023-05-01", + 28077.27 ], [ - "2011-12-24", - 280 + "2023-05-02", + 28684.4 ], [ - "2011-12-25", - 280 + "2023-05-03", + 29038.75 ], [ - "2011-12-26", - 280 + "2023-05-04", + 28857.23 ], [ - "2011-12-27", - 280 + "2023-05-05", + 29536.76 ], [ - "2011-12-28", - 280 + "2023-05-06", + 28902.66 ], [ - "2011-12-29", - 280 + "2023-05-07", + 28474.53 ], [ - "2011-12-30", - 280 + "2023-05-08", + 27695.06 ], [ - "2011-12-31", - 280 + "2023-05-09", + 27647.29 ], [ - "2012-01-01", - 280 + "2023-05-10", + 27624.01 ], [ - "2012-01-02", - 280 + "2023-05-11", + 26986.56 ], [ - "2012-01-03", - 280 + "2023-05-12", + 26808.84 ], [ - "2012-01-04", - 280 + "2023-05-13", + 26789.48 ], [ - "2012-01-05", - 280 + "2023-05-14", + 26929.98 ], [ - "2012-01-06", - 280 + "2023-05-15", + 27171.13 ], [ - "2012-01-07", - 280 + "2023-05-16", + 27037.68 ], [ - "2012-01-08", - 280 + "2023-05-17", + 27407.77 ], [ - "2012-01-09", - 280 + "2023-05-18", + 26820.49 ], [ - "2012-01-10", - 280 + "2023-05-19", + 26890.27 ], [ - "2012-01-11", - 280 + "2023-05-20", + 27113.61 ], [ - "2012-01-12", - 280 + "2023-05-21", + 26752.65 ], [ - "2012-01-13", - 280 + "2023-05-22", + 26854.73 ], [ - "2012-01-14", - 280 + "2023-05-23", + 27223.22 ], [ - "2012-01-15", - 280 + "2023-05-24", + 26321.4 ], [ - "2012-01-16", - 280 + "2023-05-25", + 26479.06 ], [ - "2012-01-17", - 280 + "2023-05-26", + 26714.86 ], [ - "2012-01-18", - 280 + "2023-05-27", + 26867.99 ], [ - "2012-01-19", - 280 + "2023-05-28", + 28070.04 ], [ - "2012-01-20", - 280 + "2023-05-29", + 27744.82 ], [ - "2012-01-21", - 280 + "2023-05-30", + 27700.15 ], [ - "2012-01-22", - 280 + "2023-05-31", + 27223.08 ], [ - "2012-01-23", - 280 + "2023-06-01", + 26828.42 ], [ - "2012-01-24", - 280 + "2023-06-02", + 27250.69 ], [ - "2012-01-25", - 280 + "2023-06-03", + 27077.6 ], [ - "2012-01-26", - 280 + "2023-06-04", + 27122.04 ], [ - "2012-01-27", - 280 + "2023-06-05", + 25741.5 ], [ - "2012-01-28", - 280 + "2023-06-06", + 27243.63 ], [ - "2012-01-29", - 280 + "2023-06-07", + 26346.41 ], [ - "2012-01-30", - 280 + "2023-06-08", + 26508.32 ], [ - "2012-01-31", - 280 + "2023-06-09", + 26482.81 ], [ - "2012-02-01", - 280 + "2023-06-10", + 25856.1 ], [ - "2012-02-02", - 280 + "2023-06-11", + 25937.02 ], [ - "2012-02-03", - 280 + "2023-06-12", + 25905.82 ], [ - "2012-02-04", - 280 + "2023-06-13", + 25930.23 ], [ - "2012-02-05", - 280 + "2023-06-14", + 25123.34 ], [ - "2012-02-06", - 280 + "2023-06-15", + 25569.99 ], [ - "2012-02-07", - 280 + "2023-06-16", + 26329.6 ], [ - "2012-02-08", - 280 + "2023-06-17", + 26506.56 ], [ - "2012-02-09", - 280 + "2023-06-18", + 26336.46 ], [ - "2012-02-10", - 280 + "2023-06-19", + 26837.78 ], [ - "2012-02-11", - 280 + "2023-06-20", + 28320.43 ], [ - "2012-02-12", - 280 + "2023-06-21", + 29995.08 ], [ - "2012-02-13", - 280 + "2023-06-22", + 29886.31 ], [ - "2012-02-14", - 280 + "2023-06-23", + 30707.61 ], [ - "2012-02-15", - 280 + "2023-06-24", + 30547.18 ], [ - "2012-02-16", - 280 + "2023-06-25", + 30480.24 ], [ - "2012-02-17", - 280 + "2023-06-26", + 30272.18 ], [ - "2012-02-18", - 280 + "2023-06-27", + 30697.38 ], [ - "2012-02-19", - 280 + "2023-06-28", + 30074.94 ], [ - "2012-02-20", - 280 + "2023-06-29", + 30446.47 ], [ - "2012-02-21", - 280 + "2023-06-30", + 30466.72 ], [ - "2012-02-22", - 280 + "2023-07-01", + 30587.21 ], [ - "2012-02-23", - 280 + "2023-07-02", + 30613.51 ], [ - "2012-02-24", - 280 + "2023-07-03", + 31161.8 ], [ - "2012-02-25", - 280 + "2023-07-04", + 30771.25 ], [ - "2012-02-26", - 280 + "2023-07-05", + 30499.27 ], [ - "2012-02-27", - 280 + "2023-07-06", + 29899.38 ], [ - "2012-02-28", - 280 + "2023-07-07", + 30352.08 ], [ - "2012-02-29", - 280 + "2023-07-08", + 30291.69 ], [ - "2012-03-01", - 280 + "2023-07-09", + 30168.38 ], [ - "2012-03-02", - 280 + "2023-07-10", + 30419.89 ], [ - "2012-03-03", - 280 + "2023-07-11", + 30626.55 ], [ - "2012-03-04", - 280 + "2023-07-12", + 30381.81 ], [ - "2012-03-05", - 280 + "2023-07-13", + 31471.83 ], [ - "2012-03-06", - 280 + "2023-07-14", + 30330.52 ], [ - "2012-03-07", - 280 + "2023-07-15", + 30301.65 ], [ - "2012-03-08", - 280 + "2023-07-16", + 30247.64 ], [ - "2012-03-09", - 280 + "2023-07-17", + 30143.08 ], [ - "2012-03-10", - 280 + "2023-07-18", + 29861.93 ], [ - "2012-03-11", - 280 + "2023-07-19", + 29916.72 ], [ - "2012-03-12", - 280 + "2023-07-20", + 29809.13 ], [ - "2012-03-13", - 280 + "2023-07-21", + 29907.98 ], [ - "2012-03-14", - 280 + "2023-07-22", + 29795.03 ], [ - "2012-03-15", - 280 + "2023-07-23", + 30081.61 ], [ - "2012-03-16", - 280 + "2023-07-24", + 29176.98 ], [ - "2012-03-17", - 280 + "2023-07-25", + 29225.14 ], [ - "2012-03-18", - 280 + "2023-07-26", + 29353.23 ], [ - "2012-03-19", - 280 + "2023-07-27", + 29214.92 ], [ - "2012-03-20", - 280 + "2023-07-28", + 29316.15 ], [ - "2012-03-21", - 280 + "2023-07-29", + 29355.71 ], [ - "2012-03-22", - 280 + "2023-07-30", + 29281.39 ], [ - "2012-03-23", - 280 + "2023-07-31", + 29230.67 ], [ - "2012-03-24", - 280 + "2023-08-01", + 29697.27 ], [ - "2012-03-25", - 280 + "2023-08-02", + 29164.22 ], [ - "2012-03-26", - 280 + "2023-08-03", + 29174.18 ], [ - "2012-03-27", - 280 + "2023-08-04", + 29076.48 ], [ - "2012-03-28", - 280 + "2023-08-05", + 29047.12 ], [ - "2012-03-29", - 280 + "2023-08-06", + 29040.01 ], [ - "2012-03-30", - 280 + "2023-08-07", + 29179.21 ], [ - "2012-03-31", - 280 + "2023-08-08", + 29770.01 ], [ - "2012-04-01", - 280 + "2023-08-09", + 29562.76 ], [ - "2012-04-02", - 280 + "2023-08-10", + 29424.03 ], [ - "2012-04-03", - 280 + "2023-08-11", + 29400.45 ], [ - "2012-04-04", - 280 + "2023-08-12", + 29416.96 ], [ - "2012-04-05", - 280 + "2023-08-13", + 29275.94 ], [ - "2012-04-06", - 280 + "2023-08-14", + 29405.49 ], [ - "2012-04-07", - 280 + "2023-08-15", + 29170.14 ], [ - "2012-04-08", - 280 + "2023-08-16", + 28700.51 ], [ - "2012-04-09", - 280 + "2023-08-17", + 26627.57 ], [ - "2012-04-10", - 280 + "2023-08-18", + 26048.89 ], [ - "2012-04-11", - 280 + "2023-08-19", + 26096.42 ], [ - "2012-04-12", - 280 + "2023-08-20", + 26189.14 ], [ - "2012-04-13", - 280 + "2023-08-21", + 26125.18 ], [ - "2012-04-14", - 280 + "2023-08-22", + 26042.11 ], [ - "2012-04-15", - 280 + "2023-08-23", + 26427.54 ], [ - "2012-04-16", - 280 + "2023-08-24", + 26163.49 ], [ - "2012-04-17", - 280 + "2023-08-25", + 26049.39 ], [ - "2012-04-18", - 280 + "2023-08-26", + 26009.61 ], [ - "2012-04-19", - 280 + "2023-08-27", + 26091.16 ], [ - "2012-04-20", - 280 + "2023-08-28", + 26101.04 ], [ - "2012-04-21", - 280 + "2023-08-29", + 27717.98 ], [ - "2012-04-22", - 280 + "2023-08-30", + 27306.06 ], [ - "2012-04-23", - 280 + "2023-08-31", + 25932.45 ], [ - "2012-04-24", - 280 + "2023-09-01", + 25794.88 ], [ - "2012-04-25", - 280 + "2023-09-02", + 25867.83 ], [ - "2012-04-26", - 280 + "2023-09-03", + 25969.83 ], [ - "2012-04-27", - 280 + "2023-09-04", + 25816.13 ], [ - "2012-04-28", - 280 + "2023-09-05", + 25783.91 ], [ - "2012-04-29", - 280 + "2023-09-06", + 25747.63 ], [ - "2012-04-30", - 280 + "2023-09-07", + 26276.3 ], [ - "2012-05-01", - 280 + "2023-09-08", + 25906.34 ], [ - "2012-05-02", - 280 + "2023-09-09", + 25897.82 ], [ - "2012-05-03", - 280 + "2023-09-10", + 25831.76 ], [ - "2012-05-04", - 280 + "2023-09-11", + 25152.14 ], [ - "2012-05-05", - 280 + "2023-09-12", + 25840.61 ], [ - "2012-05-06", - 280 + "2023-09-13", + 26226.65 ], [ - "2012-05-07", - 280 + "2023-09-14", + 26532.76 ], [ - "2012-05-08", - 280 + "2023-09-15", + 26602.42 ], [ - "2012-05-09", - 280 + "2023-09-16", + 26569.69 ], [ - "2012-05-10", - 280 + "2023-09-17", + 26530.95 ], [ - "2012-05-11", - 280 + "2023-09-18", + 26764.49 ], [ - "2012-05-12", - 280 + "2023-09-19", + 27216.13 ], [ - "2012-05-13", - 280 + "2023-09-20", + 27123.94 ], [ - "2012-05-14", - 280 + "2023-09-21", + 26564.54 ], [ - "2012-05-15", - 280 + "2023-09-22", + 26578.4 ], [ - "2012-05-16", - 280 + "2023-09-23", + 26579.6 ], [ - "2012-05-17", - 280 + "2023-09-24", + 26250.24 ], [ - "2012-05-18", - 280 + "2023-09-25", + 26296.08 ], [ - "2012-05-19", - 280 + "2023-09-26", + 26208.44 ], [ - "2012-05-20", - 280 + "2023-09-27", + 26357.62 ], [ - "2012-05-21", - 280 + "2023-09-28", + 27027.14 ], [ - "2012-05-22", - 280 + "2023-09-29", + 26907 ], [ - "2012-05-23", - 280 + "2023-09-30", + 26961 ], [ - "2012-05-24", - 280 + "2023-10-01", + 27995.46 ], [ - "2012-05-25", - 280 + "2023-10-02", + 27504.04 ], [ - "2012-05-26", - 280 + "2023-10-03", + 27428.96 ], [ - "2012-05-27", - 280 + "2023-10-04", + 27786.75 ], [ - "2012-05-28", - 280 + "2023-10-05", + 27412.96 ], [ - "2012-05-29", - 280 + "2023-10-06", + 27945.17 ], [ - "2012-05-30", - 280 + "2023-10-07", + 27976.43 ], [ - "2012-05-31", - 280 + "2023-10-08", + 27933.55 ], [ - "2012-06-01", - 280 + "2023-10-09", + 27596.67 ], [ - "2012-06-02", - 280 + "2023-10-10", + 27393.29 ], [ - "2012-06-03", - 280 + "2023-10-11", + 26869.19 ], [ - "2012-06-04", - 280 + "2023-10-12", + 26750.51 ], [ - "2012-06-05", - 280 + "2023-10-13", + 26863.53 ], [ - "2012-06-06", - 280 + "2023-10-14", + 26851.71 ], [ - "2012-06-07", - 280 + "2023-10-15", + 27186.13 ], [ - "2012-06-08", - 280 + "2023-10-16", + 28520.24 ], [ - "2012-06-09", - 280 + "2023-10-17", + 28408.83 ], [ - "2012-06-10", - 280 + "2023-10-18", + 28326.51 ], [ - "2012-06-11", - 280 + "2023-10-19", + 28735.34 ], [ - "2012-06-12", - 280 + "2023-10-20", + 29684.73 ], [ - "2012-06-13", - 280 + "2023-10-21", + 29924.84 ], [ - "2012-06-14", - 280 + "2023-10-22", + 30004.15 ], [ - "2012-06-15", - 280 + "2023-10-23", + 33087.58 ], [ - "2012-06-16", - 280 + "2023-10-24", + 33922.52 ], [ - "2012-06-17", - 280 + "2023-10-25", + 34506.35 ], [ - "2012-06-18", - 280 + "2023-10-26", + 34154.71 ], [ - "2012-06-19", - 280 + "2023-10-27", + 33906.09 ], [ - "2012-06-20", - 280 + "2023-10-28", + 34085.42 ], [ - "2012-06-21", - 280 + "2023-10-29", + 34534.48 ], [ - "2012-06-22", - 280 + "2023-10-30", + 34493.79 ], [ - "2012-06-23", - 280 + "2023-10-31", + 34656.4 ], [ - "2012-06-24", - 280 + "2023-11-01", + 35440.1 ], [ - "2012-06-25", - 280 + "2023-11-02", + 34950 ], [ - "2012-06-26", - 280 + "2023-11-03", + 34731.27 ], [ - "2012-06-27", - 280 + "2023-11-04", + 35087.01 ], [ - "2012-06-28", - 280 + "2023-11-05", + 35035.42 ], [ - "2012-06-29", - 280 + "2023-11-06", + 35059.46 ], [ - "2012-06-30", - 280 + "2023-11-07", + 35416.28 ], [ - "2012-07-01", - 280 + "2023-11-08", + 35639.13 ], [ - "2012-07-02", - 280 + "2023-11-09", + 36706.59 ], [ - "2012-07-03", - 280 + "2023-11-10", + 37324.83 ], [ - "2012-07-04", - 280 + "2023-11-11", + 37139.12 ], [ - "2012-07-05", - 280 + "2023-11-12", + 37086.03 ], [ - "2012-07-06", - 280 + "2023-11-13", + 36475.67 ], [ - "2012-07-07", - 280 + "2023-11-14", + 35554.09 ], [ - "2012-07-08", - 280 + "2023-11-15", + 37885.35 ], [ - "2012-07-09", - 280 + "2023-11-16", + 36161.15 ], [ - "2012-07-10", - 280 + "2023-11-17", + 36630.38 ], [ - "2012-07-11", - 280 + "2023-11-18", + 36594.89 ], [ - "2012-07-12", - 280 + "2023-11-19", + 37391.19 ], [ - "2012-07-13", - 280 + "2023-11-20", + 37475.64 ], [ - "2012-07-14", - 280 + "2023-11-21", + 35751.89 ], [ - "2012-07-15", - 280 + "2023-11-22", + 37424.31 ], [ - "2012-07-16", - 280 + "2023-11-23", + 37304.05 ], [ - "2012-07-17", - 280 + "2023-11-24", + 37745.84 ], [ - "2012-07-18", - 280 + "2023-11-25", + 37805.99 ], [ - "2012-07-19", - 280 + "2023-11-26", + 37462.79 ], [ - "2012-07-20", - 280 + "2023-11-27", + 37241.63 ], [ - "2012-07-21", - 280 + "2023-11-28", + 37838.26 ], [ - "2012-07-22", - 280 + "2023-11-29", + 37863.84 ], [ - "2012-07-23", - 280 + "2023-11-30", + 37732.27 ], [ - "2012-07-24", - 280 + "2023-12-01", + 38703.54 ], [ - "2012-07-25", - 280 + "2023-12-02", + 39478.95 ], [ - "2012-07-26", - 280 + "2023-12-03", + 39984.81 ], [ - "2012-07-27", - 280 + "2023-12-04", + 41987.24 ], [ - "2012-07-28", - 280 + "2023-12-05", + 44084.39 ], [ - "2012-07-29", - 280 + "2023-12-06", + 43764.05 ], [ - "2012-07-30", - 280 + "2023-12-07", + 43280.95 ], [ - "2012-07-31", - 280 + "2023-12-08", + 44192.87 ], [ - "2012-08-01", - 280 + "2023-12-09", + 43723.25 ], [ - "2012-08-02", - 280 + "2023-12-10", + 43793.68 ], [ - "2012-08-03", - 280 + "2023-12-11", + 41229.61 ], [ - "2012-08-04", - 280 + "2023-12-12", + 41477.39 ], [ - "2012-08-05", - 280 + "2023-12-13", + 42885.54 ], [ - "2012-08-06", - 280 + "2023-12-14", + 43027.77 ], [ - "2012-08-07", - 280 + "2023-12-15", + 41933.89 ], [ - "2012-08-08", - 280 + "2023-12-16", + 42237.29 ], [ - "2012-08-09", - 280 + "2023-12-17", + 41349.59 ], [ - "2012-08-10", - 280 + "2023-12-18", + 42650.01 ], [ - "2012-08-11", - 280 + "2023-12-19", + 42266.22 ], [ - "2012-08-12", - 280 + "2023-12-20", + 43674.77 ], [ - "2012-08-13", - 280 + "2023-12-21", + 43875.32 ], [ - "2012-08-14", - 280 + "2023-12-22", + 44013.73 ], [ - "2012-08-15", - 280 + "2023-12-23", + 43726.35 ], [ - "2012-08-16", - 280 + "2023-12-24", + 43025.03 ], [ - "2012-08-17", - 280 + "2023-12-25", + 43589.67 ], [ - "2012-08-18", - 280 + "2023-12-26", + 42515.53 ], [ - "2012-08-19", - 280 + "2023-12-27", + 43474.4 ], [ - "2012-08-20", - 280 + "2023-12-28", + 42581.23 ], [ - "2012-08-21", - 280 + "2023-12-29", + 42063.45 ], [ - "2012-08-22", - 280 + "2023-12-30", + 42141.03 ], [ - "2012-08-23", - 280 + "2023-12-31", + 42288.06 ], [ - "2012-08-24", - 280 + "2024-01-01", + 44220.78 ], [ - "2012-08-25", - 280 + "2024-01-02", + 44972.8 ], [ - "2012-08-26", - 280 + "2024-01-03", + 42862.44 ], [ - "2012-08-27", - 280 + "2024-01-04", + 44193.29 ], [ - "2012-08-28", - 280 + "2024-01-05", + 44186.59 ], [ - "2012-08-29", - 280 + "2024-01-06", + 43992.44 ], [ - "2012-08-30", - 280 + "2024-01-07", + 43950.28 ], [ - "2012-08-31", - 280 + "2024-01-08", + 46995.1 ], [ - "2012-09-01", - 280 + "2024-01-09", + 46124.08 ], [ - "2012-09-02", - 280 + "2024-01-10", + 46666.11 ], [ - "2012-09-03", - 280 + "2024-01-11", + 46342.66 ], [ - "2012-09-04", - 280 + "2024-01-12", + 42773.03 ], [ - "2012-09-05", - 280 + "2024-01-13", + 42839.33 ], [ - "2012-09-06", - 280 + "2024-01-14", + 41697.33 ], [ - "2012-09-07", - 280 + "2024-01-15", + 42490.16 ], [ - "2012-09-08", - 280 + "2024-01-16", + 43130.45 ], [ - "2012-09-09", - 280 + "2024-01-17", + 42739.49 ], [ - "2012-09-10", - 280 + "2024-01-18", + 41293.5 ], [ - "2012-09-11", - 280 + "2024-01-19", + 41624.07 ], [ - "2012-09-12", - 280 + "2024-01-20", + 41666.67 ], [ - "2012-09-13", - 280 + "2024-01-21", + 41554.05 ], [ - "2012-09-14", - 280 + "2024-01-22", + 39524.27 ], [ - "2012-09-15", - 280 + "2024-01-23", + 39878.3 ], [ - "2012-09-16", - 280 + "2024-01-24", + 40077.78 ], [ - "2012-09-17", - 280 + "2024-01-25", + 39941.66 ], [ - "2012-09-18", - 280 + "2024-01-26", + 41814.8 ], [ - "2012-09-19", - 280 + "2024-01-27", + 42126.55 ], [ - "2012-09-20", - 280 + "2024-01-28", + 42034.59 ], [ - "2012-09-21", - 280 + "2024-01-29", + 43306.18 ], [ - "2012-09-22", - 280 + "2024-01-30", + 42942.78 ], [ - "2012-09-23", - 280 + "2024-01-31", + 42548.08 ], [ - "2012-09-24", - 280 + "2024-02-01", + 43078.81 ], [ - "2012-09-25", - 280 + "2024-02-02", + 43181.66 ], [ - "2012-09-26", - 280 + "2024-02-03", + 43010.67 ], [ - "2012-09-27", - 280 + "2024-02-04", + 42568.55 ], [ - "2012-09-28", - 280 + "2024-02-05", + 42657.67 ], [ - "2012-09-29", - 280 + "2024-02-06", + 43095.79 ], [ - "2012-09-30", - 280 + "2024-02-07", + 44343.61 ], [ - "2012-10-01", - 280 + "2024-02-08", + 45305.2 ], [ - "2012-10-02", - 280 + "2024-02-09", + 47160.41 ], [ - "2012-10-03", - 280 + "2024-02-10", + 47767.06 ], [ - "2012-10-04", - 280 + "2024-02-11", + 48316.3 ], [ - "2012-10-05", - 280 + "2024-02-12", + 49941.81 ], [ - "2012-10-06", - 280 + "2024-02-13", + 49725.36 ], [ - "2012-10-07", - 280 + "2024-02-14", + 51858.59 ], [ - "2012-10-08", - 280 + "2024-02-15", + 51934.29 ], [ - "2012-10-09", - 280 + "2024-02-16", + 52162.64 ], [ - "2012-10-10", - 280 + "2024-02-17", + 51666.22 ], [ - "2012-10-11", - 280 + "2024-02-18", + 52153.63 ], [ - "2012-10-12", - 280 + "2024-02-19", + 51787.05 ], [ - "2012-10-13", - 280 + "2024-02-20", + 52277.52 ], [ - "2012-10-14", - 280 + "2024-02-21", + 51851.67 ], [ - "2012-10-15", - 280 + "2024-02-22", + 51258.7 ], [ - "2012-10-16", - 280 + "2024-02-23", + 50747.05 ], [ - "2012-10-17", - 280 + "2024-02-24", + 51570.65 ], [ - "2012-10-18", - 280 + "2024-02-25", + 51731 ], [ - "2012-10-19", - 280 + "2024-02-26", + 54533.48 ], [ - "2012-10-20", - 280 + "2024-02-27", + 57077.07 ], [ - "2012-10-21", - 280 + "2024-02-28", + 62518.9 ], [ - "2012-10-22", - 280 + "2024-02-29", + 61179.03 ], [ - "2012-10-23", - 280 + "2024-03-01", + 62436.72 ], [ - "2012-10-24", - 280 + "2024-03-02", + 62045.78 ], [ - "2012-10-25", - 280 + "2024-03-03", + 63154.49 ], [ - "2012-10-26", - 280 + "2024-03-04", + 68360.14 ], [ - "2012-10-27", - 280 + "2024-03-05", + 63800.78 ], [ - "2012-10-28", - 280 + "2024-03-06", + 66122.28 ], [ - "2012-10-29", - 280 + "2024-03-07", + 66938.21 ], [ - "2012-10-30", - 280 + "2024-03-08", + 68289.16 ], [ - "2012-10-31", - 280 + "2024-03-09", + 68480 ], [ - "2012-11-01", - 280 + "2024-03-10", + 69032.12 ], [ - "2012-11-02", - 280 + "2024-03-11", + 72110.98 ], [ - "2012-11-03", - 280 + "2024-03-12", + 71475.93 ], [ - "2012-11-04", - 280 + "2024-03-13", + 73135.04 ], [ - "2012-11-05", - 280 + "2024-03-14", + 71364.58 ], [ - "2012-11-06", - 280 + "2024-03-15", + 69506.88 ], [ - "2012-11-07", - 280 + "2024-03-16", + 65254.22 ], [ - "2012-11-08", - 280 + "2024-03-17", + 68343.64 ], [ - "2012-11-09", - 280 + "2024-03-18", + 67613.04 ], [ - "2012-11-10", - 280 + "2024-03-19", + 61906.27 ], [ - "2012-11-11", - 280 + "2024-03-20", + 67858.8 ], [ - "2012-11-12", - 280 + "2024-03-21", + 65484.7 ], [ - "2012-11-13", - 280 + "2024-03-22", + 63814.56 ], [ - "2012-11-14", - 280 + "2024-03-23", + 63998.86 ], [ - "2012-11-15", - 280 + "2024-03-24", + 67204.93 ], [ - "2012-11-16", - 280 + "2024-03-25", + 69890.28 ], [ - "2012-11-17", - 280 + "2024-03-26", + 69992.4 ], [ - "2012-11-18", - 280 + "2024-03-27", + 69435.96 ], [ - "2012-11-19", - 280 + "2024-03-28", + 70801.18 ], [ - "2012-11-20", - 280 + "2024-03-29", + 69903.75 ], [ - "2012-11-21", - 280 + "2024-03-30", + 69626.87 ], [ - "2012-11-22", - 280 + "2024-03-31", + 71288.9 ], [ - "2012-11-23", - 280 + "2024-04-01", + 69681.82 ], [ - "2012-11-24", - 280 + "2024-04-02", + 65464.14 ], [ - "2012-11-25", - 280 + "2024-04-03", + 65987.92 ], [ - "2012-11-26", - 280 + "2024-04-04", + 68525.23 ], [ - "2012-11-27", - 280 + "2024-04-05", + 67856.51 ], [ - "2012-11-28", - 280 + "2024-04-06", + 68919.89 ], [ - "2012-11-29", - 280 + "2024-04-07", + 69350.34 ], [ - "2012-11-30", - 280 + "2024-04-08", + 71622.53 ], [ - "2012-12-01", - 280 + "2024-04-09", + 69117.01 ], [ - "2012-12-02", - 280 + "2024-04-10", + 70634.04 ], [ - "2012-12-03", - 280 + "2024-04-11", + 70020.73 ], [ - "2012-12-04", - 280 + "2024-04-12", + 67148.61 ], [ - "2012-12-05", - 280 + "2024-04-13", + 64024.77 ], [ - "2012-12-06", - 280 + "2024-04-14", + 65777.05 ], [ - "2012-12-07", - 280 + "2024-04-15", + 63452.18 ], [ - "2012-12-08", - 280 + "2024-04-16", + 63814.94 ], [ - "2012-12-09", - 280 + "2024-04-17", + 61279.36 ], [ - "2012-12-10", - 280 + "2024-04-18", + 63513.85 ], [ - "2012-12-11", - 280 + "2024-04-19", + 63848.37 ], [ - "2012-12-12", - 280 + "2024-04-20", + 64968.87 ], [ - "2012-12-13", - 280 + "2024-04-21", + 64952.92 ], [ - "2012-12-14", - 280 + "2024-04-22", + 66859.17 ], [ - "2012-12-15", - 280 + "2024-04-23", + 66414.16 ], [ - "2012-12-16", - 280 + "2024-04-24", + 64255.78 ], [ - "2012-12-17", - 280 + "2024-04-25", + 64484.44 ], [ - "2012-12-18", - 280 + "2024-04-26", + 63742.39 ], [ - "2012-12-19", - 280 + "2024-04-27", + 63422 ], [ - "2012-12-20", - 280 + "2024-04-28", + 63108.94 ], [ - "2012-12-21", - 280 + "2024-04-29", + 63844.85 ], [ - "2012-12-22", - 280 + "2024-04-30", + 60622.1 ], [ - "2012-12-23", - 280 + "2024-05-01", + 58265.59 ], [ - "2012-12-24", - 280 + "2024-05-02", + 59071.89 ], [ - "2012-12-25", - 280 + "2024-05-03", + 62913.03 ], [ - "2012-12-26", - 280 + "2024-05-04", + 63902.88 ], [ - "2012-12-27", - 280 + "2024-05-05", + 64023.45 ], [ - "2012-12-28", - 280 + "2024-05-06", + 63162.24 ], [ - "2012-12-29", - 280 + "2024-05-07", + 62315.76 ], [ - "2012-12-30", - 280 + "2024-05-08", + 61169.53 ], [ - "2012-12-31", - 280 + "2024-05-09", + 63073.57 ], [ - "2013-01-01", - 280 + "2024-05-10", + 60787.47 ], [ - "2013-01-02", - 280 + "2024-05-11", + 60814.63 ], [ - "2013-01-03", - 280 + "2024-05-12", + 61453.02 ], [ - "2013-01-04", - 280 + "2024-05-13", + 62932.37 ], [ - "2013-01-05", - 280 + "2024-05-14", + 61539.84 ], [ - "2013-01-06", - 280 + "2024-05-15", + 66244.69 ], [ - "2013-01-07", - 280 + "2024-05-16", + 65252.18 ], [ - "2013-01-08", - 280 + "2024-05-17", + 67046.33 ], [ - "2013-01-09", - 280 + "2024-05-18", + 66923.87 ], [ - "2013-01-10", - 280 + "2024-05-19", + 66261.62 ], [ - "2013-01-11", - 280 + "2024-05-20", + 71432.17 ], [ - "2013-01-12", - 280 + "2024-05-21", + 70142.84 ], [ - "2013-01-13", - 280 + "2024-05-22", + 69109.93 ], [ - "2013-01-14", - 280 + "2024-05-23", + 67940.45 ], [ - "2013-01-15", - 280 + "2024-05-24", + 68547.8 ], [ - "2013-01-16", - 280 + "2024-05-25", + 69289.67 ], [ - "2013-01-17", - 280 + "2024-05-26", + 68473.72 ], [ - "2013-01-18", - 280 + "2024-05-27", + 69368.72 ], [ - "2013-01-19", - 280 + "2024-05-28", + 68321.98 ], [ - "2013-01-20", - 280 + "2024-05-29", + 67569.45 ], [ - "2013-01-21", - 280 + "2024-05-30", + 68338.58 ], [ - "2013-01-22", - 280 + "2024-05-31", + 67472.41 ], [ - "2013-01-23", - 280 + "2024-06-01", + 67719.29 ], [ - "2013-01-24", - 280 + "2024-06-02", + 67735.52 ], [ - "2013-01-25", - 280 + "2024-06-03", + 68791 ], [ - "2013-01-26", - 280 + "2024-06-04", + 70542.32 ], [ - "2013-01-27", - 280 + "2024-06-05", + 71121.11 ], [ - "2013-01-28", - 280 + "2024-06-06", + 70773.64 ], [ - "2013-01-29", - 280 + "2024-06-07", + 69324.53 ], [ - "2013-01-30", - 280 + "2024-06-08", + 69304.05 ], [ - "2013-01-31", - 280 + "2024-06-09", + 69637.87 ], [ - "2013-02-01", - 280 + "2024-06-10", + 69497.73 ], [ - "2013-02-02", - 280 + "2024-06-11", + 67316.53 ], [ - "2013-02-03", - 280 + "2024-06-12", + 68248.6 ], [ - "2013-02-04", - 280 + "2024-06-13", + 66738.85 ], [ - "2013-02-05", - 280 + "2024-06-14", + 66004.39 ], [ - "2013-02-06", - 280 + "2024-06-15", + 66192 ], [ - "2013-02-07", - 280 + "2024-06-16", + 66628.75 ], [ - "2013-02-08", - 280 + "2024-06-17", + 66481.81 ], [ - "2013-02-09", - 280 + "2024-06-18", + 65152.8 ], [ - "2013-02-10", - 280 + "2024-06-19", + 64943.79 ], [ - "2013-02-11", - 280 + "2024-06-20", + 64840.88 ], [ - "2013-02-12", - 280 + "2024-06-21", + 64120.28 ], [ - "2013-02-13", - 280 + "2024-06-22", + 64235.01 ], [ - "2013-02-14", - 280 + "2024-06-23", + 63171.43 ], [ - "2013-02-15", - 280 + "2024-06-24", + 60263 ], [ - "2013-02-16", - 280 + "2024-06-25", + 61789.71 ], [ - "2013-02-17", - 280 + "2024-06-26", + 60816.68 ], [ - "2013-02-18", - 280 + "2024-06-27", + 61615.39 ], [ - "2013-02-19", - 280 + "2024-06-28", + 60313.35 ], [ - "2013-02-20", - 280 + "2024-06-29", + 60885.67 ], [ - "2013-02-21", - 280 + "2024-06-30", + 62668.26 ], [ - "2013-02-22", - 280 + "2024-07-01", + 62830.13 ], [ - "2013-02-23", - 280 + "2024-07-02", + 62040.22 ], [ - "2013-02-24", - 280 + "2024-07-03", + 60145.01 ], [ - "2013-02-25", - 280 + "2024-07-04", + 57042.14 ], [ - "2013-02-26", - 280 + "2024-07-05", + 56639.43 ], [ - "2013-02-27", - 280 + "2024-07-06", + 58244.75 ], [ - "2013-02-28", - 280 + "2024-07-07", + 55854.09 ], [ - "2013-03-01", - 280 + "2024-07-08", + 56699.43 ], [ - "2013-03-02", - 280 + "2024-07-09", + 58047.86 ], [ - "2013-03-03", - 280 + "2024-07-10", + 57712.59 ], [ - "2013-03-04", - 280 + "2024-07-11", + 57340.77 ], [ - "2013-03-05", - 280 + "2024-07-12", + 57909.03 ], [ - "2013-03-06", - 280 + "2024-07-13", + 59224.58 ], [ - "2013-03-07", - 280 + "2024-07-14", + 60808.42 ], [ - "2013-03-08", - 280 + "2024-07-15", + 64757.16 ], [ - "2013-03-09", - 280 + "2024-07-16", + 65088.99 ], [ - "2013-03-10", - 280 + "2024-07-17", + 64085.81 ], [ - "2013-03-11", - 280 + "2024-07-18", + 63982.86 ], [ - "2013-03-12", - 280 + "2024-07-19", + 66707.61 ], [ - "2013-03-13", - 280 + "2024-07-20", + 67163.83 ], [ - "2013-03-14", - 280 + "2024-07-21", + 68181.28 ], [ - "2013-03-15", - 280 + "2024-07-22", + 67558.22 ], [ - "2013-03-16", - 280 + "2024-07-23", + 65939.24 ], [ - "2013-03-17", - 280 + "2024-07-24", + 65366.4 ], [ - "2013-03-18", - 280 + "2024-07-25", + 65795.42 ], [ - "2013-03-19", - 280 + "2024-07-26", + 67924.08 ], [ - "2013-03-20", - 280 + "2024-07-27", + 67899.41 ], [ - "2013-03-21", - 280 + "2024-07-28", + 68244.3 ], [ - "2013-03-22", - 280 + "2024-07-29", + 66771.45 ], [ - "2013-03-23", - 280 + "2024-07-30", + 66169.68 ], [ - "2013-03-24", - 280 + "2024-07-31", + 64609.62 ], [ - "2013-03-25", - 280 + "2024-08-01", + 65288.18 ], [ - "2013-03-26", - 280 + "2024-08-02", + 61418.06 ], [ - "2013-03-27", - 280 + "2024-08-03", + 60674.93 ], [ - "2013-03-28", - 280 + "2024-08-04", + 58130.95 ], [ - "2013-03-29", - 280 + "2024-08-05", + 54029.12 ], [ - "2013-03-30", - 280 + "2024-08-06", + 56048.08 ], [ - "2013-03-31", - 280 + "2024-08-07", + 55148.1 ], [ - "2013-04-01", - 280 + "2024-08-08", + 61705.58 ], [ - "2013-04-02", - 280 + "2024-08-09", + 60862.13 ], [ - "2013-04-03", - 280 + "2024-08-10", + 60935.02 ], [ - "2013-04-04", - 280 + "2024-08-11", + 58722.49 ], [ - "2013-04-05", - 280 + "2024-08-12", + 59358.78 ], [ - "2013-04-06", - 280 + "2024-08-13", + 60603.19 ], [ - "2013-04-07", - 280 + "2024-08-14", + 58690.62 ], [ - "2013-04-08", - 280 + "2024-08-15", + 57543.61 ], [ - "2013-04-09", - 280 + "2024-08-16", + 58888.99 ], [ - "2013-04-10", - 280 + "2024-08-17", + 59497.49 ], [ - "2013-04-11", - 280 + "2024-08-18", + 58437.9 ], [ - "2013-04-12", - 280 + "2024-08-19", + 59452.67 ], [ - "2013-04-13", - 280 + "2024-08-20", + 59017.59 ], [ - "2013-04-14", - 280 + "2024-08-21", + 61163.28 ], [ - "2013-04-15", - 280 + "2024-08-22", + 60383.29 ], [ - "2013-04-16", - 280 + "2024-08-23", + 64086.72 ], [ - "2013-04-17", - 280 + "2024-08-24", + 64179.63 ], [ - "2013-04-18", - 280 + "2024-08-25", + 64251.93 ], [ - "2013-04-19", - 280 + "2024-08-26", + 62840 ], [ - "2013-04-20", - 280 + "2024-08-27", + 59439.64 ], [ - "2013-04-21", - 280 + "2024-08-28", + 59045.88 ], [ - "2013-04-22", - 280 + "2024-08-29", + 59364.47 ], [ - "2013-04-23", - 280 + "2024-08-30", + 59112.77 ], [ - "2013-04-24", - 280 + "2024-08-31", + 58968.37 ], [ - "2013-04-25", - 280 + "2024-09-01", + 57299 ], [ - "2013-04-26", - 280 + "2024-09-02", + 59139.83 ], [ - "2013-04-27", - 280 + "2024-09-03", + 57468.84 ], [ - "2013-04-28", - 280 + "2024-09-04", + 57971 ], [ - "2013-04-29", - 280 + "2024-09-05", + 56156.82 ], [ - "2013-04-30", - 280 + "2024-09-06", + 53950.01 ], [ - "2013-05-01", - 280 + "2024-09-07", + 54156.33 ], [ - "2013-05-02", - 280 + "2024-09-08", + 54881.11 ], [ - "2013-05-03", - 280 + "2024-09-09", + 57053.9 ], [ - "2013-05-04", - 280 + "2024-09-10", + 57645.59 ], [ - "2013-05-05", - 280 + "2024-09-11", + 57352.79 ], [ - "2013-05-06", - 280 + "2024-09-12", + 58137.54 ], [ - "2013-05-07", - 280 + "2024-09-13", + 60543.35 ], [ - "2013-05-08", - 280 + "2024-09-14", + 60012.35 ], [ - "2013-05-09", - 280 + "2024-09-15", + 59122.33 ], [ - "2013-05-10", - 280 + "2024-09-16", + 58208.75 ], [ - "2013-05-11", - 280 + "2024-09-17", + 60312.6 ], [ - "2013-05-12", - 280 + "2024-09-18", + 61769.18 ], [ - "2013-05-13", - 280 + "2024-09-19", + 62960.14 ], [ - "2013-05-14", - 280 + "2024-09-20", + 63210.69 ], [ - "2013-05-15", - 280 + "2024-09-21", + 63362.74 ], [ - "2013-05-16", - 280 + "2024-09-22", + 63577.66 ], [ - "2013-05-17", - 280 + "2024-09-23", + 63338.87 ], [ - "2013-05-18", - 280 + "2024-09-24", + 64272.93 ], [ - "2013-05-19", - 280 + "2024-09-25", + 63130.89 ], [ - "2013-05-20", - 280 + "2024-09-26", + 65177.21 ], [ - "2013-05-21", - 280 + "2024-09-27", + 65789 ], [ - "2013-05-22", - 280 + "2024-09-28", + 65858.99 ], [ - "2013-05-23", - 280 + "2024-09-29", + 65600.01 ], [ - "2013-05-24", - 280 + "2024-09-30", + 63301.25 ], [ - "2013-05-25", - 280 + "2024-10-01", + 60790 ], [ - "2013-05-26", - 280 + "2024-10-02", + 60631.37 ], [ - "2013-05-27", - 280 + "2024-10-03", + 60744.99 ], [ - "2013-05-28", - 280 + "2024-10-04", + 62090.71 ], [ - "2013-05-29", - 280 + "2024-10-05", + 62051.29 ], [ - "2013-05-30", - 280 + "2024-10-06", + 62810.86 ], [ - "2013-05-31", - 280 + "2024-10-07", + 62200.28 ], [ - "2013-06-01", - 280 + "2024-10-08", + 62122.02 ], [ - "2013-06-02", - 280 + "2024-10-09", + 60578.28 ], [ - "2013-06-03", - 280 + "2024-10-10", + 60279.53 ], [ - "2013-06-04", - 280 + "2024-10-11", + 62518.75 ], [ - "2013-06-05", - 280 + "2024-10-12", + 63187.47 ], [ - "2013-06-06", - 280 + "2024-10-13", + 62845.3 ], [ - "2013-06-07", - 280 + "2024-10-14", + 66065.65 ], [ - "2013-06-08", - 280 + "2024-10-15", + 67056.6 ], [ - "2013-06-09", - 280 + "2024-10-16", + 67608.44 ], [ - "2013-06-10", - 280 + "2024-10-17", + 67402.33 ], [ - "2013-06-11", - 280 + "2024-10-18", + 68426.11 ], [ - "2013-06-12", - 280 + "2024-10-19", + 68363.73 ], [ - "2013-06-13", - 280 + "2024-10-20", + 69014.86 ], [ - "2013-06-14", - 280 + "2024-10-21", + 67346.15 ], [ - "2013-06-15", - 280 + "2024-10-22", + 67380.08 ], [ - "2013-06-16", - 280 + "2024-10-23", + 66601.11 ], [ - "2013-06-17", - 280 + "2024-10-24", + 68156.84 ], [ - "2013-06-18", - 280 + "2024-10-25", + 66564.51 ], [ - "2013-06-19", - 280 + "2024-10-26", + 67012.56 ], [ - "2013-06-20", - 280 + "2024-10-27", + 67943.19 ], [ - "2013-06-21", - 280 + "2024-10-28", + 69924.5 ], [ - "2013-06-22", - 280 + "2024-10-29", + 72724.35 ], [ - "2013-06-23", - 280 + "2024-10-30", + 72322.91 ], [ - "2013-06-24", - 280 + "2024-10-31", + 70197.83 ], [ - "2013-06-25", - 280 + "2024-11-01", + 69467.29 ], [ - "2013-06-26", - 280 + "2024-11-02", + 69358.94 ], [ - "2013-06-27", - 280 + "2024-11-03", + 68738.18 ], [ - "2013-06-28", - 280 + "2024-11-04", + 67807.48 ], [ - "2013-06-29", - 280 + "2024-11-05", + 69380.73 ], [ - "2013-06-30", - 280 + "2024-11-06", + 75646.55 ], [ - "2013-07-01", - 280 + "2024-11-07", + 75920 ], [ - "2013-07-02", - 280 + "2024-11-08", + 76566.73 ], [ - "2013-07-03", - 280 + "2024-11-09", + 76716.06 ], [ - "2013-07-04", - 280 + "2024-11-10", + 80428.92 ], [ - "2013-07-05", - 280 + "2024-11-11", + 88770.73 ], [ - "2013-07-06", - 280 + "2024-11-12", + 88035.43 ], [ - "2013-07-07", - 280 + "2024-11-13", + 90493.82 ], [ - "2013-07-08", - 280 + "2024-11-14", + 87340.4 ], [ - "2013-07-09", - 280 + "2024-11-15", + 91058.36 ], [ - "2013-07-10", - 280 + "2024-11-16", + 90636.24 ], [ - "2013-07-11", - 280 + "2024-11-17", + 89886.69 ], [ - "2013-07-12", - 280 + "2024-11-18", + 90520.3 ], [ - "2013-07-13", - 280 + "2024-11-19", + 92435.89 ], [ - "2013-07-14", - 280 + "2024-11-20", + 94393.15 ], [ - "2013-07-15", - 280 + "2024-11-21", + 98439.09 ], [ - "2013-07-16", - 280 + "2024-11-22", + 99024.03 ], [ - "2013-07-17", - 280 + "2024-11-23", + 97778.77 ], [ - "2013-07-18", - 280 + "2024-11-24", + 98028.18 ], [ - "2013-07-19", - 280 + "2024-11-25", + 93000.01 ], [ - "2013-07-20", - 280 + "2024-11-26", + 91929.54 ], [ - "2013-07-21", - 280 + "2024-11-27", + 95951.19 ], [ - "2013-07-22", - 280 + "2024-11-28", + 95665.53 ], [ - "2013-07-23", - 280 + "2024-11-29", + 97490.56 ], [ - "2013-07-24", - 280 + "2024-11-30", + 96465.42 ], [ - "2013-07-25", - 280 + "2024-12-01", + 97263.18 ], [ - "2013-07-26", - 280 + "2024-12-02", + 95862.89 ], [ - "2013-07-27", - 280 + "2024-12-03", + 95924.52 ], [ - "2013-07-28", - 280 + "2024-12-04", + 98746.24 ], [ - "2013-07-29", - 280 + "2024-12-05", + 97044.23 ], [ - "2013-07-30", - 280 + "2024-12-06", + 99891.35 ], [ - "2013-07-31", - 280 + "2024-12-07", + 99929.32 ], [ - "2013-08-01", - 280 + "2024-12-08", + 101174.99 ], [ - "2013-08-02", - 280 + "2024-12-09", + 97324.81 ], [ - "2013-08-03", - 280 + "2024-12-10", + 96660.76 ], [ - "2013-08-04", - 280 + "2024-12-11", + 101202.11 ], [ - "2013-08-05", - 280 + "2024-12-12", + 100030.47 ], [ - "2013-08-06", - 280 + "2024-12-13", + 101428.75 ], [ - "2013-08-07", - 280 + "2024-12-14", + 101399.99 ], [ - "2013-08-08", - 280 + "2024-12-15", + 104447.76 ], [ - "2013-08-09", - 280 + "2024-12-16", + 106099.81 ], [ - "2013-08-10", - 280 + "2024-12-17", + 106136.99 ], [ - "2013-08-11", - 280 + "2024-12-18", + 100150.73 ], [ - "2013-08-12", - 280 + "2024-12-19", + 97372.21 ], [ - "2013-08-13", - 280 + "2024-12-20", + 97765 ], [ - "2013-08-14", - 280 + "2024-12-21", + 97230.08 ], [ - "2013-08-15", - 280 + "2024-12-22", + 95087.75 ], [ - "2013-08-16", - 280 + "2024-12-23", + 94764.56 ], [ - "2013-08-17", - 280 + "2024-12-24", + 98594.47 ], [ - "2013-08-18", - 280 + "2024-12-25", + 99346.28 ], [ - "2013-08-19", - 280 + "2024-12-26", + 95669.49 ], [ - "2013-08-20", - 280 + "2024-12-27", + 94171.89 ], [ - "2013-08-21", - 280 + "2024-12-28", + 95130.82 ], [ - "2013-08-22", - 280 + "2024-12-29", + 93563.35 ], [ - "2013-08-23", - 280 + "2024-12-30", + 92620.71 ], [ - "2013-08-24", - 280 + "2024-12-31", + 93354.22 ], [ - "2013-08-25", - 280 + "2025-01-01", + 94383.59 ], [ - "2013-08-26", - 280 + "2025-01-02", + 96903.19 ], [ - "2013-08-27", - 280 + "2025-01-03", + 98136.51 ], [ - "2013-08-28", - 280 + "2025-01-04", + 98209.85 ], [ - "2013-08-29", - 280 + "2025-01-05", + 98345.33 ], [ - "2013-08-30", - 280 + "2025-01-06", + 102279.41 ], [ - "2013-08-31", - 280 + "2025-01-07", + 96941.98 ], [ - "2013-09-01", - 280 + "2025-01-08", + 95036.63 ], [ - "2013-09-02", - 280 + "2025-01-09", + 92547.44 ], [ - "2013-09-03", - 280 + "2025-01-10", + 94701.18 ], [ - "2013-09-04", - 280 + "2025-01-11", + 94565.02 ], [ - "2013-09-05", - 280 + "2025-01-12", + 94509.62 ], [ - "2013-09-06", - 280 + "2025-01-13", + 94506.45 ], [ - "2013-09-07", - 280 + "2025-01-14", + 96534.96 ], [ - "2013-09-08", - 280 + "2025-01-15", + 100510.23 ], [ - "2013-09-09", - 280 + "2025-01-16", + 99981.78 ], [ - "2013-09-10", - 280 + "2025-01-17", + 104107 ], [ - "2013-09-11", - 280 + "2025-01-18", + 104435 ], [ - "2013-09-12", - 280 + "2025-01-19", + 101211.13 ], [ - "2013-09-13", - 280 + "2025-01-20", + 102145.43 ], [ - "2013-09-14", - 280 + "2025-01-21", + 106159.26 ], [ - "2013-09-15", - 280 + "2025-01-22", + 103667.11 ], [ - "2013-09-16", - 280 + "2025-01-23", + 103926.36 ], [ - "2013-09-17", - 280 + "2025-01-24", + 104850.27 ], [ - "2013-09-18", - 280 + "2025-01-25", + 104733.56 ], [ - "2013-09-19", - 280 + "2025-01-26", + 102563 ], [ - "2013-09-20", - 280 + "2025-01-27", + 102062.42 ], [ - "2013-09-21", - 280 + "2025-01-28", + 101290 ], [ - "2013-09-22", - 280 + "2025-01-29", + 103747.25 ], [ - "2013-09-23", - 280 + "2025-01-30", + 104742.64 ], [ - "2013-09-24", - 280 + "2025-01-31", + 102411.26 ], [ - "2013-09-25", - 280 + "2025-02-01", + 100623.85 ], [ - "2013-09-26", - 280 + "2025-02-02", + 97676.52 ], [ - "2013-09-27", - 280 + "2025-02-03", + 101460.2 ], [ - "2013-09-28", - 280 + "2025-02-04", + 97795.05 ], [ - "2013-09-29", - 280 + "2025-02-05", + 96638.33 ], [ - "2013-09-30", - 280 + "2025-02-06", + 96564.62 ], [ - "2013-10-01", - 280 + "2025-02-07", + 96537.08 ], [ - "2013-10-02", - 280 + "2025-02-08", + 96476.25 ], [ - "2013-10-03", - 280 + "2025-02-09", + 96475.82 ], [ - "2013-10-04", - 280 + "2025-02-10", + 97444.41 ], [ - "2013-10-05", - 280 + "2025-02-11", + 95774.08 ], [ - "2013-10-06", - 280 + "2025-02-12", + 97862.53 ], [ - "2013-10-07", - 280 + "2025-02-13", + 96625.29 ], [ - "2013-10-08", - 280 + "2025-02-14", + 97509.03 ], [ - "2013-10-09", - 280 + "2025-02-15", + 97596.94 ], [ - "2013-10-10", - 280 + "2025-02-16", + 96119.88 ], [ - "2013-10-11", - 280 + "2025-02-17", + 95781.8 ], [ - "2013-10-12", - 280 + "2025-02-18", + 95607.4 ], [ - "2013-10-13", - 280 + "2025-02-19", + 96632.03 ], [ - "2013-10-14", - 280 + "2025-02-20", + 98347.2 ], [ - "2013-10-15", - 280 + "2025-02-21", + 96157.03 ], [ - "2013-10-16", - 280 + "2025-02-22", + 96582.12 ], [ - "2013-10-17", - 280 + "2025-02-23", + 96265.98 ], [ - "2013-10-18", - 280 + "2025-02-24", + 91510.82 ], [ - "2013-10-19", - 280 + "2025-02-25", + 88583.74 ], [ - "2013-10-20", - 280 + "2025-02-26", + 84111.78 ], [ - "2013-10-21", - 280 + "2025-02-27", + 84625.19 ], [ - "2013-10-22", - 280 + "2025-02-28", + 84297.73 ], [ - "2013-10-23", - 280 + "2025-03-01", + 86018.76 ], [ - "2013-10-24", - 280 + "2025-03-02", + 94265.48 ], [ - "2013-10-25", - 280 + "2025-03-03", + 86161.1 ], [ - "2013-10-26", - 280 + "2025-03-04", + 87249.96 ], [ - "2013-10-27", - 280 + "2025-03-05", + 90603.73 ], [ - "2013-10-28", - 280 + "2025-03-06", + 89921.85 ], [ - "2013-10-29", - 280 + "2025-03-07", + 86756.98 ], [ - "2013-10-30", - 280 + "2025-03-08", + 86206.69 ], [ - "2013-10-31", - 280 + "2025-03-09", + 80699.17 ], [ - "2013-11-01", - 280 + "2025-03-10", + 78544.71 ], [ - "2013-11-02", - 280 + "2025-03-11", + 82914.51 ], [ - "2013-11-03", - 280 + "2025-03-12", + 83659.43 ], [ - "2013-11-04", - 280 + "2025-03-13", + 81073.43 ], [ - "2013-11-05", - 280 + "2025-03-14", + 83980.49 ], [ - "2013-11-06", - 280 + "2025-03-15", + 84351.46 ], [ - "2013-11-07", - 280 + "2025-03-16", + 82562.57 ], [ - "2013-11-08", - 280 + "2025-03-17", + 84011.4 ], [ - "2013-11-09", - 280 + "2025-03-18", + 82698.76 ], [ - "2013-11-10", - 280 + "2025-03-19", + 86877.96 ], [ - "2013-11-11", - 280 + "2025-03-20", + 84183.42 ], [ - "2013-11-12", - 280 + "2025-03-21", + 84061.96 ], [ - "2013-11-13", - 280 + "2025-03-22", + 83852.03 ], [ - "2013-11-14", - 280 + "2025-03-23", + 86092.94 ], [ - "2013-11-15", - 280 + "2025-03-24", + 87523.62 ], [ - "2013-11-16", - 280 + "2025-03-25", + 87427.88 ], [ - "2013-11-17", - 280 + "2025-03-26", + 86926.01 ], [ - "2013-11-18", - 280 + "2025-03-27", + 87217.48 ], [ - "2013-11-19", - 280 + "2025-03-28", + 84381.8 ], [ - "2013-11-20", - 280 + "2025-03-29", + 82616.83 ], [ - "2013-11-21", - 280 + "2025-03-30", + 82379.98 ], [ - "2013-11-22", - 280 + "2025-03-31", + 82534.32 ], [ - "2013-11-23", - 280 + "2025-04-01", + 85170.37 ], [ - "2013-11-24", - 280 + "2025-04-02", + 82490.08 ], [ - "2013-11-25", - 280 + "2025-04-03", + 83174.33 ], [ - "2013-11-26", - 280 + "2025-04-04", + 83860.16 ], [ - "2013-11-27", - 280 + "2025-04-05", + 83498.25 ], [ - "2013-11-28", - 280 + "2025-04-06", + 78370.75 ], [ - "2013-11-29", - 280 + "2025-04-07", + 79140.01 ], [ - "2013-11-30", - 280 + "2025-04-08", + 76251.64 ], [ - "2013-12-01", - 280 + "2025-04-09", + 82594.75 ], [ - "2013-12-02", - 280 + "2025-04-10", + 79552.34 ], [ - "2013-12-03", - 280 + "2025-04-11", + 83380.47 ], [ - "2013-12-04", - 280 + "2025-04-12", + 85271.01 ], [ - "2013-12-05", - 280 + "2025-04-13", + 83733.07 ], [ - "2013-12-06", - 280 + "2025-04-14", + 84590.36 ], [ - "2013-12-07", - 280 + "2025-04-15", + 83629.78 ], [ - "2013-12-08", - 280 + "2025-04-16", + 84028.72 ], [ - "2013-12-09", - 280 + "2025-04-17", + 84961.97 ], [ - "2013-12-10", - 280 + "2025-04-18", + 84466.47 ], [ - "2013-12-11", - 280 + "2025-04-19", + 85074.99 ], [ - "2013-12-12", - 280 + "2025-04-20", + 85177.34 ], [ - "2013-12-13", - 280 + "2025-04-21", + 87522.07 ], [ - "2013-12-14", - 280 + "2025-04-22", + 93489.1 ], [ - "2013-12-15", - 280 + "2025-04-23", + 93740.92 ], [ - "2013-12-16", - 280 + "2025-04-24", + 94021.96 ], [ - "2013-12-17", - 280 + "2025-04-25", + 94708.79 ], [ - "2013-12-18", - 280 + "2025-04-26", + 94666.64 ], [ - "2013-12-19", - 280 + "2025-04-27", + 93780.57 ], [ - "2013-12-20", - 280 + "2025-04-28", + 95042.57 ], [ - "2013-12-21", - 280 + "2025-04-29", + 94271.09 ], [ - "2013-12-22", - 280 + "2025-04-30", + 94182.54 ], [ - "2013-12-23", - 280 + "2025-05-01", + 96524.98 ], [ - "2013-12-24", - 280 + "2025-05-02", + 96929.81 ], [ - "2013-12-25", - 280 + "2025-05-03", + 95861.33 ], [ - "2013-12-26", - 280 + "2025-05-04", + 94272.55 ], [ - "2013-12-27", - 280 + "2025-05-05", + 94733.99 ], [ - "2013-12-28", - 280 + "2025-05-06", + 96839.17 ], [ - "2013-12-29", - 280 + "2025-05-07", + 97058.32 ], [ - "2013-12-30", - 280 + "2025-05-08", + 103253.49 ], [ - "2013-12-31", - 280 + "2025-05-09", + 102986.96 ], [ - "2014-01-01", - 280 + "2025-05-10", + 104821.19 ], [ - "2014-01-02", - 280 + "2025-05-11", + 104137.62 ], [ - "2014-01-03", - 280 + "2025-05-12", + 102800.21 ], [ - "2014-01-04", - 280 + "2025-05-13", + 104131.06 ], [ - "2014-01-05", - 280 + "2025-05-14", + 103545.38 ], [ - "2014-01-06", - 280 + "2025-05-15", + 103786.43 ], [ - "2014-01-07", - 280 + "2025-05-16", + 103500.03 ], [ - "2014-01-08", - 280 + "2025-05-17", + 103161.07 ], [ - "2014-01-09", - 280 + "2025-05-18", + 106473.46 ], [ - "2014-01-10", - 280 + "2025-05-19", + 105616.18 ], [ - "2014-01-11", - 280 + "2025-05-20", + 106883.24 ], [ - "2014-01-12", - 280 + "2025-05-21", + 109699.54 ], [ - "2014-01-13", - 280 + "2025-05-22", + 111722.53 ], [ - "2014-01-14", - 280 + "2025-05-23", + 107329.61 ], [ - "2014-01-15", - 280 + "2025-05-24", + 107794.01 ], [ - "2014-01-16", - 280 + "2025-05-25", + 109048.68 ], [ - "2014-01-17", - 280 + "2025-05-26", + 109464.32 ], [ - "2014-01-18", - 280 + "2025-05-27", + 108978.46 ], [ - "2014-01-19", - 280 + "2025-05-28", + 107819.29 ], [ - "2014-01-20", - 280 + "2025-05-29", + 105572.58 ], [ - "2014-01-21", - 280 + "2025-05-30", + 104033.26 ], [ - "2014-01-22", - 280 + "2025-05-31", + 104645.87 ], [ - "2014-01-23", - 280 + "2025-06-01", + 105697.94 ], [ - "2014-01-24", - 280 + "2025-06-02", + 105904.94 ], [ - "2014-01-25", - 280 + "2025-06-03", + 105447.82 ], [ - "2014-01-26", - 280 + "2025-06-04", + 104753.38 ], [ - "2014-01-27", - 280 + "2025-06-05", + 101570.2 ], [ - "2014-01-28", - 280 + "2025-06-06", + 104397.99 ], [ - "2014-01-29", - 280 + "2025-06-07", + 105619.02 ], [ - "2014-01-30", - 280 + "2025-06-08", + 105784.4 ], [ - "2014-01-31", - 280 + "2025-06-09", + 110301.15 ], [ - "2014-02-01", - 280 + "2025-06-10", + 110300.24 ], [ - "2014-02-02", - 280 + "2025-06-11", + 108669.37 ], [ - "2014-02-03", - 280 + "2025-06-12", + 105721.05 ], [ - "2014-02-04", - 280 + "2025-06-13", + 106118.7 ], [ - "2014-02-05", - 280 + "2025-06-14", + 105465.42 ], [ - "2014-02-06", - 280 + "2025-06-15", + 105599.25 ], [ - "2014-02-07", - 280 + "2025-06-16", + 106853.38 ], [ - "2014-02-08", - 280 + "2025-06-17", + 104590.44 ], [ - "2014-02-09", - 280 + "2025-06-18", + 104915.6 ], [ - "2014-02-10", - 280 + "2025-06-19", + 104671.9 ], [ - "2014-02-11", - 280 + "2025-06-20", + 103317.8 ], [ - "2014-02-12", - 280 + "2025-06-21", + 102160.03 ], [ - "2014-02-13", - 280 + "2025-06-22", + 100996.87 ], [ - "2014-02-14", - 280 + "2025-06-23", + 105419.39 ], [ - "2014-02-15", - 280 + "2025-06-24", + 106141 ], [ - "2014-02-16", - 280 + "2025-06-25", + 107400.22 ], [ - "2014-02-17", - 280 + "2025-06-26", + 107029.64 ], [ - "2014-02-18", - 280 + "2025-06-27", + 107113.38 ], [ - "2014-02-19", - 280 + "2025-06-28", + 107352.2 ], [ - "2014-02-20", - 280 + "2025-06-29", + 108386.44 ], [ - "2014-02-21", - 280 + "2025-06-30", + 107173.21 ], [ - "2014-02-22", - 280 + "2025-07-01", + 105711.78 ], [ - "2014-02-23", - 280 + "2025-07-02", + 108888.32 ], [ - "2014-02-24", - 280 + "2025-07-03", + 109628.83 ], [ - "2014-02-25", - 280 + "2025-07-04", + 108028.6 ], [ - "2014-02-26", - 280 + "2025-07-05", + 108246.65 ], [ - "2014-02-27", - 280 + "2025-07-06", + 109217.98 ], [ - "2014-02-28", - 280 + "2025-07-07", + 108269.84 ], [ - "2014-03-01", - 280 + "2025-07-08", + 108958.04 ], [ - "2014-03-02", - 280 + "2025-07-09", + 111282.85 ], [ - "2014-03-03", - 280 + "2025-07-10", + 116031.3 ], [ - "2014-03-04", - 280 + "2025-07-11", + 117582.16 ], [ - "2014-03-05", - 280 + "2025-07-12", + 117472.65 ], [ - "2014-03-06", - 280 + "2025-07-13", + 119130.81 ], [ - "2014-03-07", - 280 + "2025-07-14", + 119863.71 ], [ - "2014-03-08", - 280 + "2025-07-15", + 117781.64 ], [ - "2014-03-09", - 280 + "2025-07-16", + 118681.68 ], [ - "2014-03-10", - 280 + "2025-07-17", + 119273.69 ], [ - "2014-03-11", - 280 + "2025-07-18", + 118023.05 ], [ - "2014-03-12", - 280 + "2025-07-19", + 117914.17 ], [ - "2014-03-13", - 280 + "2025-07-20", + 117312.7 ], [ - "2014-03-14", - 280 + "2025-07-21", + 117428.79 ], [ - "2014-03-15", - 280 + "2025-07-22", + 120026.42 ], [ - "2014-03-16", - 280 + "2025-07-23", + 118810.44 ], [ - "2014-03-17", - 280 + "2025-07-24", + 118397.04 ], [ - "2014-03-18", - 280 + "2025-07-25", + 117633.27 ], [ - "2014-03-19", - 280 + "2025-07-26", + 117969.63 ], [ - "2014-03-20", - 280 + "2025-07-27", + 119465.52 ], [ - "2014-03-21", - 280 + "2025-07-28", + 118070.59 ], [ - "2014-03-22", - 280 + "2025-07-29", + 117933.39 ], [ - "2014-03-23", - 280 + "2025-07-30", + 117830.15 ], [ - "2014-03-24", - 280 + "2025-07-31", + 115761.13 ], [ - "2014-03-25", - 280 + "2025-08-01", + 113248.73 ], [ - "2014-03-26", - 280 + "2025-08-02", + 112542.74 ], [ - "2014-03-27", - 280 + "2025-08-03", + 114215.73 ], [ - "2014-03-28", - 280 + "2025-08-04", + 115051.85 ], [ - "2014-03-29", - 280 + "2025-08-05", + 114112.95 ], [ - "2014-03-30", - 280 + "2025-08-06", + 115028.83 ], [ - "2014-03-31", - 280 + "2025-08-07", + 117515.49 ], [ - "2014-04-01", - 280 + "2025-08-08", + 116683.79 ], [ - "2014-04-02", - 280 + "2025-08-09", + 116492.51 ], [ - "2014-04-03", - 280 + "2025-08-10", + 119309.37 ], [ - "2014-04-04", - 280 + "2025-08-11", + 118701.84 ], [ - "2014-04-05", - 280 + "2025-08-12", + 120113.18 ], [ - "2014-04-06", - 280 + "2025-08-13", + 123365.63 ], [ - "2014-04-07", - 280 + "2025-08-14", + 118389.79 ], [ - "2014-04-08", - 280 + "2025-08-15", + 117436.96 ], [ - "2014-04-09", - 280 + "2025-08-16", + 117455.68 ], [ - "2014-04-10", - 280 + "2025-08-17", + 117488.6 ], [ - "2014-04-11", - 280 + "2025-08-18", + 116286.76 ], [ - "2014-04-12", - 280 + "2025-08-19", + 112856.19 ], [ - "2014-04-13", - 280 + "2025-08-20", + 114276 ], [ - "2014-04-14", - 280 + "2025-08-21", + 112480.3 ], [ - "2014-04-15", - 280 + "2025-08-22", + 116908.68 ], [ - "2014-04-16", - 280 + "2025-08-23", + 115383.87 ], [ - "2014-04-17", - 280 + "2025-08-24", + 113478 ], [ - "2014-04-18", - 280 + "2025-08-25", + 110127.74 ], [ - "2014-04-19", - 280 + "2025-08-26", + 111788.01 ], [ - "2014-04-20", - 280 + "2025-08-27", + 111253.21 ], [ - "2014-04-21", - 280 + "2025-08-28", + 112574.85 ], [ - "2014-04-22", - 280 + "2025-08-29", + 108378.32 ], [ - "2014-04-23", - 280 + "2025-08-30", + 108827.93 ], [ - "2014-04-24", - 280 + "2025-08-31", + 108247.95 ], [ - "2014-04-25", - 280 + "2025-09-01", + 109240.55 ], [ - "2014-04-26", - 280 + "2025-09-02", + 111247.94 ], [ - "2014-04-27", - 280 + "2025-09-03", + 111756.41 ], [ - "2014-04-28", - 280 + "2025-09-04", + 110720.79 ], [ - "2014-04-29", - 280 + "2025-09-05", + 110670.02 ], [ - "2014-04-30", - 280 + "2025-09-06", + 110212.6 ], [ - "2014-05-01", - 280 + "2025-09-07", + 111129.61 ], [ - "2014-05-02", - 280 + "2025-09-08", + 112072.57 ], [ - "2014-05-03", - 280 + "2025-09-09", + 111549.32 ], [ - "2014-05-04", - 280 + "2025-09-10", + 113983.97 ], [ - "2014-05-05", - 280 + "2025-09-11", + 115540 ], [ - "2014-05-06", - 280 + "2025-09-12", + 116106.03 ], [ - "2014-05-07", - 280 + "2025-09-13", + 115968.35 ], [ - "2014-05-08", - 280 + "2025-09-14", + 115314.13 ], [ - "2014-05-09", - 280 + "2025-09-15", + 115381.08 ], [ - "2014-05-10", - 280 + "2025-09-16", + 116832.56 ], [ - "2014-05-11", - 280 + "2025-09-17", + 116484.4 ], [ - "2014-05-12", - 280 + "2025-09-18", + 117117.99 ], [ - "2014-05-13", - 280 + "2025-09-19", + 115690.55 ], [ - "2014-05-14", - 280 + "2025-09-20", + 115752.4 ], [ - "2014-05-15", - 280 + "2025-09-21", + 115282.27 ], [ - "2014-05-16", - 280 + "2025-09-22", + 112736.59 ], [ - "2014-05-17", - 280 + "2025-09-23", + 112017.21 ], [ - "2014-05-18", - 280 + "2025-09-24", + 113348.17 ], [ - "2014-05-19", - 280 + "2025-09-25", + 109035.72 ], [ - "2014-05-20", - 280 + "2025-09-26", + 109697.29 ], [ - "2014-05-21", - 280 + "2025-09-27", + 109681.16 ], [ - "2014-05-22", - 280 + "2025-09-28", + 112197.67 ], [ - "2014-05-23", - 280 + "2025-09-29", + 114365.07 ], [ - "2014-05-24", - 280 + "2025-09-30", + 114067.71 ], [ - "2014-05-25", - 280 + "2025-10-01", + 118659.97 ], [ - "2014-05-26", - 280 + "2025-10-02", + 120621.32 ], [ - "2014-05-27", - 280 + "2025-10-03", + 122318.4 ], [ - "2014-05-28", - 280 + "2025-10-04", + 122458.56 ], [ - "2014-05-29", - 280 + "2025-10-05", + 123520.79 ], [ - "2014-05-30", - 280 + "2025-10-06", + 124720.09 ], [ - "2014-05-31", - 280 + "2025-10-07", + 121393.95 ], [ - "2014-06-01", - 280 + "2025-10-08", + 123343.25 ], [ - "2014-06-02", - 280 + "2025-10-09", + 121714.51 ], [ - "2014-06-03", - 280 + "2025-10-10", + 112980.28 ], [ - "2014-06-04", - 280 + "2025-10-11", + 110768.89 ], [ - "2014-06-05", - 280 + "2025-10-12", + 115067.98 ], [ - "2014-06-06", - 280 + "2025-10-13", + 115274.03 ], [ - "2014-06-07", - 280 + "2025-10-14", + 113068 ], [ - "2014-06-08", - 280 + "2025-10-15", + 110804.12 ], [ - "2014-06-09", - 280 + "2025-10-16", + 108198 ], [ - "2014-06-10", - 280 + "2025-10-17", + 106463.3 ], [ - "2014-06-11", - 280 + "2025-10-18", + 107208.91 ], [ - "2014-06-12", - 280 + "2025-10-19", + 108676.78 ], [ - "2014-06-13", - 280 + "2025-10-20", + 110568.06 ], [ - "2014-06-14", - 280 + "2025-10-21", + 108362.27 ], [ - "2014-06-15", - 280 + "2025-10-22", + 107585.98 ], [ - "2014-06-16", - 280 + "2025-10-23", + 110116.03 ], [ - "2014-06-17", - 280 + "2025-10-24", + 111042.13 ], [ - "2014-06-18", - 280 + "2025-10-25", + 111666.21 ], [ - "2014-06-19", - 280 + "2025-10-26", + 114548.09 ], [ - "2014-06-20", - 280 + "2025-10-27", + 114087.06 ], [ - "2014-06-21", - 280 + "2025-10-28", + 112906.75 ], [ - "2014-06-22", - 280 + "2025-10-29", + 110032.13 ], [ - "2014-06-23", - 280 + "2025-10-30", + 108308.18 ], [ - "2014-06-24", - 280 + "2025-10-31", + 109555.27 ], [ - "2014-06-25", - 280 + "2025-11-01", + 110052.25 ], [ - "2014-06-26", - 280 + "2025-11-02", + 110536.01 ], [ - "2014-06-27", - 280 + "2025-11-03", + 106557.98 ], [ - "2014-06-28", - 280 + "2025-11-04", + 101468.15 ], [ - "2014-06-29", - 280 + "2025-11-05", + 103869 ], [ - "2014-06-30", - 280 + "2025-11-06", + 101290.5 ], [ - "2014-07-01", - 280 + "2025-11-07", + 103284.27 ], [ - "2014-07-02", - 280 + "2025-11-08", + 102285.57 ], [ - "2014-07-03", - 280 + "2025-11-09", + 104694.95 ], [ - "2014-07-04", - 280 + "2025-11-10", + 105979.38 ], [ - "2014-07-05", - 280 + "2025-11-11", + 103009.35 ], [ - "2014-07-06", - 280 + "2025-11-12", + 101639.01 ], [ - "2014-07-07", - 280 + "2025-11-13", + 99614.54 ], [ - "2014-07-08", - 280 + "2025-11-14", + 94503.96 ], [ - "2014-07-09", - 280 + "2025-11-15", + 95544.94 ], [ - "2014-07-10", - 280 + "2025-11-16", + 94183.97 ], [ - "2014-07-11", - 280 + "2025-11-17", + 92100.6 ], [ - "2014-07-12", - 280 + "2025-11-18", + 92914.46 ], [ - "2014-07-13", - 280 + "2025-11-19", + 91461.6 ], [ - "2014-07-14", - 280 + "2025-11-20", + 86536.88 ], [ - "2014-07-15", - 280 + "2025-11-21", + 85068.88 ], [ - "2014-07-16", - 280 + "2025-11-22", + 84684 ], [ - "2014-07-17", - 280 + "2025-11-23", + 86808.28 ], [ - "2014-07-18", - 280 + "2025-11-24", + 88266.2 ], [ - "2014-07-19", - 280 + "2025-11-25", + 87325.01 ], [ - "2014-07-20", - 280 + "2025-11-26", + 90468.84 ], [ - "2014-07-21", - 280 + "2025-11-27", + 91316.7 ], [ - "2014-07-22", - 280 + "2025-11-28", + 90902.7 ], [ - "2014-07-23", - 280 + "2025-11-29", + 90828.06 ], [ - "2014-07-24", - 280 + "2025-11-30", + 90369.51 ], [ - "2014-07-25", - 280 + "2025-12-01", + 86282.36 ], [ - "2014-07-26", - 280 + "2025-12-02", + 91308.05 ], [ - "2014-07-27", - 280 + "2025-12-03", + 93453.84 ], [ - "2014-07-28", - 280 + "2025-12-04", + 92093.54 ], [ - "2014-07-29", - 280 + "2025-12-05", + 89345.29 ], [ - "2014-07-30", - 280 + "2025-12-06", + 89267.97 ], [ - "2014-07-31", - 280 + "2025-12-07", + 90402.29 ], [ - "2014-08-01", - 280 + "2025-12-08", + 90653.86 ], [ - "2014-08-02", - 280 + "2025-12-09", + 92690 ], [ - "2014-08-03", - 280 + "2025-12-10", + 92035.99 ], [ - "2014-08-04", - 280 + "2025-12-11", + 92542 ], [ - "2014-08-05", - 280 + "2025-12-12", + 90278 ], [ - "2014-08-06", - 280 + "2025-12-13", + 90255.32 ], [ - "2014-08-07", - 280 + "2025-12-14", + 88171.61 ], [ - "2014-08-08", - 280 + "2025-12-15", + 86417.5 ], [ - "2014-08-09", - 280 + "2025-12-16", + 87854.01 ], [ - "2014-08-10", - 280 + "2025-12-17", + 86209.77 ], [ - "2014-08-11", - 280 + "2025-12-18", + 85460.02 ], [ - "2014-08-12", - 280 + "2025-12-19", + 88092.65 ], [ - "2014-08-13", - 280 + "2025-12-20", + 88324 ], [ - "2014-08-14", - 280 + "2025-12-21", + 88639.95 ], [ - "2014-08-15", - 280 + "2025-12-22", + 88556.77 ], [ - "2014-08-16", - 280 + "2025-12-23", + 87429.32 ], [ - "2014-08-17", - 280 + "2025-12-24", + 87609.03 ], [ - "2014-08-18", - 280 + "2025-12-25", + 87171.68 ], [ - "2014-08-19", - 280 + "2025-12-26", + 87296.01 ], [ - "2014-08-20", - 280 + "2025-12-27", + 87808 ], [ - "2014-08-21", - 280 + "2025-12-28", + 87877.29 ], [ - "2014-08-22", - 280 + "2025-12-29", + 87110.78 ], [ - "2014-08-23", - 280 + "2025-12-30", + 88397.5 ], [ - "2014-08-24", - 280 + "2025-12-31", + 87497.94 ], [ - "2014-08-25", - 280 + "2026-01-01", + 88738.34 ], [ - "2014-08-26", - 280 + "2026-01-02", + 89957.99 ], [ - "2014-08-27", - 280 + "2026-01-03", + 90598.02 ], [ - "2014-08-28", - 280 + "2026-01-04", + 91494 ], [ - "2014-08-29", - 280 + "2026-01-05", + 93870.06 ], [ - "2014-08-30", - 280 + "2026-01-06", + 93722.01 ], [ - "2014-08-31", - 280 + "2026-01-07", + 91279.73 ], [ - "2014-09-01", - 280 + "2026-01-08", + 91026 ], [ - "2014-09-02", - 280 + "2026-01-09", + 90515.45 ], [ - "2014-09-03", - 280 + "2026-01-10", + 90385.54 ], [ - "2014-09-04", - 280 + "2026-01-11", + 90872.01 ], [ - "2014-09-05", - 280 + "2026-01-12", + 91188.09 ], [ - "2014-09-06", - 280 + "2026-01-13", + 95384.23 ], [ - "2014-09-07", - 280 + "2026-01-14", + 96955.16 ], [ - "2014-09-08", - 280 + "2026-01-15", + 95587.65 ], [ - "2014-09-09", - 280 + "2026-01-16", + 95504 ], [ - "2014-09-10", - 280 + "2026-01-17", + 95109.99 ], [ - "2014-09-11", - 280 + "2026-01-18", + 93633.53 ], [ - "2014-09-12", - 280 + "2026-01-19", + 92559.66 ], [ - "2014-09-13", - 280 + "2026-01-20", + 88310.6 ], [ - "2014-09-14", - 280 + "2026-01-21", + 89363.71 ], [ - "2014-09-15", - 280 + "2026-01-22", + 89463.5 ], [ - "2014-09-16", - 280 + "2026-01-23", + 89474.93 ], [ - "2014-09-17", - 280 + "2026-01-24", + 89082.17 ], [ - "2014-09-18", - 280 + "2026-01-25", + 86561.94 ], [ - "2014-09-19", - 280 + "2026-01-26", + 88250.01 ], [ - "2014-09-20", - 280 + "2026-01-27", + 89116.96 ], [ - "2014-09-21", - 280 + "2026-01-28", + 89162.4 ], [ - "2014-09-22", - 280 + "2026-01-29", + 84513.2 ], [ - "2014-09-23", - 280 + "2026-01-30", + 84110.99 ], [ - "2014-09-24", - 280 + "2026-01-31", + 78648 ], [ - "2014-09-25", - 280 + "2026-02-01", + 76895.53 ], [ - "2014-09-26", - 280 + "2026-02-02", + 78666.85 ], [ - "2014-09-27", - 280 + "2026-02-03", + 75661.49 ], [ - "2014-09-28", - 280 + "2026-02-04", + 72998 ], [ - "2014-09-29", - 280 + "2026-02-05", + 62791 ], [ - "2014-09-30", - 280 + "2026-02-06", + 70527.7 ], [ - "2014-10-01", - 280 + "2026-02-07", + 69244.74 ], [ - "2014-10-02", - 280 + "2026-02-08", + 70279.33 ], [ - "2014-10-03", - 280 + "2026-02-09", + 70101.99 ], [ - "2014-10-04", - 280 + "2026-02-10", + 68803.65 ], [ - "2014-10-05", - 280 + "2026-02-11", + 67024.93 ], [ - "2014-10-06", - 280 + "2026-02-12", + 66208 ], [ - "2014-10-07", - 280 + "2026-02-13", + 68812 ], [ - "2014-10-08", - 280 + "2026-02-14", + 69786.96 ], [ - "2014-10-09", - 280 + "2026-02-15", + 68792 ], [ - "2014-10-10", - 280 + "2026-02-16", + 68858.13 ], [ - "2014-10-11", - 280 + "2026-02-17", + 67466.7 ], [ - "2014-10-12", - 280 + "2026-02-18", + 66419.79 ], [ - "2014-10-13", - 280 + "2026-02-19", + 66972.5 ], [ - "2014-10-14", - 280 + "2026-02-20", + 67984.42 ], [ - "2014-10-15", - 280 + "2026-02-21", + 67955.78 ], [ - "2014-10-16", - 280 + "2026-02-22", + 67617.98 ], [ - "2014-10-17", - 280 + "2026-02-23", + 64625.78 ], [ - "2014-10-18", - 280 + "2026-02-24", + 64068.33 ], [ - "2014-10-19", - 280 + "2026-02-25", + 67992.68 ], [ - "2014-10-20", - 280 + "2026-02-26", + 67490.51 ], [ - "2014-10-21", - 280 + "2026-02-27", + 65859.94 ], [ - "2014-10-22", - 280 + "2026-02-28", + 66967.85 ], [ - "2014-10-23", - 280 + "2026-03-01", + 65769 ], [ - "2014-10-24", - 280 + "2026-03-02", + 68832.01 ], [ - "2014-10-25", - 280 + "2026-03-03", + 68335.99 ], [ - "2014-10-26", - 280 + "2026-03-04", + 72683.26 ], [ - "2014-10-27", - 280 + "2026-03-05", + 70887.6 ], [ - "2014-10-28", - 280 + "2026-03-06", + 68108.24 ], [ - "2014-10-29", - 280 + "2026-03-07", + 67259.62 ], [ - "2014-10-30", - 280 + "2026-03-08", + 65970.56 ], [ - "2014-10-31", - 280 + "2026-03-09", + 68432.17 ], [ - "2014-11-01", - 280 + "2026-03-10", + 69960.83 ], [ - "2014-11-02", - 280 + "2026-03-11", + 70208 ], [ - "2014-11-03", - 280 + "2026-03-12", + 70531.56 ], [ - "2014-11-04", - 280 + "2026-03-13", + 70944.33 ], [ - "2014-11-05", - 280 + "2026-03-14", + 71232.02 ], [ - "2014-11-06", - 280 + "2026-03-15", + 72830.01 ], [ - "2014-11-07", - 280 + "2026-03-16", + 74886.47 ], [ - "2014-11-08", - 280 + "2026-03-17", + 73934.11 ], [ - "2014-11-09", - 280 + "2026-03-18", + 71245.02 ], [ - "2014-11-10", - 280 + "2026-03-19", + 69918.3 ], [ - "2014-11-11", - 280 + "2026-03-20", + 70497.01 ], [ - "2014-11-12", - 280 + "2026-03-21", + 68912.02 ], [ - "2014-11-13", - 280 + "2026-03-22", + 67844.94 ], [ - "2014-11-14", - 280 + "2026-03-23", + 70874.23 ], [ - "2014-11-15", - 280 + "2026-03-24", + 70533.49 ], [ - "2014-11-16", - 280 + "2026-03-25", + 71301.53 ], [ - "2014-11-17", - 280 + "2026-03-26", + 68769.02 ], [ - "2014-11-18", - 280 + "2026-03-27", + 66353.34 ], [ - "2014-11-19", - 280 + "2026-03-28", + 66320.15 ], [ - "2014-11-20", - 280 + "2026-03-29", + 65956.94 ], [ - "2014-11-21", - 280 + "2026-03-30", + 66737.18 ], [ - "2014-11-22", - 280 + "2026-03-31", + 68221.85 ], [ - "2014-11-23", - 280 + "2026-04-01", + 68112.35 ], [ - "2014-11-24", - 280 + "2026-04-02", + 66894.48 ], [ - "2014-11-25", - 280 + "2026-04-03", + 66959.99 ], [ - "2014-11-26", - 280 + "2026-04-04", + 67291.73 ], [ - "2014-11-27", - 280 + "2026-04-05", + 69005 ], [ - "2014-11-28", - 280 + "2026-04-06", + 68853.61 ], [ - "2014-11-29", - 280 + "2026-04-07", + 71910.2 ], [ - "2014-11-30", - 280 + "2026-04-08", + 71085.99 ], [ - "2014-12-01", - 280 + "2026-04-09", + 71798.01 ], [ - "2014-12-02", - 280 + "2026-04-10", + 72997.88 ], [ - "2014-12-03", - 280 + "2026-04-11", + 73086 ], [ - "2014-12-04", - 280 + "2026-04-12", + 70755.35 ], [ - "2014-12-05", - 280 + "2026-04-13", + 74446 ], [ - "2014-12-06", - 280 + "2026-04-14", + 74179.04 ], [ - "2014-12-07", - 280 + "2026-04-15", + 74836.31 ], [ - "2014-12-08", - 280 + "2026-04-16", + 75163.09 ], [ - "2014-12-09", - 280 + "2026-04-17", + 77098.01 ], [ - "2014-12-10", - 280 + "2026-04-18", + 75736.82 ], [ - "2014-12-11", - 280 + "2026-04-19", + 73823.14 ], [ - "2014-12-12", - 280 + "2026-04-20", + 75864.86 ], [ - "2014-12-13", - 280 + "2026-04-21", + 76348.58 ], [ - "2014-12-14", - 280 + "2026-04-22", + 78208.52 ], [ - "2014-12-15", - 280 + "2026-04-23", + 78281.32 ], [ - "2014-12-16", - 280 + "2026-04-24", + 77461.8 ], [ - "2014-12-17", - 280 + "2026-04-25", + 77650.72 ], [ - "2014-12-18", - 280 + "2026-04-26", + 78673.83 ], [ - "2014-12-19", - 280 + "2026-04-27", + 77364.42 ], [ - "2014-12-20", - 280 + "2026-04-28", + 76317.99 ], [ - "2014-12-21", - 280 + "2026-04-29", + 75752.88 ], [ - "2014-12-22", - 280 + "2026-04-30", + 76305.78 ], [ - "2014-12-23", - 280 + "2026-05-01", + 78234.05 ], [ - "2014-12-24", - 280 + "2026-05-02", + 78682.31 ], [ - "2014-12-25", - 280 + "2026-05-03", + 78558.89 ], [ - "2014-12-26", - 280 + "2026-05-04", + 79852.37 ], [ - "2014-12-27", - 280 + "2026-05-05", + 80907.72 ], [ - "2014-12-28", - 280 + "2026-05-06", + 81438.1 ], [ - "2014-12-29", - 280 + "2026-05-07", + 80005.38 ], [ - "2014-12-30", - 280 + "2026-05-08", + 80188.82 ], [ - "2014-12-31", - 280 + "2026-05-09", + 80655.96 ], [ - "2015-01-01", - 280 + "2026-05-10", + 82199.99 ], [ - "2015-01-02", - 280 + "2026-05-11", + 81727.06 ], [ - "2015-01-03", - 280 + "2026-05-12", + 80484.72 ], [ - "2015-01-04", - 280 + "2026-05-13", + 79288.26 ], [ - "2015-01-05", - 280 + "2026-05-14", + 81079.39 ], [ - "2015-01-06", - 280 + "2026-05-15", + 79058.51 ], [ - "2015-01-07", - 280 + "2026-05-16", + 78105.45 ], [ - "2015-01-08", - 280 + "2026-05-17", + 77407.59 ], [ - "2015-01-09", - 280 + "2026-05-18", + 76943.98 ], [ - "2015-01-10", - 280 + "2026-05-19", + 76767.48 ], [ - "2015-01-11", - 280 + "2026-05-20", + 77475.99 ], [ - "2015-01-12", - 280 + "2026-05-21", + 77547.62 ], [ - "2015-01-13", - 280 + "2026-05-22", + 75443.91 ], [ - "2015-01-14", - 280 + "2026-05-23", + 76650 ], [ - "2015-01-15", - 280 + "2026-05-24", + 76975.99 ], [ - "2015-01-16", - 280 + "2026-05-25", + 77249.07 ], [ - "2015-01-17", - 280 + "2026-05-26", + 75826.1 ], [ - "2015-01-18", - 280 + "2026-05-27", + 74315.98 ], [ - "2015-01-19", - 280 + "2026-05-28", + 73512.56 ], [ - "2015-01-20", - 280 + "2026-05-29", + 73366.77 ], [ - "2015-01-21", - 280 + "2026-05-30", + 73770.69 ], [ - "2015-01-22", - 280 + "2026-05-31", + 73575.17 ], [ - "2015-01-23", - 280 + "2026-06-01", + 71314.42 ], [ - "2015-01-24", - 280 + "2026-06-02", + 66658.35 ], [ - "2015-01-25", - 280 + "2026-06-03", + 64040 ], [ - "2015-01-26", - 280 + "2026-06-04", + 63806.02 ], [ - "2015-01-27", - 280 + "2026-06-05", + 61032 ], [ - "2015-01-28", - 280 + "2026-06-06", + 60850.48 ], [ - "2015-01-29", - 280 + "2026-06-07", + 63302.73 ], [ - "2015-01-30", - 280 + "2026-06-08", + 63062.98 ], [ - "2015-01-31", - 280 + "2026-06-09", + 61685.8 ], [ - "2015-02-01", - 280 + "2026-06-10", + 61449.46 ], [ - "2015-02-02", - 280 + "2026-06-11", + 63563.42 ], [ - "2015-02-03", - 280 + "2026-06-12", + 63538.43 ], [ - "2015-02-04", - 280 + "2026-06-13", + 64429.99 ], [ - "2015-02-05", - 280 + "2026-06-14", + 65706.62 ], [ - "2015-02-06", - 280 + "2026-06-15", + 66276.8 ], [ - "2015-02-07", - 280 + "2026-06-16", + 65616.64 ], [ - "2015-02-08", - 280 + "2026-06-17", + 64446.04 ], [ - "2015-02-09", - 280 + "2026-06-18", + 62879.01 ], [ - "2015-02-10", - 280 + "2026-06-19", + 63475.2 ], [ - "2015-02-11", - 280 + "2026-06-20", + 64222.99 ], [ - "2015-02-12", - 280 + "2026-06-21", + 63235.63 ], [ - "2015-02-13", - 280 + "2026-06-22", + 63950.61 ], [ - "2015-02-14", - 280 + "2026-06-23", + 62644.86 ], [ - "2015-02-15", - 280 + "2026-06-24", + 60983.13 ], [ - "2015-02-16", - 280 + "2026-06-25", + 59703.65 ], [ - "2015-02-17", - 280 + "2026-06-26", + 60002.53 ], [ - "2015-02-18", - 280 + "2026-06-27", + 59934.84 ], [ - "2015-02-19", - 280 + "2026-06-28", + 59474.01 ], [ - "2015-02-20", - 280 + "2026-06-29", + 60162.73 ], [ - "2015-02-21", - 280 + "2026-06-30", + 58523.93 ], [ - "2015-02-22", - 280 + "2026-07-01", + 59961.45 ], [ - "2015-02-23", - 280 + "2026-07-02", + 61484.02 ], [ - "2015-02-24", - 280 + "2026-07-03", + 62520.22 ], [ - "2015-02-25", - 280 + "2026-07-04", + 63086.45 ], [ - "2015-02-26", - 280 + "2026-07-05", + 63580.44 ], [ - "2015-02-27", - 280 + "2026-07-06", + 64001.84 ], [ - "2015-02-28", - 280 + "2026-07-07", + 63323.27 ], [ - "2015-03-01", - 280 + "2026-07-08", + 62237.7 ], [ - "2015-03-02", - 280 + "2026-07-09", + 63175.25 ], [ - "2015-03-03", - 280 + "2026-07-10", + 64128.49 ], [ - "2015-03-04", - 280 + "2026-07-11", + 63773.04 ], [ - "2015-03-05", - 280 + "2026-07-12", + 63740.32 ], [ - "2015-03-06", - 280 + "2026-07-13", + 62264.94 ], [ - "2015-03-07", - 280 + "2026-07-14", + 64988.64 ], [ - "2015-03-08", - 280 + "2026-07-15", + 64716.63 ], [ - "2015-03-09", - 280 + "2026-07-16", + 63770.6 ], [ - "2015-03-10", - 280 + "2026-07-17", + 63894 ], [ - "2015-03-11", - 280 + "2026-07-18", + 64796.36 ], [ - "2015-03-12", - 280 + "2026-07-19", + 64681.78 ], [ - "2015-03-13", - 280 + "2026-07-20", + 65213.05 ], [ - "2015-03-14", - 280 + "2026-07-21", + 66516.18 ], [ - "2015-03-15", - 280 + "2026-07-22", + 66086.61 ], [ - "2015-03-16", - 280 + "2026-07-23", + 65051.23 ], [ - "2015-03-17", - 280 + "2026-07-24", + 64083.32 ], [ - "2015-03-18", - 280 + "2026-07-25", + 64295.61 ], [ - "2015-03-19", - 280 + "2026-07-26", + 65341.07 ], [ - "2015-03-20", - 280 + "2026-07-27", + 63694.43 ], [ - "2015-03-21", - 280 + "2026-07-28", + 63847.12 ], [ - "2015-03-22", - 280 + "2026-07-29", + 63896.14 ], [ - "2015-03-23", - 280 + "2026-07-30", + 64721.9 ], [ - "2015-03-24", - 280 + "2026-07-31", + 62825.9 ], [ - "2015-03-25", - 280 + "2026-08-01", + 62764.2 ], [ - "2015-03-26", - 280 + "2026-08-02", + 63499.49 ], [ - "2015-03-27", - 280 + "2026-08-03", + 63466.51 ], [ - "2015-03-28", - 280 + "2026-08-04", + 64050.51 ], [ - "2015-03-29", - 280 + "2026-08-05", + 64603.03 ], [ - "2015-03-30", - 280 + "2026-08-06", + 64267.3 ], [ - "2015-03-31", - 280 + "2026-08-07", + 64891.61 ], [ - "2015-04-01", - 280 + "2026-08-08", + 64908.72 ], [ - "2015-04-02", - 280 + "2026-08-09", + 64848.69 ], [ - "2015-04-03", - 280 + "2026-08-10", + 63911.88 ], [ - "2015-04-04", - 280 + "2026-08-11", + 63531.75 ], [ - "2015-04-05", - 280 + "2026-08-12", + 63411.72 ], [ - "2015-04-06", - 280 + "2026-08-13", + 63425.35 ], [ - "2015-04-07", - 280 + "2026-08-14", + 62975.19 ], [ - "2015-04-08", - 280 + "2026-08-15", + 63018.75 ], [ - "2015-04-09", - 280 + "2026-08-16", + 62836.66 ], [ - "2015-04-10", - 280 + "2026-08-17", + 64484.18 ], [ - "2015-04-11", - 280 + "2026-08-18", + 64681.33 ], [ - "2015-04-12", - 280 + "2026-08-19", + 69300.01 ], [ - "2015-04-13", - 280 + "2026-08-20", + 73011.87 ], [ - "2015-04-14", - 280 + "2026-08-21", + 78325.54 ], [ - "2015-04-15", - 280 + "2026-08-22", + 77054.44 ], [ - "2015-04-16", - 280 + "2026-08-23", + 77729.36 ], [ - "2015-04-17", - 280 + "2026-08-24", + 78981.59 ], [ - "2015-04-18", - 280 + "2026-08-25", + 78526.8 ], [ - "2015-04-19", - 280 + "2026-08-26", + 79026.18 ], [ - "2015-04-20", - 280 + "2026-08-27", + 80275.34 ], [ - "2015-04-21", - 280 + "2026-08-28", + 77839.19 ], [ - "2015-04-22", - 280 + "2026-08-29", + 78233.93 ], [ - "2015-04-23", - 280 + "2026-08-30", + 77665.14 ], [ - "2015-04-24", - 280 + "2026-08-31", + 78562.74 ], [ - "2015-04-25", - 280 + "2026-09-01", + 77398.69 ], [ - "2015-04-26", - 280 + "2026-09-02", + 77307.36 ], [ - "2015-04-27", - 280 + "2026-09-03", + 81263.99 ], [ - "2015-04-28", - 280 + "2026-09-04", + 79675.12 ], [ - "2015-04-29", - 280 + "2026-09-05", + 79831.57 ], [ - "2015-04-30", - 280 + "2026-09-06", + 80339.13 ], [ - "2015-05-01", - 280 + "2026-09-07", + 79091.97 ], [ - "2015-05-02", - 280 + "2026-09-08", + 78447.11 ], [ - "2015-05-03", - 280 + "2026-09-09", + 78283.98 ], [ - "2015-05-04", - 280 + "2026-09-10", + 76536.55 ], [ - "2015-05-05", - 280 + "2026-09-11", + 77208.55 ], [ - "2015-05-06", - 280 + "2026-09-12", + 77262.85 ], [ - "2015-05-07", - 280 + "2026-09-13", + 76799.85 ], [ - "2015-05-08", - 280 + "2026-09-14", + 78175.01 ], [ - "2015-05-09", - 280 + "2026-09-15", + 75584.17 ], [ - "2015-05-10", - 280 + "2026-09-16", + 76144.99 ], [ - "2015-05-11", - 280 + "2026-09-17", + 76348.74 ], [ - "2015-05-12", - 280 + "2026-09-18", + 80875.04 ], [ - "2015-05-13", - 280 + "2026-09-19", + 81233.91 ], [ - "2015-05-14", - 280 + "2026-09-20", + 81159.64 ], [ - "2015-05-15", - 280 + "2026-09-21", + 86594.94 ], [ - "2015-05-16", - 280 + "2026-09-22", + 86198.05 ], [ - "2015-05-17", - 280 + "2026-09-23", + 84378.31 ], [ - "2015-05-18", - 280 + "2026-09-24", + 84385.46 ], [ - "2015-05-19", - 280 + "2026-09-25", + 84093.13 ], [ - "2015-05-20", - 280 + "2026-09-26", + 84416.65 ], [ - "2015-05-21", - 280 + "2026-09-27", + 84462.14 ], [ - "2015-05-22", - 280 + "2026-09-28", + 83456.74 ], [ - "2015-05-23", - 280 + "2026-09-29", + 83638.42 ], [ - "2015-05-24", - 280 + "2026-09-30", + 83556.14 ], [ - "2015-05-25", - 280 + "2026-10-01", + 84848.73 ], [ - "2015-05-26", - 280 + "2026-10-02", + 84504.88 ], [ - "2015-05-27", - 280 + "2026-10-03", + 84742.22 ], [ - "2015-05-28", - 280 + "2026-10-04", + 86507.11 ], [ - "2015-05-29", - 280 + "2026-10-05", + 85748.96 ], [ - "2015-05-30", - 280 + "2026-10-06", + 85539.77 ], [ - "2015-05-31", - 280 + "2026-10-07", + 83275.06 ], [ - "2015-06-01", - 280 + "2026-10-08", + 81692.79 ], [ - "2015-06-02", - 280 + "2026-10-09", + 82544.71 ], [ - "2015-06-03", - 280 + "2026-10-10", + 82910.8 ], [ - "2015-06-04", - 280 + "2026-10-11", + 83678.29 ], [ - "2015-06-05", - 280 + "2026-10-12", + 81742.5 ], [ - "2015-06-06", - 280 + "2026-10-13", + 83101.99 ], [ - "2015-06-07", - 280 + "2026-10-14", + 81566.29 ], [ - "2015-06-08", - 280 + "2026-10-15", + 82131.46 ], [ - "2015-06-09", - 280 + "2026-10-16", + 81500.04 ], [ - "2015-06-10", - 280 + "2026-10-17", + 81378.21 ], [ - "2015-06-11", - 280 + "2026-10-18", + 82006.85 ], [ - "2015-06-12", - 280 + "2026-10-19", + 81837.69 ], [ - "2015-06-13", - 280 + "2026-10-20", + 82938.26 ], [ - "2015-06-14", - 280 + "2026-10-21", + 84024.67 ], [ - "2015-06-15", - 280 + "2026-10-22", + 81307.16 ], [ - "2015-06-16", - 280 + "2026-10-23", + 81078.04 ], [ - "2015-06-17", - 280 + "2026-10-24", + 80769.67 ], [ - "2015-06-18", - 280 + "2026-10-25", + 80053.16 ], [ - "2015-06-19", - 280 + "2026-10-26", + 80008.79 ], [ - "2015-06-20", - 280 + "2026-10-27", + 80799.51 ], [ - "2015-06-21", - 280 + "2026-10-28", + 81249.31 ], [ - "2015-06-22", - 280 + "2026-10-29", + 77780.33 ], [ - "2015-06-23", - 280 + "2026-10-30", + 77180.42 ], [ - "2015-06-24", - 280 + "2026-10-31", + 77423.98 ], [ - "2015-06-25", - 280 + "2026-11-01", + 78230.55 ], [ - "2015-06-26", - 280 + "2026-11-02", + 76674.13 ], [ - "2015-06-27", - 280 + "2026-11-03", + 77336.75 ], [ - "2015-06-28", - 280 + "2026-11-04", + 80428.31 ], [ - "2015-06-29", - 280 + "2026-11-05", + 75969.06 ], [ - "2015-06-30", - 280 + "2026-11-06", + 75731.04 ], [ - "2015-07-01", - 280 + "2026-11-07", + 75753.96 ], [ - "2015-07-02", - 280 + "2026-11-08", + 74754.08 ], [ - "2015-07-03", - 280 + "2026-11-09", + 75259.28 ], [ - "2015-07-04", - 280 + "2026-11-10", + 73697.87 ], [ - "2015-07-05", - 280 + "2026-11-11", + 73927.63 ], [ - "2015-07-06", - 280 + "2026-11-12", + 71369.9 ], [ - "2015-07-07", - 280 + "2026-11-13", + 68236.54 ], [ - "2015-07-08", - 280 + "2026-11-14", + 64118.79 ], [ - "2015-07-09", - 280 + "2026-11-15", + 65315.35 ], [ - "2015-07-10", - 280 + "2026-11-16", + 64816.79 ], [ - "2015-07-11", - 280 + "2026-11-17", + 64873.18 ], [ - "2015-07-12", - 280 + "2026-11-18", + 62981.71 ], [ - "2015-07-13", - 280 + "2026-11-19", + 61913.23 ], [ - "2015-07-14", - 280 + "2026-11-20", + 58814.99 ], [ - "2015-07-15", - 280 + "2026-11-21", + 60086 ], [ - "2015-07-16", - 280 + "2026-11-22", + 61163.01 ], [ - "2015-07-17", - 280 + "2026-11-23", + 61189.97 ], [ - "2015-07-18", - 280 + "2026-11-24", + 59740.87 ], [ - "2015-07-19", - 280 + "2026-11-25", + 58698.19 ] ], "intradayPriceHistory": [ [ - "2026-11-24T17", - 59693.71 + "2026-11-25T11", + 58694.49 ], [ - "2026-11-24T16", - 59337.08 + "2026-11-25T10", + 58818.06 ], [ - "2026-11-24T15", - 59642.51 + "2026-11-25T09", + 59000.85 ], [ - "2026-11-24T14", - 60369.74 + "2026-11-25T08", + 59343.65 ], [ - "2026-11-24T13", - 59943.63 + "2026-11-25T07", + 58654.49 ], [ - "2026-11-24T12", - 60412.79 + "2026-11-25T06", + 59150.13 ], [ - "2026-11-24T11", - 60346.68 + "2026-11-25T05", + 59070.95 ], [ - "2026-11-24T10", - 59710.12 + "2026-11-25T04", + 59134.05 ], [ - "2026-11-24T09", - 59908.53 + "2026-11-25T03", + 59330.78 ], [ - "2026-11-24T08", - 60177.96 + "2026-11-25T02", + 59149.44 ], [ - "2026-11-24T07", - 60359.99 + "2026-11-25T01", + 59174.1 ], [ - "2026-11-24T06", - 60396.59 + "2026-11-25T00", + 59569.95 ], [ - "2026-11-24T05", - 60556.32 + "2026-11-24T23", + 59740.87 ], [ - "2026-11-24T04", - 60303.21 + "2026-11-24T22", + 59887.87 ], [ - "2026-11-24T03", - 60257.27 + "2026-11-24T21", + 59817.91 ], [ - "2026-11-24T02", - 60001.98 + "2026-11-24T20", + 59693.65 ], [ - "2026-11-24T01", - 61002.78 + "2026-11-24T19", + 59600.85 ], [ - "2026-11-24T00", - 61241.78 + "2026-11-24T18", + 59803.39 ], [ - "2026-11-23T23", - 61189.97 + "2026-11-24T17", + 60031.46 ], [ - "2026-11-23T22", - 61176.89 + "2026-11-24T16", + 59337.08 ], [ - "2026-11-23T21", - 61261.9 + "2026-11-24T15", + 59642.51 ], [ - "2026-11-23T20", - 61167.12 + "2026-11-24T14", + 60369.74 ], [ - "2026-11-23T19", - 61190.87 + "2026-11-24T13", + 59943.63 ], [ - "2026-11-23T18", - 61311.35 + "2026-11-24T12", + 60412.79 ] ], "historyAvailable": true, - "historyMissingDays": 0, + "historyMissingDays": 1512, "approximationMode": true, "timelineStart": 1306713600000, - "timelineEnd": 1795540813477, - "intradayStart": 1795456800000, - "intradayEnd": 1795540813477, + "timelineEnd": 1795607660465, + "intradayStart": 1795521600000, + "intradayEnd": 1795607660465, "addressSnapshots": [ { "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa", "provider": "Blockstream", - "balanceSats": 5771994666, + "balanceSats": 5772015277, "approximate": true, "detailScope": "ALL", "txEvents": [ + { + "txid": "e40ab03e7f17bd15ea2b35cf1d3c268f2788827364cc8adea64ca1463934dcb7", + "timestamp": 1795561308000, + "confirmed": true, + "receivedSats": 10828, + "sentSats": 0, + "netSats": 10828, + "feeSats": 145, + "feeRateSatVb": 1 + }, + { + "txid": "b45441383b8a8c0a0a4f28d1cb0b5f7c3a3cce1571389dee0fbd3918dbcab3a4", + "timestamp": 1795553928000, + "confirmed": true, + "receivedSats": 9783, + "sentSats": 0, + "netSats": 9783, + "feeSats": 548, + "feeRateSatVb": 2 + }, { "txid": "fcacde696c528733eb786b3889b492d1264a27da9d2444f7d437d7af8a886576", "timestamp": 1795538830000, @@ -27515,26 +21492,6 @@ globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT = Object.freeze({ "netSats": 546, "feeSats": 203, "feeRateSatVb": 1.002469135802469 - }, - { - "txid": "58ed6d21bb96e090d874f3cd620c0c15e45422e3690e7d5a59108458c8994210", - "timestamp": 1792897829000, - "confirmed": true, - "receivedSats": 546, - "sentSats": 0, - "netSats": 546, - "feeSats": 203, - "feeRateSatVb": 1.002469135802469 - }, - { - "txid": "4019327eeed00b5bb0be5a426bcbf01de75c2575ee6e5d9a5a16a98dfbaa6d06", - "timestamp": 1792897829000, - "confirmed": true, - "receivedSats": 546, - "sentSats": 0, - "netSats": 546, - "feeSats": 203, - "feeRateSatVb": 1.002469135802469 } ] }, @@ -31198,7 +25155,7 @@ globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT = Object.freeze({ }, { "address": "1HLoD9E4SDFFPDiYfNYnkBLQ85Y51J3Zb1", - "provider": "Blockstream", + "provider": "Mempool", "balanceSats": 7901811, "approximate": false, "detailScope": "ALL", @@ -31967,7 +25924,7 @@ globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT = Object.freeze({ }, { "address": "1FvzCLoTPGANNjWoUo6jUGuAG3wg1w4YjR", - "provider": "Blockstream", + "provider": "Mempool", "balanceSats": 663817, "approximate": false, "detailScope": "ALL", @@ -32192,16 +26149,6 @@ globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT = Object.freeze({ "feeSats": 7770, "feeRateSatVb": 34.53333333333333 }, - { - "txid": "de77a8950780a2dd00a9de17c6216654ab44338df7633e5952f94e2f7d255fae", - "timestamp": 1713078624000, - "confirmed": true, - "receivedSats": 546, - "sentSats": 0, - "netSats": 546, - "feeSats": 7511, - "feeRateSatVb": 33.41935483870968 - }, { "txid": "46997e09ce2482302d542f04b9d54e2c2c677be39f8f120f75452582a2057e83", "timestamp": 1713078624000, @@ -32212,6 +26159,16 @@ globalThis.BITKIT_VAULT_SATOSHI_SNAPSHOT = Object.freeze({ "feeSats": 10121, "feeRateSatVb": 32.079239302694134 }, + { + "txid": "de77a8950780a2dd00a9de17c6216654ab44338df7633e5952f94e2f7d255fae", + "timestamp": 1713078624000, + "confirmed": true, + "receivedSats": 546, + "sentSats": 0, + "netSats": 546, + "feeSats": 7511, + "feeRateSatVb": 33.41935483870968 + }, { "txid": "5eea063fdb06c9f863cacefc5c8f53e648766e5be3705c1cb5d718f60abdd079", "timestamp": 1710653342000, diff --git a/assets/storage.js b/assets/storage.js new file mode 100644 index 0000000..c930d1e --- /dev/null +++ b/assets/storage.js @@ -0,0 +1,839 @@ +/* Storage module. Dependencies are supplied by app.js; state access is explicit. */ +((root) => { + "use strict"; + function create({ + DEFAULT_WALLET_NAMES, + HOUR_MS, + MAX_RUNTIME_CACHE_STORAGE_BYTES, + MAX_STATE_STORAGE_BYTES, + MAX_TIMELINE_POINTS, + MAX_TRANSACTIONS_PER_ADDRESS, + MAX_WALLETS, + MAX_WATCHED_ADDRESSES, + STORAGE_KEYS, + SUPPORTED_FIAT_CURRENCIES, + buildDailyBalanceTimeline, + buildIntervalBalanceTimeline, + createDefaultFiatExchangeRates, + createDefaultSettings, + createId, + getDataGeneration, + isCurrentGeneration, + isSatoshiAmount, + isStorageSyncing, + isTimestamp, + isValidTxid, + normalizeAddressTags, + normalizeBitcoinAddress, + normalizeBitcoinNotation, + normalizeChartRange, + normalizeDemoSeedKeys, + normalizeFiatCurrency, + normalizeHistoryScope, + normalizeSnapshotDetailScope, + normalizeWalletName, + seedSatoshiDemoWallet, + startOfUtcHour, + toHourKey, + uniqueStrings, + warnStorageFailure + }) { + function buildDefaultState() { + const next = { + groups: DEFAULT_WALLET_NAMES.map((name) => ({ + id: createId("grp"), + name, + })), + addresses: [], + seededDemoWallets: [], + hideBalances: false, + selectedRange: "30D", + settings: createDefaultSettings(), + lastUpdated: null, + satoshiDemoLastRefreshedAt: null, + }; + seedSatoshiDemoWallet(next, { force: true }); + return next; + } + + function loadState() { + const fallback = buildDefaultState(); + let raw = ""; + try { + raw = localStorage.getItem(STORAGE_KEYS.state) || ""; + if (!raw) { + return fallback; + } + + if (getUtf8ByteLength(raw) > MAX_STATE_STORAGE_BYTES) { + throw new Error("Stored state exceeds the supported size."); + } + + return normalizeImportedState(JSON.parse(raw)); + } catch (error) { + const recovered = quarantineStoredState(raw); + return { + ...fallback, + _loadWarning: recovered + ? "Stored Bitkit Watch data could not be loaded. A recovery copy was preserved before defaults were restored." + : "Stored Bitkit Watch data could not be loaded and a recovery copy could not be saved. Defaults were restored.", + }; + } + } + + function saveState(nextState) { + if (isStorageSyncing()) return true; + if (!isCurrentGeneration(getDataGeneration())) return false; + try { + const serialized = JSON.stringify(serializeInternalState(nextState)); + if (getUtf8ByteLength(serialized) > MAX_STATE_STORAGE_BYTES) { + throw new Error("Local watchlist data exceeds the supported size."); + } + localStorage.setItem(STORAGE_KEYS.state, serialized); + return true; + } catch (error) { + warnStorageFailure("Wallet changes could not be saved. This session will continue without persistence."); + return false; + } + } + + function loadRuntimeCache(currentState) { + try { + const raw = localStorage.getItem(STORAGE_KEYS.runtimeCache); + if (!raw) { + return null; + } + + if (getUtf8ByteLength(raw) > MAX_RUNTIME_CACHE_STORAGE_BYTES) { + warnStorageFailure("Cached wallet history is too large to load. Click Refresh to rebuild it."); + return null; + } + + const cached = normalizeRuntimeCache(JSON.parse(raw), currentState); + if (currentState.addresses.some((entry) => entry.needsHistoryRefresh)) { + // Older versions cached zero transaction amounts for uppercase Bech32. + // Persist the pruned cache before the canonicalized watchlist is saved. + if (cached) saveRuntimeCache(cached); + else clearRuntimeCache(); + } + return cached; + } catch (error) { + warnStorageFailure("Cached wallet history could not be loaded. Click Refresh to rebuild it."); + return null; + } + } + + function saveRuntimeCache(currentRuntime) { + if (isStorageSyncing() || !isCurrentGeneration(getDataGeneration())) return; + if (!currentRuntime.addressSnapshots?.length) { + return clearRuntimeCache(); + } + for (const serialized of buildRuntimeCacheCandidates(currentRuntime)) { + try { + const encoded = JSON.stringify(serialized); + if (getUtf8ByteLength(encoded) > MAX_RUNTIME_CACHE_STORAGE_BYTES) { + continue; + } + localStorage.setItem(STORAGE_KEYS.runtimeCache, encoded); + return; + } catch (error) { + if (!isStorageQuotaError(error)) { + break; + } + } + } + + warnStorageFailure("Wallet history could not be cached. This session will continue without persistence."); + } + + function clearRuntimeCache() { + try { + localStorage.removeItem(STORAGE_KEYS.runtimeCache); + } catch (error) { + warnStorageFailure("Cached wallet history could not be deleted from this browser."); + } + } + + function quarantineStoredState(raw) { + if (!raw) { + return false; + } + + try { + localStorage.setItem(STORAGE_KEYS.stateQuarantine, raw); + return true; + } catch (error) { + // Best effort only. The caller still restores a usable default state. + return false; + } + } + + function getUtf8ByteLength(value) { + return new Blob([String(value || "")]).size; + } + + function isStorageQuotaError(error) { + if (!error) { + return false; + } + + return ( + error.name === "QuotaExceededError" || + error.name === "NS_ERROR_DOM_QUOTA_REACHED" || + error.code === 22 || + error.code === 1014 + ); + } + + function serializeInternalState(currentState) { + return { + groups: currentState.groups.map((group) => ({ + id: group.id, + name: group.name, + })), + addresses: currentState.addresses.map((address) => ({ + id: address.id, + address: address.address, + tags: normalizeAddressTags(address.tags), + groupId: address.groupId, + createdAt: address.createdAt, + })), + seededDemoWallets: normalizeDemoSeedKeys(currentState.seededDemoWallets), + hideBalances: currentState.hideBalances, + selectedRange: normalizeChartRange(currentState.selectedRange), + settings: { + activeWalletId: currentState.settings.activeWalletId || null, + activeAddressId: currentState.settings.activeAddressId || null, + displayUnit: ["BTC", "USD"].includes(currentState.settings.displayUnit) + ? currentState.settings.displayUnit + : "BTC", + fiatCurrency: normalizeFiatCurrency(currentState.settings.fiatCurrency), + hideDust: Boolean(currentState.settings.hideDust), + bitcoinNotation: normalizeBitcoinNotation(currentState.settings.bitcoinNotation), + showBackgroundGraphics: currentState.settings.showBackgroundGraphics !== false, + }, + lastUpdated: currentState.lastUpdated, + satoshiDemoLastRefreshedAt: currentState.satoshiDemoLastRefreshedAt, + }; + } + + function normalizeImportedState(candidate) { + const next = buildDefaultState(); + if (!candidate || typeof candidate !== "object") { + return next; + } + + const groups = normalizeGroups(candidate.groups); + const groupNameToId = new Map(groups.map((group) => [group.name.toLowerCase(), group.id])); + const validGroupIds = new Set(groups.map((group) => group.id)); + const addresses = normalizeAddresses(candidate.addresses, groupNameToId, validGroupIds); + + next.groups = groups; + next.addresses = addresses; + next.hideBalances = Boolean(candidate.hideBalances); + next.seededDemoWallets = normalizeDemoSeedKeys(candidate.seededDemoWallets); + next.selectedRange = normalizeChartRange(candidate.selectedRange); + next.settings = { + ...createDefaultSettings(), + activeWalletId: + candidate.settings && typeof candidate.settings.activeWalletId === "string" + ? candidate.settings.activeWalletId + : null, + activeAddressId: + candidate.settings && typeof candidate.settings.activeAddressId === "string" + ? candidate.settings.activeAddressId + : null, + displayUnit: + candidate.settings && + (candidate.settings.displayUnit === "BTC" || candidate.settings.displayUnit === "USD") + ? candidate.settings.displayUnit + : "BTC", + fiatCurrency: normalizeFiatCurrency(candidate.settings?.fiatCurrency), + hideDust: typeof candidate.settings?.hideDust === "boolean" ? candidate.settings.hideDust : true, + bitcoinNotation: normalizeBitcoinNotation(candidate.settings?.bitcoinNotation), + showBackgroundGraphics: + typeof candidate.settings?.showBackgroundGraphics === "boolean" + ? candidate.settings.showBackgroundGraphics + : true, + }; + next.lastUpdated = + typeof candidate.lastUpdated === "string" && !Number.isNaN(Date.parse(candidate.lastUpdated)) + ? candidate.lastUpdated + : null; + next.satoshiDemoLastRefreshedAt = + typeof candidate.satoshiDemoLastRefreshedAt === "string" && + !Number.isNaN(Date.parse(candidate.satoshiDemoLastRefreshedAt)) + ? candidate.satoshiDemoLastRefreshedAt + : null; + + seedSatoshiDemoWallet(next); + return next; + } + + function* buildRuntimeCacheCandidates(currentRuntime) { + yield serializeRuntimeCache(currentRuntime); + const compact = { includeIntradayPriceHistory: false, includeHourlyBalanceTimeline: false }; + yield serializeRuntimeCache(currentRuntime, compact); + for (const maxTxEventsPerSnapshot of [500, 120, 60, 0]) { + yield serializeRuntimeCache(currentRuntime, { ...compact, maxTxEventsPerSnapshot }); + } + } + + function serializeRuntimeCache( + currentRuntime, + { + includeAddressDetails = false, + includeIntradayPriceHistory = true, + includeHourlyBalanceTimeline = true, + maxTxEventsPerSnapshot = Infinity, + } = {} + ) { + if (!Array.isArray(currentRuntime.addressSnapshots) || !currentRuntime.addressSnapshots.length) { + return null; + } + + return { + priceHistoryVersion: 1, + priceStale: Boolean(currentRuntime.priceStale), + historyScope: normalizeHistoryScope(currentRuntime.historyScope), + currentPriceUsd: Number.isFinite(currentRuntime.currentPriceUsd) + ? currentRuntime.currentPriceUsd + : null, + fiatExchangeRates: serializeNumberMap(currentRuntime.fiatExchangeRates), + priceHistory: serializeNumberMap(currentRuntime.priceHistory), + intradayPriceHistory: includeIntradayPriceHistory + ? serializeNumberMap(currentRuntime.intradayPriceHistory) + : [], + historyAvailable: Boolean(currentRuntime.historyAvailable), + historyMissingDays: Number.isFinite(currentRuntime.historyMissingDays) + ? currentRuntime.historyMissingDays + : 0, + approximationMode: Boolean(currentRuntime.approximationMode), + timelineStart: Number.isFinite(currentRuntime.timelineStart) ? currentRuntime.timelineStart : null, + timelineEnd: Number.isFinite(currentRuntime.timelineEnd) ? currentRuntime.timelineEnd : null, + intradayStart: Number.isFinite(currentRuntime.intradayStart) ? currentRuntime.intradayStart : null, + intradayEnd: Number.isFinite(currentRuntime.intradayEnd) ? currentRuntime.intradayEnd : null, + transactionDetails: serializeTransactionDetailsMap(currentRuntime.transactionDetailsByTxid), + addressSnapshots: currentRuntime.addressSnapshots.map((snapshot) => ({ + entryId: snapshot.entry?.id || null, + provider: snapshot.provider || "", + refreshedAt: isTimestamp(snapshot.refreshedAt) ? snapshot.refreshedAt : null, + refreshFailed: Boolean(snapshot.refreshFailed), + balanceSats: Number(snapshot.balanceSats || 0), + usdValue: Number.isFinite(snapshot.usdValue) ? snapshot.usdValue : null, + approximate: Boolean(snapshot.approximate) || snapshot.txEvents.length > maxTxEventsPerSnapshot, + detailScope: maxTxEventsPerSnapshot === 0 ? "SUMMARY" : normalizeSnapshotDetailScope(snapshot.detailScope), + txEvents: serializeTxEvents(snapshot.txEvents, { + includeAddressDetails, + maxItems: maxTxEventsPerSnapshot, + }), + balanceTimeline: serializeBalanceTimeline(snapshot.balanceTimeline), + hourlyBalanceTimeline: includeHourlyBalanceTimeline + ? serializeBalanceTimeline(snapshot.hourlyBalanceTimeline) + : [], + })), + }; + } + + function normalizeRuntimeCache(candidate, currentState) { + if (!candidate || typeof candidate !== "object") { + return null; + } + + const addressById = new Map(currentState.addresses.map((entry) => [entry.id, entry])); + const snapshots = Array.isArray(candidate.addressSnapshots) + ? candidate.addressSnapshots + .slice(0, MAX_WATCHED_ADDRESSES) + .map((snapshot) => normalizeCachedSnapshot(snapshot, addressById)) + .filter(Boolean) + : []; + + if (!snapshots.length) { + return null; + } + + const timelineStart = isTimestamp(candidate.timelineStart) ? candidate.timelineStart : null; + const timelineEnd = isTimestamp(candidate.timelineEnd) ? candidate.timelineEnd : null; + const intradayStart = isTimestamp(candidate.intradayStart) ? candidate.intradayStart : null; + const intradayEnd = isTimestamp(candidate.intradayEnd) ? candidate.intradayEnd : null; + let rebuiltTimelines = false; + snapshots.forEach((snapshot) => { + rebuiltTimelines = + rebuildCachedSnapshotTimelinesIfNeeded(snapshot, { + timelineStart, + timelineEnd, + intradayStart, + intradayEnd, + }) || rebuiltTimelines; + }); + + return { + priceStale: Boolean(candidate.priceStale), + historyScope: normalizeHistoryScope(candidate.historyScope), + currentPriceUsd: Number.isFinite(candidate.currentPriceUsd) ? candidate.currentPriceUsd : null, + fiatExchangeRates: normalizeFiatExchangeRates(candidate.fiatExchangeRates), + priceHistory: candidate.priceHistoryVersion === 1 ? deserializeNumberMap(candidate.priceHistory) : new Map(), + intradayPriceHistory: candidate.priceHistoryVersion === 1 ? deserializeNumberMap(candidate.intradayPriceHistory) : new Map(), + historyAvailable: candidate.priceHistoryVersion === 1 && candidate.historyAvailable !== false, + historyMissingDays: Number.isFinite(candidate.historyMissingDays) ? candidate.historyMissingDays : 0, + approximationMode: Boolean(candidate.approximationMode), + timelineStart, + timelineEnd, + intradayStart, + intradayEnd, + addressSnapshots: snapshots, + transactionDetailsByTxid: normalizeTransactionDetailsMap(candidate.transactionDetails), + needsPriceHistoryRefresh: candidate.priceHistoryVersion !== 1, + rebuiltTimelines, + }; + } + + function rebuildCachedSnapshotTimelinesIfNeeded( + snapshot, + { timelineStart, timelineEnd, intradayStart, intradayEnd } + ) { + if (!snapshot || normalizeSnapshotDetailScope(snapshot.detailScope) === "SUMMARY") { + return false; + } + + let rebuilt = false; + if ( + shouldRebuildCachedTimeline(snapshot.balanceTimeline, snapshot.txEvents, timelineStart, timelineEnd) + ) { + snapshot.balanceTimeline = buildDailyBalanceTimeline( + snapshot.balanceSats, + snapshot.txEvents, + timelineStart, + timelineEnd + ); + rebuilt = true; + } + + if ( + shouldRebuildCachedTimeline( + snapshot.hourlyBalanceTimeline, + snapshot.txEvents, + intradayStart, + intradayEnd + ) + ) { + snapshot.hourlyBalanceTimeline = buildIntervalBalanceTimeline( + snapshot.balanceSats, + snapshot.txEvents, + intradayStart, + intradayEnd, + HOUR_MS, + startOfUtcHour, + toHourKey + ); + rebuilt = true; + } + + return rebuilt; + } + + function shouldRebuildCachedTimeline(points, txEvents, startTimestamp, endTimestamp) { + if (!Number.isFinite(startTimestamp) || !Number.isFinite(endTimestamp)) { + return false; + } + + const events = Array.isArray(txEvents) ? txEvents : []; + if (!events.length) { + return false; + } + + const validPoints = Array.isArray(points) + ? points.filter((point) => Number.isFinite(point?.timestamp) && Number.isFinite(point?.balanceSats)) + : []; + if (!validPoints.length) { + return true; + } + + const uniqueBalances = new Set(validPoints.map((point) => point.balanceSats)); + if (uniqueBalances.size > 1) { + return false; + } + + return events.some((event) => { + const timestamp = Number(event?.timestamp); + const netSats = Number(event?.netSats || 0); + return ( + Number.isFinite(timestamp) && + timestamp >= startTimestamp && + timestamp <= endTimestamp && + netSats !== 0 + ); + }); + } + + function normalizeCachedSnapshot(snapshot, addressById) { + if (!snapshot || typeof snapshot !== "object" || typeof snapshot.entryId !== "string") { + return null; + } + + const entry = addressById.get(snapshot.entryId); + if (!entry || entry.needsHistoryRefresh || !isSatoshiAmount(snapshot.balanceSats)) { + return null; + } + + return { + entry, + provider: typeof snapshot.provider === "string" ? snapshot.provider : "", + refreshedAt: isTimestamp(snapshot.refreshedAt) ? snapshot.refreshedAt : null, + refreshFailed: Boolean(snapshot.refreshFailed), + balanceSats: Number(snapshot.balanceSats || 0), + usdValue: Number.isFinite(snapshot.usdValue) ? snapshot.usdValue : null, + approximate: Boolean(snapshot.approximate), + detailScope: normalizeSnapshotDetailScope(snapshot.detailScope), + txEvents: normalizeCachedTxEvents(snapshot.txEvents), + balanceTimeline: normalizeCachedBalanceTimeline(snapshot.balanceTimeline), + hourlyBalanceTimeline: normalizeCachedBalanceTimeline(snapshot.hourlyBalanceTimeline), + }; + } + + function serializeNumberMap(source) { + if (!(source instanceof Map)) { + return []; + } + + return [...source.entries()].filter( + (entry) => typeof entry[0] === "string" && Number.isFinite(entry[1]) + ); + } + + function deserializeNumberMap(source) { + const map = new Map(); + if (!Array.isArray(source)) { + return map; + } + + source.slice(0, MAX_TIMELINE_POINTS).forEach((entry) => { + if (Array.isArray(entry) && typeof entry[0] === "string" && Number.isFinite(entry[1])) { + map.set(entry[0], entry[1]); + } + }); + return map; + } + + function normalizeFiatExchangeRates(source) { + const map = createDefaultFiatExchangeRates(); + const candidate = source instanceof Map ? source : deserializeNumberMap(source); + + SUPPORTED_FIAT_CURRENCIES.forEach((currency) => { + if (currency === "USD") { + return; + } + + const rate = candidate.get(currency); + if (Number.isFinite(rate) && rate > 0) { + map.set(currency, rate); + } + }); + + return map; + } + + function mergeFiatExchangeRates(preferred, fallback) { + const merged = normalizeFiatExchangeRates(fallback); + normalizeFiatExchangeRates(preferred).forEach((value, key) => { + merged.set(key, value); + }); + return merged; + } + + function mergeNumberMaps(fallback, preferred) { + const merged = fallback instanceof Map ? new Map(fallback) : new Map(); + if (preferred instanceof Map) { + preferred.forEach((value, key) => { + if (typeof key === "string" && Number.isFinite(value)) { + merged.set(key, value); + } + }); + } + return merged; + } + + function areNumberMapsEqual(left, right) { + const normalizedLeft = left instanceof Map ? left : new Map(); + const normalizedRight = right instanceof Map ? right : new Map(); + if (normalizedLeft.size !== normalizedRight.size) { + return false; + } + + for (const [key, value] of normalizedLeft.entries()) { + if (normalizedRight.get(key) !== value) { + return false; + } + } + + return true; + } + + function serializeTxEvents( + source, + { + includeAddressDetails = true, + maxItems = Infinity, + } = {} + ) { + if (!Array.isArray(source)) { + return []; + } + + const limit = Number.isFinite(maxItems) && maxItems >= 0 + ? Math.min(maxItems, MAX_TRANSACTIONS_PER_ADDRESS) : MAX_TRANSACTIONS_PER_ADDRESS; + return source.slice(0, limit).map((event) => ({ + txid: event.txid, + timestamp: Number(event.timestamp || 0), + confirmed: Boolean(event.confirmed), + receivedSats: Number(event.receivedSats || 0), + sentSats: Number(event.sentSats || 0), + netSats: Number(event.netSats || 0), + feeSats: Number.isFinite(event.feeSats) ? Number(event.feeSats) : null, + feeRateSatVb: Number.isFinite(event.feeRateSatVb) ? Number(event.feeRateSatVb) : null, + inputAddresses: + includeAddressDetails && Array.isArray(event.inputAddresses) ? event.inputAddresses : [], + outputAddresses: + includeAddressDetails && Array.isArray(event.outputAddresses) ? event.outputAddresses : [], + walletInputAddresses: + includeAddressDetails && Array.isArray(event.walletInputAddresses) + ? event.walletInputAddresses + : [], + walletOutputAddresses: + includeAddressDetails && Array.isArray(event.walletOutputAddresses) + ? event.walletOutputAddresses + : [], + })); + + } + + function normalizeCachedTxEvents(source) { + if (!Array.isArray(source)) { + return []; + } + + return source + .slice(0, MAX_TRANSACTIONS_PER_ADDRESS) + .map((event) => { + if (!event || !isValidTxid(event.txid) || !isTimestamp(event.timestamp) || + !isSatoshiAmount(event.receivedSats) || !isSatoshiAmount(event.sentSats) || + event.netSats !== event.receivedSats - event.sentSats) { + return null; + } + + return { + txid: event.txid, + timestamp: Number(event.timestamp || 0), + confirmed: Boolean(event.confirmed), + receivedSats: Number(event.receivedSats || 0), + sentSats: Number(event.sentSats || 0), + netSats: Number(event.netSats || 0), + feeSats: Number.isFinite(event.feeSats) ? Number(event.feeSats) : null, + feeRateSatVb: Number.isFinite(event.feeRateSatVb) ? Number(event.feeRateSatVb) : null, + inputAddresses: Array.isArray(event.inputAddresses) + ? uniqueStrings(event.inputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) + : [], + outputAddresses: Array.isArray(event.outputAddresses) + ? uniqueStrings(event.outputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) + : [], + walletInputAddresses: Array.isArray(event.walletInputAddresses) + ? uniqueStrings( + event.walletInputAddresses.filter((entry) => typeof entry === "string" && entry.trim()) + ) + : [], + walletOutputAddresses: Array.isArray(event.walletOutputAddresses) + ? uniqueStrings( + event.walletOutputAddresses.filter((entry) => typeof entry === "string" && entry.trim()) + ) + : [], + }; + }) + .filter(Boolean); + } + + function serializeTransactionDetailsMap(source) { + const entries = source instanceof Map ? [...source.entries()] : []; + return entries + .filter(([txid, details]) => isValidTxid(txid) && details && typeof details === "object") + .slice(-MAX_TRANSACTIONS_PER_ADDRESS) + .map(([txid, details]) => [ + txid, + normalizeTransactionDetails({ + txid, + ...details, + }), + ]) + .filter(([, details]) => details); + } + + function normalizeTransactionDetailsMap(source) { + if (!Array.isArray(source)) { + return new Map(); + } + + const detailsByTxid = new Map(); + source.slice(-MAX_TRANSACTIONS_PER_ADDRESS).forEach((entry) => { + if (!Array.isArray(entry) || entry.length < 2 || !isValidTxid(entry[0])) { + return; + } + + const details = normalizeTransactionDetails({ + ...entry[1], + txid: entry[0], + }); + if (details) { + detailsByTxid.set(entry[0], details); + } + }); + return detailsByTxid; + } + + function normalizeTransactionDetails(candidate) { + if (!candidate || typeof candidate !== "object" || !isValidTxid(candidate.txid)) { + return null; + } + + return { + txid: candidate.txid, + feeSats: Number.isFinite(candidate.feeSats) ? Number(candidate.feeSats) : null, + feeRateSatVb: Number.isFinite(candidate.feeRateSatVb) + ? Number(candidate.feeRateSatVb) + : null, + inputAddresses: Array.isArray(candidate.inputAddresses) + ? uniqueStrings(candidate.inputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) + : [], + outputAddresses: Array.isArray(candidate.outputAddresses) + ? uniqueStrings(candidate.outputAddresses.filter((entry) => typeof entry === "string" && entry.trim())) + : [], + }; + } + + function serializeBalanceTimeline(source) { + if (!Array.isArray(source)) { + return []; + } + + return source.map((point) => ({ + dateKey: point.dateKey, + timestamp: Number(point.timestamp || 0), + balanceSats: Number(point.balanceSats || 0), + })); + } + + function normalizeCachedBalanceTimeline(source) { + if (!Array.isArray(source)) { + return []; + } + + return source + .slice(0, MAX_TIMELINE_POINTS) + .map((point) => { + if (!point || typeof point.dateKey !== "string" || !isTimestamp(point.timestamp) || + !isSatoshiAmount(point.balanceSats)) { + return null; + } + + return { + dateKey: point.dateKey, + timestamp: Number(point.timestamp || 0), + balanceSats: Number(point.balanceSats || 0), + }; + }) + .filter(Boolean); + } + + function normalizeGroups(rawGroups) { + const source = (Array.isArray(rawGroups) && rawGroups.length ? rawGroups : DEFAULT_WALLET_NAMES).slice( + 0, + MAX_WALLETS + ); + const normalized = []; + const seen = new Set(); + + source.forEach((group) => { + const name = typeof group === "string" ? group : group?.name; + const normalizedName = normalizeWalletName(name); + if (!normalizedName) { + return; + } + + const key = normalizedName.toLowerCase(); + if (seen.has(key)) { + return; + } + + seen.add(key); + normalized.push({ + id: typeof group === "object" && typeof group.id === "string" ? group.id : createId("grp"), + name: normalizedName, + }); + }); + + return normalized.length ? normalized : buildDefaultState().groups; + } + + function normalizeAddresses(rawAddresses, groupNameToId, validGroupIds) { + const source = Array.isArray(rawAddresses) ? rawAddresses.slice(0, MAX_WATCHED_ADDRESSES) : []; + const seen = new Set(); + const normalized = []; + + source.forEach((entry) => { + const address = normalizeBitcoinAddress(entry?.address); + if (!address) { + return; + } + + const key = normalizeBitcoinAddress(address); + if (seen.has(key)) { + return; + } + seen.add(key); + + let groupId = null; + if (typeof entry.groupId === "string" && validGroupIds.has(entry.groupId)) { + groupId = entry.groupId; + } else if (typeof entry.group === "string") { + groupId = groupNameToId.get(entry.group.toLowerCase()) || null; + } + + normalized.push({ + id: typeof entry.id === "string" ? entry.id : createId("addr"), + address, + needsHistoryRefresh: address !== entry.address.trim(), + tags: normalizeAddressTags(entry.tags), + groupId, + createdAt: + typeof entry.createdAt === "string" && !Number.isNaN(Date.parse(entry.createdAt)) + ? entry.createdAt + : new Date().toISOString(), + }); + }); + + return normalized; + } + + + return { + buildDefaultState, + loadState, + saveState, + loadRuntimeCache, + saveRuntimeCache, + clearRuntimeCache, + normalizeImportedState, + buildRuntimeCacheCandidates, + serializeRuntimeCache, + normalizeRuntimeCache, + deserializeNumberMap, + normalizeFiatExchangeRates, + mergeFiatExchangeRates, + mergeNumberMaps, + areNumberMapsEqual, + normalizeCachedTxEvents, + normalizeTransactionDetails, + normalizeCachedBalanceTimeline + }; + } + root.BITKIT_WATCH_STORAGE = { create }; + if (typeof module === "object" && module.exports) module.exports = { create }; +})(globalThis); diff --git a/docs/deployment.md b/docs/deployment.md index 5efa7d5..c9afec6 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -4,9 +4,11 @@ This document covers release operations for Bitkit Watch. ## Automatic Deployment -The active `.github/workflows/deploy.yml` workflow runs on pushes to `master` and supports manual dispatch. Merging a PR into `master` triggers a Docker build, pushes the commit-tagged image to Artifact Registry, and deploys the `bitkit-watch` Cloud Run service in `europe-west6`. Feature-branch pushes and PR creation do not match its automatic trigger. +The `.github/workflows/deploy.yml` workflow checks PRs targeting `master`, pushes to `master`, and manual dispatches. Unit tests, release checks, and desktop/mobile Chromium and WebKit smoke tests must pass before the deployment job can run. PRs never run the deployment job or receive deployment credentials. -The latest inspected deployment completed successfully on November 19, 2026, from commit `2122d87`, through manual dispatch. The workflow does not currently run `scripts/verify-release.sh`; run the release checks before merging. +Merging a PR into `master` triggers the checks, then a Docker build, a commit-tagged image push to Artifact Registry, and deployment to the `bitkit-watch` Cloud Run service in `europe-west6`. Feature-branch pushes do not deploy. A manual run can deploy only `master`. + +PR checks allow an older bundled snapshot so unrelated contributions are not blocked by time. Master deployment and local release preparation enforce the 14-day snapshot limit. Repository branch protection also requires the `checks` job from GitHub Actions before merging into `master`, with the branch up to date. These rules apply to administrators too. No approving review is required, so maintainers can merge their own PRs after CI passes. ## Runtime Requirements @@ -36,7 +38,11 @@ Regenerate the release asset with: Use `./scripts/update.sh` instead of running `scripts/build-satoshi-demo-snapshot.mjs` directly. The wrapper writes a temporary snapshot, checks it, and atomically replaces `assets/satoshi-demo-snapshot.js`. -Deploy `assets/api-validation.js` together with `app.js`, the snapshot, and the HTML. The app and snapshot builder share the same response validators. Update asset query versions in `index.html` when shipping changed scripts or a new snapshot. +Deploy the entire `assets` directory together with `app.js` and the HTML; the Docker image already copies it. The app and snapshot builder share response validation and price-coverage logic. + +Daily and hourly maps store only real provider observations. Missing prices remain blank; charts break at gaps and suppress growth percentages when the selected range is incomplete. Historical non-USD values that use today's exchange rate are labeled as estimates. Legacy synthesized price maps are discarded while retaining wallet balances and transactions; verified prices from the bundled demo can seed the replacement market cache. + +Every address snapshot records its last successful refresh and whether its last refresh failed. Saved balances survive failed refreshes. A fresh price quote does not advance address freshness. Rate-limited origins honor `Retry-After` seconds or HTTP dates; short delays retry once, longer delays pause the origin and allow a fallback provider. If CORS hides the header, the default pause is 60 seconds. Clearing data also cancels pending short retries. ## Production Response Headers @@ -55,13 +61,24 @@ Enable HSTS only after HTTPS deployment is confirmed. Do not add `includeSubDoma ## Release Checks -Run: +Install the pinned Node runtime and test tooling once, then prepare the release: ```sh -./scripts/verify-release.sh +nvm install +nvm use +npm ci --ignore-scripts +npx playwright install chromium webkit +npm run prepare:release -- 0.1.5 git diff --check ``` -The release check intentionally fails while legal draft markers remain in the Terms of Use or Privacy Policy. Resolve those markers with counsel before publishing. +The release command fetches a new public snapshot into a temporary file, updates the manifest/lockfile, visible version and all script/style query versions, and runs both release verification and browser tests. If verification fails or you interrupt with Ctrl+C/SIGTERM, it stops the active command and its descendants before restoring the previous release files. It never commits, signs, pushes or deploys. + +To check an already prepared release without fetching another snapshot: + +```sh +npm run verify +npm run test:browser +``` -Release verification includes offline security regression tests. Snapshot freshness is checked separately against a 14-day maximum age; regenerate it before release when needed. +Release verification checks JavaScript syntax, offline regression tests, production asset restrictions, legal draft markers, snapshot schema/freshness, manifest paths, and version consistency. Browser tests mock third-party APIs and use an isolated HTTPS server on port 8766, with a temporary self-signed certificate generated by OpenSSL. Certificate verification is bypassed only in the test browser; the production CSP remains intact. `npm start` serves an HTTP preview on port 8765; `npm start -- --https` enables a Safari-compatible HTTPS preview. diff --git a/index.html b/index.html index 77edf15..45bd776 100644 --- a/index.html +++ b/index.html @@ -18,11 +18,16 @@ Bitkit Watch - - - - - + + + + + + + + + +
@@ -279,6 +284,7 @@

+

@@ -365,7 +371,7 @@

+

diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..00a577f --- /dev/null +++ b/package-lock.json @@ -0,0 +1,63 @@ +{ + "name": "bitkit-watch", + "version": "0.1.5", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "bitkit-watch", + "version": "0.1.5", + "devDependencies": { + "@playwright/test": "1.65.1" + }, + "engines": { + "node": ">=24.22.3 <25" + } + }, + "node_modules/@playwright/test": { + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.65.1.tgz", + "integrity": "sha512-y+NCIRm2LvY4slUVWvGh1nujJ8RF/hEisIsq2mtUPgdQC4L701bq5hZGMhrpeXjACvwvO9tj5dJqhvM6TP9lbw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright": "1.65.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/playwright": { + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.65.1.tgz", + "integrity": "sha512-vJ1FuoOrNwOKHUIVEvSt3jT1L+wjjDpwhwIstKtfvTh8XIG4FG4bIFuvNdMxi81LGfAhUgUZleVFaOLY4RIUUw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "playwright-core": "1.65.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/playwright-core": { + "version": "1.65.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.65.1.tgz", + "integrity": "sha512-hqPpz7blSMPxWVdoeE1yiBSzXsKiVOd2k+kjCvmUywD2GPO2Dd9HfcWnq9NN0GHbNZDFgZ9JfBFr+X5/BLo0qw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=20" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..a86904e --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "bitkit-watch", + "version": "0.1.5", + "private": true, + "description": "Static, watch-only Bitcoin portfolio. Dependencies are development tools only.", + "engines": { + "node": ">=24.22.3 <25" + }, + "scripts": { + "test": "node --test tests/*.test.mjs", + "test:browser": "playwright test", + "verify": "bash scripts/verify-release.sh", + "prepare:release": "node scripts/prepare-release.mjs", + "start": "node scripts/serve.mjs" + }, + "devDependencies": { + "@playwright/test": "1.65.1" + } +} diff --git a/playwright.config.mjs b/playwright.config.mjs new file mode 100644 index 0000000..bbe8a23 --- /dev/null +++ b/playwright.config.mjs @@ -0,0 +1,19 @@ +import { defineConfig } from "@playwright/test"; +export default defineConfig({ + testDir: "./tests/browser", + timeout: 45_000, + fullyParallel: false, + forbidOnly: Boolean(process.env.CI), + retries: 0, + workers: 2, + reporter: "list", + // Ignore only the ephemeral local server certificate; retain the production CSP. + use: { baseURL: "https://127.0.0.1:8766", trace: "retain-on-failure", ignoreHTTPSErrors: true }, + projects: [ + { name: "desktop", use: { browserName: "chromium", viewport: { width: 1440, height: 1000 } } }, + { name: "webkit-desktop", use: { browserName: "webkit", viewport: { width: 1440, height: 1000 } } }, + { name: "webkit-mobile", use: { browserName: "webkit", viewport: { width: 390, height: 844 }, isMobile: true, hasTouch: true } }, + { name: "mobile", use: { browserName: "chromium", viewport: { width: 390, height: 844 }, isMobile: true, hasTouch: true } }, + ], + webServer: { command: "node scripts/serve.mjs --https", env: { PORT: "8766" }, url: "https://127.0.0.1:8766", reuseExistingServer: false, ignoreHTTPSErrors: true }, +}); diff --git a/privacy-policy.html b/privacy-policy.html index 87ea0c2..b1174d3 100644 --- a/privacy-policy.html +++ b/privacy-policy.html @@ -14,7 +14,7 @@ Privacy Policy | Bitkit Watch - +
diff --git a/scripts/build-satoshi-demo-snapshot.mjs b/scripts/build-satoshi-demo-snapshot.mjs index 09e5534..44de38a 100755 --- a/scripts/build-satoshi-demo-snapshot.mjs +++ b/scripts/build-satoshi-demo-snapshot.mjs @@ -2,6 +2,8 @@ import { writeFile } from "node:fs/promises"; import validation from "../assets/api-validation.js"; +import history from "../assets/market-history.js"; +const { summarizePriceHistory } = history; const { validateAddressSummary, validateTransactionList, validateCandles, readJsonResponse } = validation; const DAY_MS = 24 * 60 * 60 * 1000; @@ -59,6 +61,7 @@ const balancesByAddress = Object.fromEntries( addressSnapshots.map((snapshot) => [snapshot.address, snapshot.balanceSats]) ); const runtimeCache = { + priceHistoryVersion: 1, historyScope: "ALL", currentPriceUsd, fiatExchangeRates: [...fiatExchangeRates.entries()], @@ -214,8 +217,7 @@ async function fetchDailyPriceHistory(startTimestamp, endTimestamp) { }); } - fillPriceHistory(prices, startTimestamp, endTimestamp, DAY_MS, startOfUtcDay, toDateKey); - return prices; + return summarizePriceHistory(prices, startTimestamp, endTimestamp).series; } async function fetchIntradayPriceHistory(startTimestamp, endTimestamp, fallbackPrice) { @@ -225,7 +227,6 @@ async function fetchIntradayPriceHistory(startTimestamp, endTimestamp, fallbackP prices.set(toHourKey(candle[0] * 1000), Number(candle[4])); }); - fillPriceHistory(prices, startTimestamp, endTimestamp, HOUR_MS, startOfUtcHour, toHourKey, fallbackPrice); return prices; } @@ -322,7 +323,7 @@ function getOldestTransactionTimestamp(bundles) { function buildCandleRequests(startTimestamp, endTimestamp, maxDaysPerRequest) { const requests = []; let cursor = startOfUtcDay(startTimestamp); - while (cursor < endTimestamp) { + while (cursor <= endTimestamp) { const chunkEnd = Math.min(cursor + (maxDaysPerRequest - 1) * DAY_MS, endTimestamp); requests.push({ start: cursor, end: chunkEnd }); cursor = chunkEnd + DAY_MS; @@ -346,26 +347,6 @@ async function mapWithConcurrency(items, maxConcurrent, worker) { return results; } -function fillPriceHistory(prices, startTimestamp, endTimestamp, stepMs, alignTime, keyForTimestamp, fallbackPrice = null) { - const firstKnown = [...prices.entries()] - .sort((left, right) => left[0].localeCompare(right[0])) - .map(([, price]) => price) - .find(Number.isFinite); - let lastKnown = null; - for (let cursor = alignTime(startTimestamp); cursor <= endTimestamp; cursor += stepMs) { - const key = keyForTimestamp(cursor); - if (prices.has(key)) { - lastKnown = prices.get(key); - } else if (Number.isFinite(lastKnown)) { - prices.set(key, lastKnown); - } else if (Number.isFinite(firstKnown)) { - prices.set(key, firstKnown); - } else if (Number.isFinite(fallbackPrice)) { - prices.set(key, fallbackPrice); - } - } -} - function countMissingDays(prices, startTimestamp, endTimestamp) { let missingDays = 0; for (let cursor = startOfUtcDay(startTimestamp); cursor <= endTimestamp; cursor += DAY_MS) { diff --git a/scripts/check-release.mjs b/scripts/check-release.mjs new file mode 100644 index 0000000..6b5defa --- /dev/null +++ b/scripts/check-release.mjs @@ -0,0 +1,18 @@ +#!/usr/bin/env node +import { readFileSync, existsSync } from "node:fs"; +import { fileURLToPath } from "node:url"; +import path from "node:path"; +const root = fileURLToPath(new URL("../", import.meta.url)); +const read = (file) => readFileSync(path.join(root, file), "utf8"); +const manifest = JSON.parse(read("package.json")); +const lock = JSON.parse(read("package-lock.json")); +if (manifest.version !== lock.version || manifest.version !== lock.packages[""].version) throw new Error("Manifest and lockfile versions differ."); +const html = read("index.html"); +if (!html.includes(`id="appVersion">v${manifest.version}`)) throw new Error("Visible version differs from package.json."); +for (const file of ["index.html", "privacy-policy.html", "terms-of-use.html"]) { + for (const match of read(file).matchAll(/(?:src|href)="([^"?#]+\.(?:js|css))(?:\?([^"#]*))?"/g)) { + if (!existsSync(path.join(root, match[1]))) throw new Error(`Missing asset: ${match[1]}`); + if (match[2] !== `v=${manifest.version}`) throw new Error(`Stale asset version: ${match[1]}`); + } +} +console.log(`Release v${manifest.version}: manifest, lockfile, footer and asset URLs agree.`); diff --git a/scripts/prepare-release.mjs b/scripts/prepare-release.mjs new file mode 100644 index 0000000..fec8776 --- /dev/null +++ b/scripts/prepare-release.mjs @@ -0,0 +1,130 @@ +#!/usr/bin/env node +import { mkdtemp, readFile, writeFile, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +import { spawn } from "node:child_process"; + +// Keep release commands in their own process group so cancellation also stops +// npm's child processes before any release files are restored (macOS/Linux). +function runCommand(command, args, cwd, { signal } = {}) { + signal?.throwIfAborted(); + return new Promise((resolve, reject) => { + const grouped = process.platform !== "win32"; + const child = spawn(command, args, { cwd, stdio: "inherit", detached: grouped }); + let closed = false; + let interrupted = false; + let stopped = false; + let failure = null; + let exitCode; + let exitSignal; + const stop = (name) => { + if (!child.pid) return; + try { + if (grouped) process.kill(-child.pid, name); + else child.kill(name); + } catch (error) { + if (error.code !== "ESRCH") failure = error; + } + }; + const finish = () => { + if (!closed || (interrupted && !stopped)) return; + signal?.removeEventListener("abort", abort); + if (interrupted) reject(signal.reason); + else if (failure) reject(failure); + else if (exitCode === 0) resolve(); + else reject(new Error(`${command} failed (${exitSignal || exitCode}).`)); + }; + const abort = () => { + if (interrupted) return; + interrupted = true; + stop("SIGTERM"); + // Allow graceful cleanup, then stop any remaining descendants that ignore SIGTERM. + setTimeout(() => { + stop("SIGKILL"); + stopped = true; + finish(); + }, 1000); + }; + child.on("error", (error) => { failure = error; }); + child.on("close", (code, name) => { + closed = true; + exitCode = code; + exitSignal = name; + finish(); + }); + signal?.addEventListener("abort", abort, { once: true }); + if (signal?.aborted) abort(); + }); +} + +export async function prepareRelease(root, inputVersion, { run = runCommand, signal } = {}) { + signal?.throwIfAborted(); + const execute = async (command, args) => { + signal?.throwIfAborted(); + await run(command, args, root, { signal }); + signal?.throwIfAborted(); + }; + const version = String(inputVersion || "").replace(/^v/, ""); + if (!/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$/.test(version)) { + throw new Error("Usage: npm run prepare:release -- 0.1.5"); + } + const files = ["package.json", "package-lock.json", "index.html", "privacy-policy.html", "terms-of-use.html", "assets/satoshi-demo-snapshot.js"]; + const originals = new Map(await Promise.all(files.map(async (file) => [file, await readFile(path.join(root, file))]))); + const temp = await mkdtemp(path.join(tmpdir(), "bitkit-watch-release-")); + let changed = false; + try { + // Network or validation failures cannot replace the bundled snapshot. + const snapshotPath = path.join(temp, "snapshot.js"); + await execute(process.execPath, ["scripts/build-satoshi-demo-snapshot.mjs", snapshotPath]); + await execute(process.execPath, ["--check", snapshotPath]); + const snapshot = await readFile(snapshotPath); + changed = true; + for (const file of files) { + signal?.throwIfAborted(); + let next = originals.get(file).toString(); + if (file.endsWith(".json")) { + const json = JSON.parse(next); + json.version = version; + if (json.packages?.[""]) json.packages[""].version = version; + next = JSON.stringify(json, null, 2) + "\n"; + } else if (file.endsWith(".html")) { + next = next.replace(/((?:src|href)="[^"?#]+\.(?:js|css))(?:\?[^"#]*)?"/g, `$1?v=${version}"`); + if (file === "index.html") next = next.replace(/(id="appVersion">)v\d+\.\d+\.\d+/, `$1v${version}`); + } else next = snapshot; + await writeFile(path.join(root, file), next); + } + await execute("npm", ["run", "verify"]); + await execute("npm", ["run", "test:browser"]); + console.log(`Prepared v${version}. Review the diff, then commit -S and push in your Terminal.`); + } catch (error) { + if (changed) { + for (const [file, bytes] of originals) await writeFile(path.join(root, file), bytes); + console.error("Release preparation did not complete; restored the previous versions and snapshot."); + } + throw error; + } finally { await rm(temp, { recursive: true, force: true }); } +} + +if (process.argv[1] && path.resolve(process.argv[1]) === fileURLToPath(import.meta.url)) { + const controller = new AbortController(); + let interruptedBy = null; + const interrupt = (name) => { + if (controller.signal.aborted) return; + interruptedBy = name; + controller.abort(new Error(`Release preparation interrupted (${name}).`)); + }; + const onInterrupt = () => interrupt("SIGINT"); + const onTerminate = () => interrupt("SIGTERM"); + process.on("SIGINT", onInterrupt); + process.on("SIGTERM", onTerminate); + try { + await prepareRelease(fileURLToPath(new URL("../", import.meta.url)), process.argv[2], { signal: controller.signal }); + } catch (error) { + console.error(error.message); + process.exitCode = interruptedBy === "SIGINT" ? 130 : interruptedBy === "SIGTERM" ? 143 : 1; + } finally { + process.off("SIGINT", onInterrupt); + process.off("SIGTERM", onTerminate); + } +} diff --git a/scripts/serve.mjs b/scripts/serve.mjs new file mode 100644 index 0000000..2bd5d2a --- /dev/null +++ b/scripts/serve.mjs @@ -0,0 +1,37 @@ +#!/usr/bin/env node +// Local preview only. Production uses nginx; never expose development sources. +import http from "node:http"; +import https from "node:https"; +import { execFileSync } from "node:child_process"; +import { tmpdir } from "node:os"; +import { readFile, realpath, mkdtemp, rm } from "node:fs/promises"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; +const root = await realpath(fileURLToPath(new URL("../", import.meta.url))); +const port = Number(process.env.PORT || 8765); +const allowed = new Set(["index.html", "privacy-policy.html", "terms-of-use.html", "app.js", "styles.css", "site.webmanifest", "LICENSE.txt", "favicon.ico", "favicon.svg", "favicon-96x96.png", "apple-touch-icon.png", "web-app-manifest-192x192.png", "web-app-manifest-512x512.png"]); +const types = { ".html": "text/html", ".js": "application/javascript", ".css": "text/css", ".json": "application/json", ".webmanifest": "application/manifest+json", ".svg": "image/svg+xml", ".png": "image/png", ".webp": "image/webp", ".ttf": "font/ttf", ".woff2": "font/woff2", ".ico": "image/x-icon" }; +const secure = process.argv.includes("--https"); +let tls; +if (secure) { + const directory = await mkdtemp(path.join(tmpdir(), "bitkit-watch-tls-")); + try { + const key = path.join(directory, "key.pem"); + const cert = path.join(directory, "cert.pem"); + execFileSync("openssl", ["req", "-x509", "-newkey", "rsa:2048", "-sha256", "-nodes", "-keyout", key, "-out", cert, "-days", "1", "-subj", "/CN=localhost"], { stdio: ["ignore", "ignore", "pipe"] }); + tls = { key: await readFile(key), cert: await readFile(cert) }; + } finally { await rm(directory, { recursive: true, force: true }); } +} +const server = secure ? https.createServer(tls) : http.createServer(); +server.on("request", async (request, response) => { + try { + const pathname = decodeURIComponent(new URL(request.url, "http://localhost").pathname); + const relative = pathname === "/" ? "index.html" : pathname.slice(1); + if (!["GET", "HEAD"].includes(request.method) || (!allowed.has(relative) && !relative.startsWith("assets/")) || relative.split("/").some((part) => part.startsWith("."))) throw new Error("Not found"); + const file = await realpath(path.resolve(root, relative)); + if (!file.startsWith(root + path.sep)) throw new Error("Not found"); + const data = await readFile(file); + response.writeHead(200, { "Content-Type": types[path.extname(file)] || "application/octet-stream", "Cache-Control": "no-store", "X-Content-Type-Options": "nosniff", "Referrer-Policy": "no-referrer" }); + response.end(request.method === "HEAD" ? undefined : data); + } catch { response.writeHead(404); response.end("Not found"); } +}).listen(port, "127.0.0.1", () => console.log(`Bitkit Watch: ${secure ? "https" : "http"}://127.0.0.1:${port}`)); diff --git a/scripts/verify-release.sh b/scripts/verify-release.sh index b64de17..9820b9a 100755 --- a/scripts/verify-release.sh +++ b/scripts/verify-release.sh @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env bash set -euo pipefail ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)" @@ -13,9 +13,7 @@ fail() { failures=$((failures + 1)) } -for script in "$ROOT_DIR/app.js" "$ROOT_DIR/assets/api-validation.js" \ - "$ROOT_DIR/assets/bitcoin-facts.js" "$ROOT_DIR/assets/satoshi-demo-snapshot.js" \ - "$ROOT_DIR/scripts/build-satoshi-demo-snapshot.mjs"; do +for script in "$ROOT_DIR/app.js" "$ROOT_DIR/assets/"*.js "$ROOT_DIR/scripts/"*.mjs; do if node --check "$script"; then pass "${script#$ROOT_DIR/} syntax" else @@ -29,21 +27,21 @@ else fail "security regression tests" fi -if rg -n 'fonts\.googleapis\.com|fonts\.gstatic\.com|mcp\.figma\.com|figma-capture-loader' \ +if grep -En 'fonts\.googleapis\.com|fonts\.gstatic\.com|mcp\.figma\.com|figma-capture-loader' \ "$ROOT_DIR/index.html" "$ROOT_DIR/terms-of-use.html" "$ROOT_DIR/privacy-policy.html"; then fail "production HTML contains a prohibited external asset origin or development capture loader" else pass "production HTML excludes Google Fonts and Figma capture references" fi -if rg -n '\[[^]]*\]|aria-label="Blank draft cell"|\[' \ +if grep -En '\[[^]]*\]|aria-label="Blank draft cell"|\[' \ "$ROOT_DIR/terms-of-use.html" "$ROOT_DIR/privacy-policy.html"; then fail "legal pages still contain draft markers that require counsel review" else pass "legal pages contain no draft markers" fi -if python3 - "$ROOT_DIR/assets/satoshi-demo-snapshot.js" <<'PY' +if python3 - "$ROOT_DIR/assets/satoshi-demo-snapshot.js" "${1:-}" <<'PY' from datetime import datetime, timezone import json from pathlib import Path @@ -57,9 +55,11 @@ if prefix not in text or not text.rstrip().endswith(");"): payload = json.loads(text.split(prefix, 1)[1].rsplit(");", 1)[0]) as_of = datetime.fromisoformat(payload["asOf"].replace("Z", "+00:00")) age_days = (datetime.now(timezone.utc) - as_of).total_seconds() / 86400 -if age_days < 0 or age_days > 14: +if age_days < 0 or (age_days > 14 and "--allow-stale-snapshot" not in sys.argv): raise SystemExit(f"snapshot is {age_days:.1f} days old") runtime_cache = payload.get("runtimeCache") +if not isinstance(runtime_cache, dict) or runtime_cache.get("priceHistoryVersion") != 1: + raise SystemExit("snapshot has unverified legacy price history") if not isinstance(runtime_cache, dict) or runtime_cache.get("historyScope") != "ALL": raise SystemExit("snapshot must include bounded all-time runtime cache") balances = payload.get("balancesByAddress") @@ -72,7 +72,7 @@ if not all(isinstance(snapshot.get("txEvents"), list) and snapshot["txEvents"] f raise SystemExit("snapshot per-address transaction cache missing") PY then - pass "bundled Satoshi snapshot is fresh and includes per-address all-time detail" + pass "bundled Satoshi snapshot meets the selected age policy and includes per-address detail" else fail "bundled Satoshi snapshot is stale, invalid, or missing per-address detail" fi @@ -94,6 +94,12 @@ else fail "manifest paths are not relative" fi +if node "$ROOT_DIR/scripts/check-release.mjs"; then + pass "release versions and local assets agree" +else + fail "release versions or local assets disagree" +fi + if (( failures > 0 )); then printf '\nRelease verification failed with %d issue(s).\n' "$failures" >&2 exit 1 diff --git a/styles.css b/styles.css index 0449e4f..d3bb2b8 100644 --- a/styles.css +++ b/styles.css @@ -2856,14 +2856,14 @@ body.is-watch-view .watch-view-demo-wallet { pointer-events: auto; } -.app-footer-copy span { +.app-footer-copy > span { display: block; color: rgba(255, 255, 255, 0.32); font-size: 11px; line-height: 14.3px; } -.app-footer-copy span + span { +.app-footer-copy > span + span { margin-top: 2px; } @@ -3611,11 +3611,11 @@ body.is-watch-view .watch-view-demo-wallet { max-width: none; } - .app-footer-copy span { + .app-footer-copy > span { display: inline; } - .app-footer-copy span + span { + .app-footer-copy > span + span { margin-top: 0; } @@ -3731,3 +3731,12 @@ body.is-watch-view .watch-view-demo-wallet { } + +/* Historical price coverage and conversion estimates. */ +.data-status { + color: var(--text-secondary, #a5a5a5); + font-size: 12px; + line-height: 1.5; +} +.data-status { margin: 8px 0 0; } +.data-status:empty { display: none; } diff --git a/terms-of-use.html b/terms-of-use.html index dbecf58..8b6aa8c 100644 --- a/terms-of-use.html +++ b/terms-of-use.html @@ -14,7 +14,7 @@ Terms of Use | Bitkit Watch - +
diff --git a/tests/browser/watch.spec.mjs b/tests/browser/watch.spec.mjs new file mode 100644 index 0000000..2f106ec --- /dev/null +++ b/tests/browser/watch.spec.mjs @@ -0,0 +1,209 @@ +import { test, expect } from "@playwright/test"; +const SEGWIT = "bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4"; +const SECOND = "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"; + +async function mockApis(context, { failAddress = () => false, holdAddress = async () => {} } = {}) { + const requests = []; + await context.route("https://**/*", async (route) => { + const url = new URL(route.request().url()); + if (url.hostname === "127.0.0.1") return route.continue(); + requests.push(url.href); + let payload; + if (url.pathname.includes("/address/")) { + const address = url.pathname.split("/address/")[1].split("/")[0]; + await holdAddress(address); + if (failAddress(address)) { + await route.fulfill({ status: 503, contentType: "application/json", body: "{}" }); + return; + } + if (url.pathname.includes("/txs")) payload = url.pathname.includes("/chain/") ? [] : [{ + txid: "a".repeat(64), vin: [{ is_coinbase: true, prevout: null }], + vout: [{ scriptpubkey_address: address, value: 12345 }], + status: { confirmed: true, block_time: 1700000000 }, fee: 0, + }]; + else payload = { address, chain_stats: { funded_txo_sum: 12345, spent_txo_sum: 0 }, mempool_stats: { funded_txo_sum: 0, spent_txo_sum: 0 } }; + } else if (url.pathname.endsWith("/candles")) payload = []; + else if (url.pathname.endsWith("/ticker")) payload = { price: "100000" }; + else if (url.pathname.endsWith("/spot")) payload = { data: { amount: "100000" } }; + else if (url.pathname.endsWith("/exchange-rates")) payload = { data: { rates: { USD: "100000", EUR: "90000", JPY: "15000000", GBP: "80000", CNY: "700000" } } }; + else payload = {}; + await route.fulfill({ status: 200, contentType: "application/json", body: JSON.stringify(payload) }).catch(() => {}); + }); + return requests; +} + +function collectErrors(context) { + const errors = []; + context.on("page", (page) => page.on("pageerror", (error) => errors.push(error.message))); + return errors; +} + +async function addAddress(page, address) { + await page.locator("#walletAddressInput").fill(address); + if (address.startsWith("BC1")) { + await page.evaluate(() => { + document.querySelector("#walletAddAddressForm").requestSubmit(); + document.querySelector("#walletAddAddressForm").requestSubmit(); + }); + } else await page.locator("#walletAddressInput").press("Enter"); + await expect.poll(() => page.evaluate((value) => { + const cache = JSON.parse(localStorage.getItem("bitkit-vault-runtime-cache-v1")); + const state = JSON.parse(localStorage.getItem("bitkit-vault-state-v1")); + const id = state.addresses.find((entry) => entry.address === value)?.id; + return cache?.addressSnapshots.some((entry) => entry.entryId === id && entry.detailScope === "ALL"); + }, address.toLowerCase().startsWith("bc1") ? address.toLowerCase() : address)).toBe(true); +} + +test("watchlist persists, rejects secrets, and keeps balances after a partial refresh", async ({ context }) => { + const errors = collectErrors(context); + let fail = false; + const requests = await mockApis(context, { failAddress: (address) => fail && address === SECOND }); + const page = await context.newPage(); + await page.goto("/"); + await expect(page.locator(".wallet-card[data-wallet-id]")).toHaveCount(3); + await page.getByRole("button", { name: "Savings", exact: false }).click(); + await page.locator("#walletAddressInput").fill("a".repeat(64)); + await page.locator("#walletAddressInput").press("Enter"); + await expect(page.locator("#walletAddressFeedback")).toContainText("private key"); + expect(requests.some((url) => url.includes("/address/" + "a".repeat(64)))).toBe(false); + await addAddress(page, SEGWIT.toUpperCase()); + expect(await page.evaluate((address) => JSON.parse(localStorage.getItem("bitkit-vault-state-v1")).addresses.filter((entry) => entry.address === address).length, SEGWIT)).toBe(1); + await addAddress(page, SECOND); + await page.reload(); + await expect(page.locator("#walletAddressList [data-action='open-address']")).toHaveCount(2); + const before = await page.locator("#walletPrimarySummary").textContent(); + fail = true; + await page.locator("#refreshButton").click(); + await expect.poll(() => page.evaluate((address) => { + const state = JSON.parse(localStorage.getItem("bitkit-vault-state-v1")); + const cache = JSON.parse(localStorage.getItem("bitkit-vault-runtime-cache-v1")); + const id = state.addresses.find((entry) => entry.address === address)?.id; + return cache.addressSnapshots.find((snapshot) => snapshot.entryId === id)?.refreshFailed; + }, SECOND)).toBe(true); + await expect(page.locator("#walletPrimarySummary")).toHaveText(before); + // Simulate a cache with no market coverage. Real prices from the public demo can otherwise be reused. + await page.evaluate(() => { + const key = "bitkit-vault-runtime-cache-v1"; + const cache = JSON.parse(localStorage.getItem(key)); + cache.priceHistory = []; cache.intradayPriceHistory = []; cache.historyAvailable = false; + localStorage.setItem(key, JSON.stringify(cache)); + }); + await page.reload(); + // Fiat history must show gaps, never today's spot price in the past. + await page.locator("#unitDisplayButton").click(); + await expect(page.locator("#walletChartDataStatus")).toContainText("Price history incomplete"); + await expect(page.locator("#walletChartGrowth")).toBeHidden(); + await page.reload(); + await expect.poll(() => page.evaluate((address) => { + const state = JSON.parse(localStorage.getItem("bitkit-vault-state-v1")); + const cache = JSON.parse(localStorage.getItem("bitkit-vault-runtime-cache-v1")); + const id = state.addresses.find((entry) => entry.address === address)?.id; + return cache.addressSnapshots.find((snapshot) => snapshot.entryId === id)?.refreshFailed; + }, SECOND)).toBe(true); + expect(errors).toEqual([]); +}); + +test("clearing another tab cancels pending requests; demo chart works on mobile and desktop", async ({ context }, testInfo) => { + const errors = collectErrors(context); + let release, start; + const started = new Promise((resolve) => { start = resolve; }); + const held = new Promise((resolve) => { release = resolve; }); + let hold = false; + await mockApis(context, { holdAddress: async (address) => { + if (hold && address === SECOND) { start(); await held; } + } }); + const page = await context.newPage(); + await page.goto("/"); + await page.getByRole("button", { name: "Savings", exact: false }).click(); + await addAddress(page, SEGWIT); + const second = await context.newPage(); + await second.goto("/"); + await expect(second.locator(".wallet-card[data-wallet-id]")).toHaveCount(3); + hold = true; + await page.locator("#walletAddressInput").fill(SECOND); + await page.locator("#walletAddressInput").press("Enter"); + await started; + await second.evaluate(() => localStorage.setItem("bitkit-vault-state-quarantine-v1", "private recovery copy")); + await second.locator("#settingsButton").click(); + second.once("dialog", (dialog) => dialog.accept()); + await second.locator("#settingsClearStorageButton").click(); + hold = false; release(); + await expect.poll(() => page.evaluate(() => localStorage.getItem("bitkit-vault-state-v1"))).not.toContain(SECOND); + await page.locator("#settingsButton").click(); + await page.locator("#settingsHideDustButton").click(); + const saved = await page.evaluate(() => ({ + state: localStorage.getItem("bitkit-vault-state-v1"), cache: localStorage.getItem("bitkit-vault-runtime-cache-v1"), + quarantine: localStorage.getItem("bitkit-vault-state-quarantine-v1"), + })); + expect(saved.quarantine).toBeNull(); + expect(JSON.stringify(saved)).not.toContain(SECOND); + expect(JSON.stringify(saved)).not.toContain(SEGWIT); + await page.locator("#settingsModalClose").click(); + await page.locator("#brandHomeButton").click(); + await page.getByRole("button", { name: "Satoshi", exact: false }).click(); + await expect(page.locator("#walletChartStage svg")).toBeVisible(); + await page.locator("#walletChartStage").click(); + await expect(page.locator("#chartModal")).toBeVisible(); + await page.locator("#chartModalClose").click(); + await page.screenshot({ path: testInfo.outputPath("wallet.png"), fullPage: true }); + expect(errors).toEqual([]); +}); + +test("expanded chart refreshes price notes across ranges and clears them for BTC", async ({ context }) => { + const errors = collectErrors(context); + await mockApis(context); + const page = await context.newPage(); + await page.goto("/"); + await page.getByRole("button", { name: "Savings", exact: false }).click(); + await addAddress(page, SEGWIT); + // Daily prices are unavailable; the hourly observations fully cover the 1D chart. + await page.evaluate(() => { + const key = "bitkit-vault-runtime-cache-v1"; + const cache = JSON.parse(localStorage.getItem(key)); + cache.priceHistory = []; + cache.historyAvailable = false; + cache.intradayPriceHistory = []; + for (let time = cache.intradayStart; time <= cache.intradayEnd; time += 3_600_000) { + cache.intradayPriceHistory.push([new Date(time).toISOString().slice(0, 13), 100_000]); + } + localStorage.setItem(key, JSON.stringify(cache)); + }); + await page.reload(); + await page.locator("#unitDisplayButton").click(); + const warning = "Price history incomplete; gaps are left blank."; + await expect(page.locator("#walletChartDataStatus")).toHaveText(warning); + await page.locator("#walletChartStage").click(); + await expect(page.locator("#chartModalDataStatus")).toHaveText(warning); + await page.locator('#chartModalTabs [data-range="1D"]').click(); + await expect(page.locator("#chartModalDataStatus")).toHaveText(""); + await expect(page.locator("#walletChartDataStatus")).toHaveText(""); + await page.locator('#chartModalTabs [data-range="30D"]').click(); + await expect(page.locator("#chartModalDataStatus")).toHaveText(warning); + await page.locator("#chartModalClose").click(); + await expect(page.locator("#chartModalDataStatus")).toHaveText(""); + await page.locator("#unitDisplayButton").click(); + await page.locator("#walletChartStage").click(); + await expect(page.locator("#chartModalDataStatus")).toHaveText(""); + await expect(page.locator("#walletChartDataStatus")).toHaveText(""); + expect(errors).toEqual([]); +}); + +test("address lookup timeouts show one readable warning and keep the address saved", async ({ context }) => { + const errors = collectErrors(context); + const requests = await mockApis(context, { holdAddress: async (address) => { + if (address === SEGWIT) await new Promise(resolve => setTimeout(resolve, 500)); + } }); + await context.addInitScript(() => { + const schedule = window.setTimeout.bind(window); + window.setTimeout = (callback, milliseconds, ...args) => schedule(callback, milliseconds === 15000 ? 100 : milliseconds, ...args); + }); + const page = await context.newPage(); + await page.goto("/"); + await page.getByRole("button", { name: "Savings", exact: false }).click(); + await page.locator("#walletAddressInput").fill(SEGWIT); + await page.locator("#walletAddressInput").press("Enter"); + await expect(page.locator("#walletAddressFeedback")).toHaveText("Address saved locally. Data requests timed out. Click Refresh to try again."); + expect(requests.filter(url => url.endsWith(`/address/${SEGWIT}`))).toHaveLength(2); + expect(await page.evaluate((address) => JSON.parse(localStorage.getItem("bitkit-vault-state-v1")).addresses.some(entry => entry.address === address), SEGWIT)).toBe(true); + expect(errors).toEqual([]); +}); diff --git a/tests/release.test.mjs b/tests/release.test.mjs new file mode 100644 index 0000000..42ec643 --- /dev/null +++ b/tests/release.test.mjs @@ -0,0 +1,110 @@ +import test from "node:test"; +import assert from "node:assert/strict"; +import { mkdtemp, mkdir, writeFile, readFile, rm, copyFile } from "node:fs/promises"; +import { spawn } from "node:child_process"; +import { setTimeout as delay } from "node:timers/promises"; +import { tmpdir } from "node:os"; +import path from "node:path"; +import { prepareRelease } from "../scripts/prepare-release.mjs"; +import history from "../assets/market-history.js"; + +async function fixture() { + const root = await mkdtemp(path.join(tmpdir(), "bitkit-release-test-")); + await mkdir(path.join(root, "assets")); + const files = { + "package.json": '{"version":"0.1.4"}', + "package-lock.json": '{"version":"0.1.4","packages":{"":{"version":"0.1.4"}}}', + "index.html": 'v0.1.4', + "privacy-policy.html": '', + "terms-of-use.html": '', + "assets/satoshi-demo-snapshot.js": 'old snapshot', + }; + for (const [file, bytes] of Object.entries(files)) await writeFile(path.join(root, file), bytes); + return { root, files }; +} + +test("release preparation synchronizes all versions, refreshes the snapshot, runs checks, and never invokes git", async () => { + const { root } = await fixture(); + const calls = []; + try { + await prepareRelease(root, "v0.1.5", { run: async (command, args) => { + calls.push([command, args]); + if (args[0] === "scripts/build-satoshi-demo-snapshot.mjs") await writeFile(args[1], "new snapshot"); + } }); + assert.equal(JSON.parse(await readFile(path.join(root, "package.json"))).version, "0.1.5"); + assert.equal(JSON.parse(await readFile(path.join(root, "package-lock.json"))).packages[""].version, "0.1.5"); + assert.match(await readFile(path.join(root, "index.html"), "utf8"), /v0\.1\.5<\/span>/); + assert.match(await readFile(path.join(root, "privacy-policy.html"), "utf8"), /styles.css\?v=0\.1\.5/); + assert.equal(await readFile(path.join(root, "assets/satoshi-demo-snapshot.js"), "utf8"), "new snapshot"); + assert.deepEqual(calls.slice(-2).map(([, args]) => args), [["run", "verify"], ["run", "test:browser"]]); + assert.ok(calls.every(([command]) => command !== "git")); + } finally { await rm(root, { recursive: true, force: true }); } +}); + +test("failed browser validation restores exact previous release files", async () => { + const { root, files } = await fixture(); + try { + await assert.rejects(prepareRelease(root, "0.1.5", { run: async (_, args) => { + if (args[0] === "scripts/build-satoshi-demo-snapshot.mjs") await writeFile(args[1], "new snapshot"); + if (args.includes("test:browser")) throw new Error("browser failed"); + } }), /browser failed/); + for (const [file, bytes] of Object.entries(files)) assert.equal(await readFile(path.join(root, file), "utf8"), bytes); + await assert.rejects(prepareRelease(root, "0.14; command"), /Usage/); + } finally { await rm(root, { recursive: true, force: true }); } +}); + +test("shared snapshot coverage counts missing observations before rendering", () => { + const start = Date.UTC(2020, 0, 1), end = Date.UTC(2020, 0, 5); + const raw = new Map([["2020-01-03", 7000], ["2020-01-06", 8000]]); + const result = history.summarizePriceHistory(raw, start, end); + assert.deepEqual([...result.series], [["2020-01-03", 7000]]); + assert.equal(result.missingDays, 4); + assert.equal(raw.size, 2); + assert.throws(() => history.summarizePriceHistory(raw, 0, 1e100), /Unsupported/); +}); + +for (const [signal, expectedCode] of [["SIGINT", 130], ["SIGTERM", 143]]) { + test(`release CLI restores exact files on ${signal} and stops child writers first`, { timeout: 15_000, skip: process.platform === "win32" }, async () => { + const { root, files } = await fixture(); + let child; + let writerPid; + try { + await mkdir(path.join(root, "scripts")); + await copyFile(new URL("../scripts/prepare-release.mjs", import.meta.url), path.join(root, "scripts/prepare-release.mjs")); + files["package.json"] = JSON.stringify({ version: "0.1.4", scripts: { verify: "node scripts/hold.mjs" } }); + await writeFile(path.join(root, "package.json"), files["package.json"]); + await writeFile(path.join(root, "scripts/build-satoshi-demo-snapshot.mjs"), 'import {writeFile} from "node:fs/promises"; await writeFile(process.argv[2], "// fresh snapshot");'); + await writeFile(path.join(root, "scripts/hold.mjs"), 'import {spawn} from "node:child_process"; spawn(process.execPath,["scripts/writer.mjs"],{stdio:"inherit"}); setInterval(()=>{},1000);'); + // This grandchild ignores graceful termination and would corrupt a premature rollback. + await writeFile(path.join(root, "scripts/writer.mjs"), ` + import {writeFileSync} from "node:fs"; + process.on("SIGTERM",()=>{}); process.on("SIGINT",()=>{}); + writeFileSync("ready", String(process.pid)); + setInterval(()=>writeFileSync("package.json", "late child write"), 30); + `); + child = spawn(process.execPath, ["scripts/prepare-release.mjs", "0.1.5"], { cwd: root, stdio: ["ignore", "pipe", "pipe"] }); + let output = ""; + child.stdout.on("data", chunk => { output += chunk; }); + child.stderr.on("data", chunk => { output += chunk; }); + const closed = new Promise((resolve, reject) => { child.on("error", reject); child.on("close", (code, name) => resolve({code, name})); }); + const deadline = Date.now() + 8000; + while (Date.now() < deadline) { + try { writerPid = Number(await readFile(path.join(root, "ready"), "utf8")); break; } + catch (error) { if (error.code !== "ENOENT") throw error; } + if (child.exitCode !== null) assert.fail(output); + await delay(20); + } + assert.ok(writerPid, `Child validation never started: ${output}`); + child.kill(signal); + assert.deepEqual(await closed, { code: expectedCode, name: null }, output); + assert.match(output, /restored the previous versions and snapshot/); + // Give any surviving writer a chance to reveal itself after restoration. + await delay(120); + for (const [file, bytes] of Object.entries(files)) assert.equal(await readFile(path.join(root, file), "utf8"), bytes, file); + } finally { + if (child?.exitCode === null) child.kill("SIGKILL"); + if (writerPid) { try { process.kill(writerPid, "SIGKILL"); } catch (error) { if (error.code !== "ESRCH") throw error; } } + await rm(root, { recursive: true, force: true }); + } + }); +} diff --git a/tests/security.test.mjs b/tests/security.test.mjs index f6ab461..fbef1d6 100644 --- a/tests/security.test.mjs +++ b/tests/security.test.mjs @@ -16,7 +16,7 @@ function harness({ stored = {}, fetch: fetchImpl = async () => { throw new Error const storage = new Map(Object.entries(stored)); const context = vm.createContext({ BITKIT_WATCH_API_VALIDATION: validation, crypto, Blob, TextDecoder, AbortController, DOMException, - Map, Set, Date, Promise, console, + Map, Set, Date, Promise, console, URL, localStorage: { getItem: (key) => storage.get(key) ?? null, setItem: (key, value) => storage.set(key, value), @@ -26,6 +26,9 @@ function harness({ stored = {}, fetch: fetchImpl = async () => { throw new Error window: { setTimeout, clearTimeout, confirm: () => true }, fetch: fetchImpl, }); + for (const name of ["market-history", "storage", "api", "portfolio", "charts"]) { + vm.runInContext(readFileSync(new URL(`../assets/${name}.js`, import.meta.url), "utf8"), context); + } // Test-only exports: production stays encapsulated and has no diagnostic API. vm.runInContext(source.replace(/\}\)\(\);\s*$/, ` globalThis.app = { @@ -33,6 +36,8 @@ function harness({ stored = {}, fetch: fetchImpl = async () => { throw new Error normalizeRuntimeCache, normalizeCachedTxEvents, normalizeCachedBalanceTimeline, buildDailyBalanceTimeline, buildRuntimeCacheCandidates, classifyAddressBatchDuplicates, fetchJson, withFallback, allSettledWithConcurrency, refreshScopedEntries, + getRetryAt, PortfolioLayer, getSeriesGrowthDescriptor, createSparklineScene, + getDisplayFiatValueFromBtc, fetchProductHistoricalPriceSeries, fetchMarketDataWithCache, refreshVault, hydrateAddressAfterAdd, hydrateAddressDetail, loadTransactionTechnicalDetailsIfNeeded, clearVault, removeAddress, removeWallet, cancelPendingDataWork, handleStorageChange, parseAddressInput, buildWalletCard, buildAddressTagChips, escapeHtml, @@ -347,3 +352,165 @@ test("all-time hydration starts market requests at known activity instead of 197 await assert.rejects(app.hydrateAddressDetail(app.state.addresses[0], "ALL"), /market-stop/); assert.equal(requestedStart, Date.UTC(2023, 10, 14)); }); + +test("missing historical prices stay unknown and growth never uses a future spot price", async () => { + const day = 86_400_000; + const start = Date.UTC(2020, 0, 1); + const { app } = harness({ fetch: async () => Response.json([[ (start + 2 * day) / 1000, 6000, 8000, 7000, 7000, 1 ]]) }); + const result = await app.fetchProductHistoricalPriceSeries("BTC-USD", start, start + 4 * day); + assert.equal(result.missingDays, 4); + assert.equal(result.series.size, 1); + assert.equal(result.series.get("2020-01-03"), 7000); + assert.equal(result.series.has("2020-01-01"), false); + app.setRuntime({ currentPriceUsd: 100_000 }); + assert.equal(app.getDisplayFiatValueFromBtc(1, { timestamp: start }), null); + assert.equal(app.getSeriesGrowthDescriptor([null, 100, 200]), null); + assert.equal(app.getSeriesGrowthDescriptor([100, null, 200]), null); + const scene = app.createSparklineScene({ values: [null, 100, null, 200], timestamps: [1, 2, 3, 4], range: "ALL" }); + assert.equal(scene.points.length, 4); + assert.equal(scene.points[0], null); + assert.equal(scene.points[2], null); + assert.equal(scene.values[0], null); + assert.equal(scene.timestamps[3], 4); + assert.ok(!scene.markup.includes("NaN")); +}); + +test("an empty price response reports the requested missing days, including single-day ranges", async () => { + const { app } = harness({ fetch: async () => Response.json([]) }); + const start = Date.UTC(2020, 0, 1); + assert.equal((await app.fetchProductHistoricalPriceSeries("BTC-USD", start, start)).missingDays, 1); + assert.equal((await app.fetchProductHistoricalPriceSeries("BTC-USD", start, start + 4 * 86_400_000)).missingDays, 5); +}); + +test("legacy synthesized prices are invalidated without losing address balances or transactions", () => { + const { app } = harness(); + const state = watchedState(app); + const entry = state.addresses[0]; + const snapshot = app.PortfolioLayer.buildAddressSnapshot({ entry, provider: "test", bundle: { summary: summary(SEGWIT), transactions: [transaction()], truncated: false }, currentPriceUsd: 100, startTimestamp: TIMESTAMP, endTimestamp: Date.now() }); + const cache = app.serializeRuntimeCache({ ...app.runtime, priceHistory: new Map([["2020-01-01", 7000]]), addressSnapshots: [snapshot] }); + delete cache.priceHistoryVersion; + const normalized = app.normalizeRuntimeCache(cache, state); + assert.equal(normalized.priceHistory.size, 0); + assert.equal(normalized.historyAvailable, false); + assert.equal(normalized.addressSnapshots[0].balanceSats, 100); + assert.equal(normalized.addressSnapshots[0].txEvents.length, 1); +}); + +test("Retry-After supports seconds and HTTP dates, with a conservative default when CORS hides it", () => { + const { app } = harness(); + const now = Date.UTC(2026, 0, 1); + assert.equal(app.getRetryAt("120", now), now + 120_000); + assert.equal(app.getRetryAt(new Date(now + 120_000).toUTCString(), now), now + 120_000); + assert.equal(app.getRetryAt(null, now), now + 60_000); + assert.equal(app.getRetryAt("garbage", now), now + 60_000); + assert.equal(app.getRetryAt("0", now), now); +}); + +test("rate-limited origins remain paused while fallback providers can still run", async () => { + const calls = []; + const { app } = harness({ fetch: async (url) => { + calls.push(url); + return url.includes("mempool") ? Response.json({}, { status: 429, headers: { "Retry-After": "120" } }) : Response.json({ ok: true }); + } }); + const first = "https://mempool.space/api/address/" + GENESIS; + await assert.rejects(app.fetchJson(first), (error) => error.isRateLimit && error.retryAt > Date.now()); + await assert.rejects(app.fetchJson(first), /Retry after/); + assert.equal(calls.length, 1); + const fallback = await app.withFallback([() => app.fetchJson(first), () => app.fetchJson("https://blockstream.info/api/address/" + GENESIS)], "failed"); + assert.equal(fallback.ok, true); + assert.equal(calls.length, 2); +}); + +test("short rate-limit delays retry once and abort promptly when data is cleared", async () => { + let calls = 0; + const { app } = harness({ fetch: async () => ++calls === 1 ? Response.json({}, { status: 429, headers: { "Retry-After": "0" } }) : Response.json({ ok: true }) }); + assert.equal((await app.fetchJson("https://mempool.space/api/test")).ok, true); + assert.equal(calls, 2); + let requests = 0; + const aborting = harness({ fetch: async () => { requests++; return Response.json({}, { status: 429, headers: { "Retry-After": "1" } }); } }); + const pending = aborting.app.fetchJson("https://mempool.space/api/test"); + await tick(); + aborting.app.cancelPendingDataWork(); + await assert.rejects(pending, { name: "AbortError" }); + assert.equal(requests, 1); +}); + +function refreshFixture() { + const { app, storage } = harness(); + app.disableRendering(); + const state = watchedState(app); + const second = { ...state.addresses[0], id: "second", address: GENESIS }; + state.addresses.push(second); + const previousTime = Date.now() - 86_400_000; + const snapshots = state.addresses.map((entry) => ({ + entry, provider: "saved", balanceSats: 100, usdValue: 1, refreshedAt: previousTime, + txEvents: [], balanceTimeline: [], hourlyBalanceTimeline: [], detailScope: "ALL", approximate: false, + })); + app.setRuntime({ hasLoadedOnce: true, addressSnapshots: snapshots, currentPriceUsd: 100_000 }); + app.APILayer.fetchAddressBundle = async (address) => { + if (address === GENESIS) throw new Error("Provider unavailable"); + return { provider: "test", bundle: { summary: summary(address), transactions: [transaction()], truncated: false } }; + }; + app.APILayer.fetchMarketData = async () => ({ currentPriceUsd: 100_000, priceHistory: new Map(), intradayPriceHistory: new Map(), fiatExchangeRates: new Map([["USD", 1]]), historyAvailable: false, historyMissingDays: 1 }); + return { app, storage, previousTime }; +} + +test("partial overview refresh retains saved balances, per-address timestamps and failure status", async () => { + const { app, previousTime } = refreshFixture(); + await app.refreshVault({ reason: "manual", allowSkeleton: false }); + assert.equal(app.runtime.addressSnapshots.length, 2); + const failed = app.runtime.addressSnapshots.find((snapshot) => snapshot.entry.id === "second"); + const fresh = app.runtime.addressSnapshots.find((snapshot) => snapshot.entry.id !== "second"); + assert.equal(failed.balanceSats, 100); + assert.equal(failed.refreshedAt, previousTime); + assert.equal(failed.refreshFailed, true); + assert.ok(fresh.refreshedAt > previousTime); + assert.equal(fresh.refreshFailed, false); + assert.equal(app.PortfolioLayer.calculateTotals(app.runtime.addressSnapshots).balanceSats, 200); + const normalized = app.normalizeRuntimeCache(app.serializeRuntimeCache(app.runtime), app.state); + assert.equal(normalized.addressSnapshots[1].refreshFailed, true); + assert.equal(normalized.addressSnapshots[1].refreshedAt, previousTime); +}); + +test("total refresh failure keeps last good data and never advances its freshness", async () => { + const { app, previousTime } = refreshFixture(); + app.APILayer.fetchAddressBundle = async () => { throw new Error("offline"); }; + await assert.rejects(app.refreshVault({ reason: "manual", allowSkeleton: false }), /All address lookups failed/); + assert.equal(app.runtime.addressSnapshots.length, 2); + assert.ok(app.runtime.addressSnapshots.every((snapshot) => snapshot.refreshedAt === previousTime && snapshot.refreshFailed)); +}); + +test("a price outage preserves cached prices and still accepts fresh address balances", async () => { + const { app } = refreshFixture(); + app.APILayer.fetchMarketData = async () => { throw new Error("prices offline"); }; + await app.refreshVault({ reason: "manual", allowSkeleton: false }); + assert.equal(app.runtime.currentPriceUsd, 100_000); + assert.equal(app.runtime.priceStale, true); + assert.equal(app.runtime.addressSnapshots.length, 2); +}); + +test("two timed-out explorer attempts produce one clear message instead of duplicate abort errors", async () => { + let requests = 0; + const { app, context } = harness({ fetch: async (_, { signal }) => { + requests++; + return new Promise((_, reject) => signal.addEventListener("abort", () => reject(signal.reason), { once: true })); + } }); + context.window.setTimeout = (callback) => setTimeout(callback, 0); + await assert.rejects(app.APILayer.fetchAddressSummary(SEGWIT), (error) => { + assert.equal(error.message, "Data requests timed out. Click Refresh to try again."); + assert.equal(error.cause.errors.length, 2); + assert.ok(error.cause.errors.every((failure) => failure.isTimeout)); + return true; + }); + assert.equal(requests, 2); +}); + +test("provider failure details stay in the error cause instead of repeating in the user message", async () => { + const { app } = harness({ fetch: async () => Response.json({}, { status: 503 }) }); + await assert.rejects(app.APILayer.fetchAddressSummary(SEGWIT), (error) => { + assert.equal(error.message, "Address summary lookup failed. Click Refresh to try again."); + assert.equal(error.cause.errors.length, 2); + assert.ok(!error.message.includes(" · ")); + return true; + }); +});