diff --git a/src/routes/analysts/+page.svelte b/src/routes/analysts/+page.svelte index 80bc34f6..93abae9c 100644 --- a/src/routes/analysts/+page.svelte +++ b/src/routes/analysts/+page.svelte @@ -136,36 +136,37 @@ $: { - - - - - - - - + + {#each analytRatingList as item, index} goto(`/analysts/${item?.analystId}`)} class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] odd:bg-[#27272A] {index+1 === rawData?.length && data?.user?.tier !== 'Pro' ? 'opacity-[0.1]' : ''} cursor-pointer"> - @@ -195,12 +196,9 @@ $: { - - - - - + + + {/each} diff --git a/src/routes/analysts/[slug]/+page.svelte b/src/routes/analysts/[slug]/+page.svelte index 56a9d119..aecbb50e 100644 --- a/src/routes/analysts/[slug]/+page.svelte +++ b/src/routes/analysts/[slug]/+page.svelte @@ -207,9 +207,9 @@ function sectorSelector(sector) { Main Sectors: -
+
{#each data?.getAnalystStats?.mainSectors as sector} -
+ # + Analyst - Main Sector - + + Success Rate + Average Return + Total Ratings + + Main Sector + Last Rating
+ {item?.rank} - {item?.mainSectors?.at(0)} - + + + {#if Number(item?.successRate) >= 0} {Number(item?.successRate)?.toFixed(2)}% {/if} @@ -218,10 +216,16 @@ $: { {item?.totalRatings} + + + {item?.mainSectors?.at(0)} + {item?.lastRating !== null ? new Date(item?.lastRating)?.toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' }) : 'n/a'}
- - - - {#each ratingsList as item, index} + {#each ratingsList as item} goto(`/stocks/${item?.ticker}`)} class="sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] odd:bg-[#27272A] cursor-pointer"> - - - - diff --git a/src/routes/analysts/top-stocks/+page.svelte b/src/routes/analysts/top-stocks/+page.svelte index 5df192ad..35aca29f 100644 --- a/src/routes/analysts/top-stocks/+page.svelte +++ b/src/routes/analysts/top-stocks/+page.svelte @@ -48,7 +48,7 @@ - {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ''} Top 100 Strong Buy Stocks · stocknear + {$numberOfUnreadNotification > 0 ? `(${$numberOfUnreadNotification})` : ''} Top 100 Strong Buy Stocks · stocknear
+ Stock + Action Price Target @@ -247,39 +247,29 @@ function sectorSelector(sector) {
-
+
+
{item?.ticker} - {item?.name} + {item?.name}
+
- - + {item?.action_company}: + {item?.rating_current} - {item?.action_company} -
- {#if Math?.ceil(item?.adjusted_pt_prior) !== 0} - ${Math?.ceil(item?.adjusted_pt_prior)} - - ${Math?.ceil(item?.adjusted_pt_current)} - {:else if Math?.ceil(item?.adjusted_pt_current) !== 0} - ${Math?.ceil(item?.adjusted_pt_current)} - {/if} -
{#if Math?.ceil(item?.adjusted_pt_prior) !== 0} ${Math?.ceil(item?.adjusted_pt_prior)} @@ -291,7 +281,7 @@ function sectorSelector(sector) {
+ {new Date(item?.date).toLocaleString('en-US', { month: 'short', day: 'numeric', year: 'numeric', daySuffix: '2-digit' })}