From 21b1462c3444f5cd17aa7260b9307cd61499ee3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Verstrynge?= Date: Mon, 4 Mar 2024 15:05:32 +0100 Subject: [PATCH] Adding links --- index.html | 202 ++++++++++++++++++++++++++++------------------------- 1 file changed, 107 insertions(+), 95 deletions(-) diff --git a/index.html b/index.html index d928716..89bcb9b 100644 --- a/index.html +++ b/index.html @@ -30,6 +30,14 @@ box-sizing: border-box; font-family: Verdana, Geneva, Tahoma, sans-serif; } +a { + color: #010100; + text-decoration: none; +} +a:hover { + color: #E1492C; +} + button { padding-top: 1px; padding-bottom: 1px; @@ -182,7 +190,9 @@ Retrend - S&P 500 + + S&P 500/Nasdaq @@ -193,43 +203,9 @@ 0 - - Nasdaq - - - - - Sideways - ↝ - 0 - 0 - - - US GDP - - - - - Sideways - ↝ - 0 - 0 - - - BTC - - - - - Sideways - ↝ - 0 - 0 - - - - ETH + ETH/BTC @@ -241,7 +217,21 @@ - US debt + GDP (US) + + + + + Sideways + ↝ + 0 + 0 + + + + Public debt (US) @@ -252,7 +242,9 @@ 0 - Inflation + + Inflation (US) @@ -263,7 +255,9 @@ 0 - US rate + + Fed rate (US) @@ -274,8 +268,9 @@ 0 - - Real interest + + Real interest (US) @@ -286,20 +281,9 @@ 0 - - Bonds - - - - - Sideways - ↝ - 0 - 0 - - - Gold + Gold @@ -310,7 +294,23 @@ 0 - Real estate + + + Bonds (US treasury) + + + + + Sideways + ↝ + 0 + 0 + + + + Real estate (US) @@ -322,7 +322,8 @@ - Oil + Oil (WTI) @@ -334,18 +335,8 @@ - Unemployment - - - - - Sideways - ↝ - 0 - 0 - - - Sentiment + Sentiment (US) @@ -356,7 +347,22 @@ 0 - Bank lending + + Unemployment (US) + + + + + Sideways + ↝ + 0 + 0 + + + + Bank lending (US) @@ -367,7 +373,9 @@ 0 - Government borrowing + + Government deficit (US) @@ -378,7 +386,9 @@ 0 - Fed balance sheet + + Fed balance sheet @@ -390,7 +400,8 @@ - Reverse repo + Reverse repo @@ -402,7 +413,8 @@ - M2 + M2 @@ -451,7 +463,7 @@ // Input - var i_BTC = 0, x_BTC = 0, x2_BTC = 0; + /* var i_BTC = 0, x_BTC = 0, x2_BTC = 0; */ var i_ETH = 0, x_ETH = 0, x2_ETH = 0; var i_BankLending = 0, x_BankLending = 0, x2_BankLending = 0; // influences money supply var i_Bonds = 0, x_Bonds = 0, x2_Bonds = 0; @@ -460,7 +472,7 @@ var i_GovernmentBorrowing = 0, x_GovernmentBorrowing = 0, x2_GovernmentBorrowing = 0; // puts money in circulation var i_Infl = 0, x_Infl = 0, x2_Infl = 0; var i_M2 = 0, x_M2 = 0, x2_M2 = 0; // influences inflation most - var i_Nasdaq = 0, x_Nasdaq = 0, x2_Nasdaq = 0; + /* var i_Nasdaq = 0, x_Nasdaq = 0, x2_Nasdaq = 0; */ var i_Oil = 0, x_Oil = 0, x2_Oil = 0; var i_RealEstate = 0, x_RealEstate = 0, x2_RealEstate = 0; var i_RealInterest = 0, x_RealInterest = 0, x2_RealInterest = 0; @@ -473,7 +485,7 @@ var i_UsRate = 0, x_UsRate = 0, x2_UsRate = 0; var i_War = 0, x_War = 0, x2_War = 0; - arrBTCElem = document.getElementById("arrow-btc"); + /* arrBTCElem = document.getElementById("arrow-btc"); */ arrETHElem = document.getElementById("arrow-eth"); arrBankLendingElem = document.getElementById("arrow-bankl"); arrBondsElem = document.getElementById("arrow-bonds"); @@ -482,7 +494,7 @@ arrGovernmentBorrowingElem = document.getElementById("arrow-govbor"); arrInflElem = document.getElementById("arrow-infl"); arrM2Elem = document.getElementById("arrow-m2"); - arrNasdaqElem = document.getElementById("arrow-nasdaq"); + /* arrNasdaqElem = document.getElementById("arrow-nasdaq"); */ arrOilElem = document.getElementById("arrow-oil"); arrRealEstateElem = document.getElementById("arrow-real-estate"); arrRealInterestElem = document.getElementById("arrow-real-rate"); @@ -495,7 +507,7 @@ arrUsRateElem = document.getElementById("arrow-us-rate"); arrWarElem = document.getElementById("arrow-war"); - fstBTCElem = document.getElementById("fst-btc"); + /* fstBTCElem = document.getElementById("fst-btc"); */ fstETHElem = document.getElementById("fst-eth"); fstBankLendingElem = document.getElementById("fst-bankl"); fstBondsElem = document.getElementById("fst-bonds"); @@ -504,7 +516,7 @@ fstGovernmentBorrowingElem = document.getElementById("fst-govbor"); fstInflElem = document.getElementById("fst-infl"); fstM2Elem = document.getElementById("fst-m2"); - fstNasdaqElem = document.getElementById("fst-nasdaq"); + /* fstNasdaqElem = document.getElementById("fst-nasdaq"); */ fstOilElem = document.getElementById("fst-oil"); fstRealEstateElem = document.getElementById("fst-real-estate"); fstRealInterestElem = document.getElementById("fst-real-rate"); @@ -517,7 +529,7 @@ fstUsRateElem = document.getElementById("fst-us-rate"); fstWarElem = document.getElementById("fst-war"); - sndBTCElem = document.getElementById("snd-btc"); + /* sndBTCElem = document.getElementById("snd-btc"); */ sndETHElem = document.getElementById("snd-eth"); sndBankLendingElem = document.getElementById("snd-bankl"); sndBondsElem = document.getElementById("snd-bonds"); @@ -526,7 +538,7 @@ sndGovernmentBorrowingElem = document.getElementById("snd-govbor"); sndInflElem = document.getElementById("snd-infl"); sndM2Elem = document.getElementById("snd-m2"); - sndNasdaqElem = document.getElementById("snd-nasdaq"); + /* sndNasdaqElem = document.getElementById("snd-nasdaq"); */ sndOilElem = document.getElementById("snd-oil"); sndRealEstateElem = document.getElementById("snd-real-estate"); sndRealInterestElem = document.getElementById("snd-real-rate"); @@ -541,7 +553,7 @@ function updateData() { - i_BTC = windValue(arrBTCElem.innerHTML); + /* i_BTC = windValue(arrBTCElem.innerHTML); */ i_ETH = windValue(arrETHElem.innerHTML); i_BankLending = windValue(arrBankLendingElem.innerHTML); i_Bonds = windValue(arrBondsElem.innerHTML); @@ -550,7 +562,7 @@ i_GovernmentBorrowing = windValue(arrGovernmentBorrowingElem.innerHTML); i_Infl = windValue(arrInflElem.innerHTML); i_M2 = windValue(arrM2Elem.innerHTML); - i_Nasdaq = windValue(arrNasdaqElem.innerHTML); + /* i_Nasdaq = windValue(arrNasdaqElem.innerHTML); */ i_Oil = windValue(arrOilElem.innerHTML); i_RealEstate = windValue(arrRealEstateElem.innerHTML); i_RealInterest = windValue(arrRealInterestElem.innerHTML); @@ -563,7 +575,7 @@ i_UsRate = windValue(arrUsRateElem.innerHTML); i_War = windValue(arrWarElem.innerHTML); - x_BTC = i_M2 + i_Infl - i_Sentiment; + /* x_BTC = i_M2 + i_Infl - i_Sentiment; */ x_ETH = i_M2 + i_Infl - i_Sentiment; x_BankLending = 0 - i_UsRate; x_Bonds = i_UsRate + i_GovernmentBorrowing; @@ -573,13 +585,13 @@ x_Infl = i_M2 - i_UsRate; x_M2 = i_BankLending + i_GovernmentBorrowing + i_FedBalanceSheet - i_ReverseRepo + i_UsDebt; - x_Nasdaq = i_M2 - i_UsRate; + /* x_Nasdaq = i_M2 - i_UsRate; */ x_Oil = i_UsGDP; x_RealEstate = i_Infl - i_UsRate - i_Unemployment; x_RealInterest = i_UsRate - i_Infl; x_ReverseRepo = i_ReverseRepo; x_Sentiment = 0 - i_Infl - i_Unemployment - i_UsDebt - + 0.5 * i_SnP500 + 0.5 * i_Nasdaq + i_RealEstate; + + 0.5 * i_SnP500 + i_RealEstate; x_SnP500 = i_M2 - i_UsRate; x_Unemployment = 0 - i_UsGDP; x_UsDebt = 0 - i_UsRate + i_GovernmentBorrowing + i_War; @@ -587,8 +599,8 @@ x_UsRate = i_UsRate; x_War = i_War; - x2_BTC = 0.8 * x_ETH + x_M2 + 0.25 * x_Infl - x_Sentiment; - x2_ETH = 0.8 * x_BTC + x_M2 + 0.25 * x_Infl - x_Sentiment; + /* x2_BTC = 0.8 * x_ETH + x_M2 + 0.25 * x_Infl - x_Sentiment; */ + x2_ETH = x_M2 + 0.25 * x_Infl - x_Sentiment; x2_BankLending = 0 - x_UsRate; x2_Bonds = x_UsRate + x_GovernmentBorrowing; x2_FedBalanceSheet = x_FedBalanceSheet; @@ -597,13 +609,13 @@ x2_Infl = x_M2 - x_UsRate; x2_M2 = x_BankLending + x_GovernmentBorrowing + x_FedBalanceSheet - x_ReverseRepo + x_UsDebt; - x2_Nasdaq = x_M2 - x_UsRate + x_UsGDP; + /* x2_Nasdaq = x_M2 - x_UsRate + x_UsGDP; */ x2_Oil = x_UsGDP; x2_RealEstate = x_Infl - x_UsRate - x_Unemployment; x2_RealInterest = x_UsRate - x_Infl; x2_ReverseRepo = i_ReverseRepo; x2_Sentiment = 0 - x_Infl - x_Unemployment - x_UsDebt - + 0.5 * x_SnP500 + 0.5 * x_Nasdaq + x_RealEstate; + + 0.5 * x_SnP500 + x_RealEstate; x2_SnP500 = x_M2 - x_UsRate; x2_Unemployment = 0 - x_UsGDP; x2_UsDebt = 0 - x_UsRate + x_GovernmentBorrowing + x_War; @@ -613,7 +625,7 @@ // Update - fstBTCElem.innerHTML = x_BTC.toFixed(2); + /* fstBTCElem.innerHTML = x_BTC.toFixed(2); */ fstETHElem.innerHTML = x_ETH.toFixed(2); fstBankLendingElem.innerHTML = x_BankLending.toFixed(2); fstBondsElem.innerHTML = x_Bonds.toFixed(2); @@ -622,7 +634,7 @@ fstGovernmentBorrowingElem.innerHTML = x_GovernmentBorrowing.toFixed(2); fstInflElem.innerHTML = x_Infl.toFixed(2); fstM2Elem.innerHTML = x_M2.toFixed(2); - fstNasdaqElem.innerHTML = x_Nasdaq.toFixed(2); + /* fstNasdaqElem.innerHTML = x_Nasdaq.toFixed(2); */ fstOilElem.innerHTML = x_Oil.toFixed(2); fstRealEstateElem.innerHTML = x_RealEstate.toFixed(2); fstRealInterestElem.innerHTML = x_RealInterest.toFixed(2); @@ -635,7 +647,7 @@ fstUsRateElem.innerHTML = x_UsRate.toFixed(2); fstWarElem.innerHTML = x_War.toFixed(2); - sndBTCElem.innerHTML = x2_BTC.toFixed(2); + /* sndBTCElem.innerHTML = x2_BTC.toFixed(2); */ sndETHElem.innerHTML = x2_ETH.toFixed(2); sndBankLendingElem.innerHTML = x2_BankLending.toFixed(2); sndBondsElem.innerHTML = x2_Bonds.toFixed(2); @@ -644,7 +656,7 @@ sndGovernmentBorrowingElem.innerHTML = x2_GovernmentBorrowing.toFixed(2); sndInflElem.innerHTML = x2_Infl.toFixed(2); sndM2Elem.innerHTML = x2_M2.toFixed(2); - sndNasdaqElem.innerHTML = x2_Nasdaq.toFixed(2); + /* sndNasdaqElem.innerHTML = x2_Nasdaq.toFixed(2); */ sndOilElem.innerHTML = x2_Oil.toFixed(2); sndRealEstateElem.innerHTML = x2_RealEstate.toFixed(2); sndRealInterestElem.innerHTML = x2_RealInterest.toFixed(2);