diff --git a/src/lib/components/Options/OpenInterestByExpiry.svelte b/src/lib/components/Options/OpenInterestByExpiry.svelte index cf9a9a7d..93a4df76 100644 --- a/src/lib/components/Options/OpenInterestByExpiry.svelte +++ b/src/lib/components/Options/OpenInterestByExpiry.svelte @@ -1,9 +1,10 @@
-

+

Open Interest Chart

{#if config !== null}
{/if}
-

- Open Interest Table -

+

Open Interest Table

-
+
@@ -301,50 +298,36 @@ {#each data?.user?.tier === "Pro" ? displayList : displayList?.slice(0, 3) as item, index} - - - -
+ {new Date(item?.expiry).toLocaleDateString("en-US", { month: "short", // Abbreviated month (e.g., Jan) day: "numeric", // Numeric day (e.g., 10) year: "numeric", // Full year (e.g., 2025) })} - {@html abbreviateNumberWithColor( - item?.call_oi?.toFixed(2), - false, - true, - )} + + {abbreviateNumber(item?.call_oi?.toFixed(2))} - {@html abbreviateNumberWithColor( - item?.put_oi?.toFixed(2), - false, - true, - )} + + {abbreviateNumber(item?.put_oi?.toFixed(2))} + {#if item?.put_call_ratio <= 1 && item?.put_call_ratio !== null} - {item?.put_call_ratio?.toFixed(2)} {:else if item?.put_call_ratio > 1 && item?.put_call_ratio !== null} - {item?.put_call_ratio?.toFixed(2)} {:else} diff --git a/src/lib/components/Options/OpenInterestByStrike.svelte b/src/lib/components/Options/OpenInterestByStrike.svelte index 0ec67b18..8784ad34 100644 --- a/src/lib/components/Options/OpenInterestByStrike.svelte +++ b/src/lib/components/Options/OpenInterestByStrike.svelte @@ -1,9 +1,10 @@
-

+

Open Interest Chart

{#if config !== null}
{/if}
-

- Open Interest Table -

+

Open Interest Table

-
+
@@ -274,46 +276,32 @@ {#each data?.user?.tier === "Pro" ? displayList : displayList?.slice(0, 3) as item, index} - - - -
+ {item?.strike?.toFixed(2)} - {@html abbreviateNumberWithColor( - item?.call_oi?.toFixed(2), - false, - true, - )} + + {abbreviateNumber(item?.call_oi?.toFixed(2))} - {@html abbreviateNumberWithColor( - item?.put_oi?.toFixed(2), - false, - true, - )} + + {abbreviateNumber(item?.put_oi?.toFixed(2))} + {#if item?.put_call_ratio <= 1 && item?.put_call_ratio !== null} - {item?.put_call_ratio?.toFixed(2)} {:else if item?.put_call_ratio > 1 && item?.put_call_ratio !== null} - {item?.put_call_ratio?.toFixed(2)} {:else} @@ -328,21 +316,3 @@ - - diff --git a/src/routes/stocks/[tickerID]/forecast/analyst/+page.svelte b/src/routes/stocks/[tickerID]/forecast/analyst/+page.svelte index ef9c1b23..1c14e149 100644 --- a/src/routes/stocks/[tickerID]/forecast/analyst/+page.svelte +++ b/src/routes/stocks/[tickerID]/forecast/analyst/+page.svelte @@ -375,7 +375,7 @@ href={item?.analystId !== null ? `/analysts/${item?.analystId}` : "#"} - class="text-blue-500 sm:hover:text-muted dark:sm:hover: dark:text-blue-400" + class="font-semibold dark:font-normal text-blue-500 sm:hover:text-muted dark:sm:hover: dark:text-blue-400" >{item?.analyst_name} @@ -494,7 +494,7 @@ class=" text-end text-sm sm:text-[1rem] whitespace-nowrap" >
- {#if !latestInfoDate(item?.date)} + {#if latestInfoDate(item?.date)}