diff --git a/src/routes/cramer-tracker/+page.svelte b/src/routes/cramer-tracker/+page.svelte index b4ffc470..5253707f 100644 --- a/src/routes/cramer-tracker/+page.svelte +++ b/src/routes/cramer-tracker/+page.svelte @@ -1,73 +1,27 @@ @@ -228,7 +224,7 @@
- {#if isLoaded} -
+ - + + + Jim Cramer was accurate in {(winRate * 100)?.toFixed(0)}% - - - - Jim Cramer was accurate in {(winRate * 100)?.toFixed(0)}% - of his last {rawData?.length} forecasts. Is it time to consider the - "Inverse Cramer" strategy? - -
+ of his last {rawData?.length} forecasts. Is it time to consider the + "Inverse Cramer" strategy? + + -
-
+
+ -
- - - - - {#each displayList as item} - + + + + {#each stockList as item} + + - + - + - + - + - + - + + {#if checkedSymbol === item?.ticker} + - - {item?.sector} - - - {/each} - -
- {new Date(item?.date)?.toLocaleString("en-US", { - month: "short", - day: "numeric", - year: "numeric", - daySuffix: "2-digit", - })} - + + - - + {item?.name?.length > charNumber + ? item?.name?.slice(0, charNumber) + "..." + : item?.name} + - {item?.name?.length > charNumber - ? item?.name?.slice(0, charNumber) + "..." - : item?.name} - + {item?.sentiment} + - {item?.sentiment} - + {item?.returnSince > 0 ? "+" : ""}{item?.returnSince}% + - {item?.returnSince > 0 ? "+" : ""}{item?.returnSince}% - + {item?.ratings !== null ? item?.ratings : "n/a"} + + {new Date(item?.date).toLocaleString("en-US", { + month: "short", + day: "numeric", + year: "numeric", + daySuffix: "2-digit", + })} +
+
+
+
+
+ ({ + ...item, + type: item?.sentiment, + }), + )} + symbol={item?.ticker} + numOfRatings={item?.ratings} + /> +
+
+
+
+
-
+ {/if} + {/each} + +
- {:else} -
-
- -
-
- {/if} +