From a405475bd13006a4e6c0bf8405a5c96a027af79b Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 2 Dec 2024 10:31:14 +0100 Subject: [PATCH] bugfixing: consider high price target instead median on dashboard --- src/routes/+page.svelte | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 612d6122..60cc9125 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -54,7 +54,8 @@ - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Stocknear - Free Online Stock Analysis for Investors + {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ""} Stocknear + - Free Online Stock Analysis for Investors stock is "{analystReport?.consensusRating}" The 12-month stock - price forecast is ${analystReport?.medianPriceTarget}, which - is an {analystReport?.medianPriceChange > 0 + price forecast is ${analystReport?.highPriceTarget}, which is + an {analystReport?.highPriceChange > 0 ? "increase" - : "decreas"} of {analystReport?.medianPriceChange}% from the + : "decreas"} of {analystReport?.highPriceChange}% from the latest price.