diff --git a/src/lib/components/AnalystEstimate.svelte b/src/lib/components/AnalystEstimate.svelte index 53f38299..98d76bb9 100644 --- a/src/lib/components/AnalystEstimate.svelte +++ b/src/lib/components/AnalystEstimate.svelte @@ -783,7 +783,7 @@ - + {#each xData as item} diff --git a/src/lib/components/DarkPool/HistoricalVolume.svelte b/src/lib/components/DarkPool/HistoricalVolume.svelte index c0857e19..44017987 100644 --- a/src/lib/components/DarkPool/HistoricalVolume.svelte +++ b/src/lib/components/DarkPool/HistoricalVolume.svelte @@ -340,7 +340,7 @@
Fiscal Year
- + diff --git a/src/lib/components/FailToDeliver.svelte b/src/lib/components/FailToDeliver.svelte index ff9b4a2e..70a2e111 100644 --- a/src/lib/components/FailToDeliver.svelte +++ b/src/lib/components/FailToDeliver.svelte @@ -321,7 +321,7 @@
Date Total Volume
- + diff --git a/src/lib/components/Options/HottestContracts.svelte b/src/lib/components/Options/HottestContracts.svelte index 1cc50c8f..f7fd3785 100644 --- a/src/lib/components/Options/HottestContracts.svelte +++ b/src/lib/components/Options/HottestContracts.svelte @@ -5,6 +5,7 @@ import TableHeader from "$lib/components/Table/TableHeader.svelte"; import UpgradeToPro from "$lib/components/UpgradeToPro.svelte"; import highcharts from "$lib/highcharts.ts"; + import { mode } from "mode-watcher"; export let data; export let ticker; @@ -378,7 +379,7 @@ // Highcharts configuration object const options = { chart: { - backgroundColor: "#09090B", + backgroundColor: $mode === "light" ? "#fff" : "#09090B", animation: false, height: 360, }, @@ -467,7 +468,7 @@ }, borderRadius: 4, formatter: function () { - let tooltipContent = `${new Date( + let tooltipContent = `${new Date( this.x, ).toLocaleDateString("en-US", { year: "numeric", @@ -476,8 +477,8 @@ })}
`; this.points.forEach((point) => { - tooltipContent += `${point.series.name}: - ${abbreviateNumber( + tooltipContent += `${point.series.name}: + ${abbreviateNumber( point.y, )}
`; }); @@ -569,22 +570,20 @@ } -
+

Hottest Contracts (Highest Volume)

-
+
Date Price
@@ -592,7 +591,7 @@ {#each volumeList as item, index} {item?.option_type === "C" ? "Call" : "Put"} @@ -613,7 +612,7 @@ on:click={() => handleViewData(item)} on:mouseover={() => getContractHistory(item?.option_symbol)} - class="px-2 sm:px-0 cursor-pointer text-[#04D9FF] sm:hover:text-white sm:hover:underline sm:hover:underline-offset-4" + class="px-2 sm:px-0 cursor-pointer text-[#04D9FF] sm:hover: sm:hover:underline sm:hover:underline-offset-4" > {item?.strike_price} @@ -631,22 +630,22 @@
{item?.dte} {item?.otm}% {item?.last ?? "n/a"} {#if item?.low && item?.high} {item?.low}-{item?.high} @@ -655,17 +654,17 @@ {/if} {item?.volume?.toLocaleString("en-US")} {item?.open_interest?.toLocaleString("en-US")} {#if item?.changeOI >= 0} {@html abbreviateNumberWithColor( item?.total_premium, @@ -698,13 +697,13 @@

Highest OI Contracts

-
+
@@ -712,7 +711,7 @@ {#each openInterestList as item, index} {item?.option_type === "C" ? "Call" : "Put"} @@ -733,7 +732,7 @@ on:click={() => handleViewData(item)} on:mouseover={() => getContractHistory(item?.option_symbol)} - class="cursor-pointer text-[#04D9FF] sm:hover:text-white sm:hover:underline sm:hover:underline-offset-4" + class="cursor-pointer text-[#04D9FF] sm:hover: sm:hover:underline sm:hover:underline-offset-4" > {item?.strike_price} @@ -751,22 +750,22 @@
{item?.dte} {item?.otm}% {item?.last ?? "n/a"} {#if item?.low && item?.high} {item?.low}-{item?.high} @@ -775,17 +774,17 @@ {/if} {item?.volume?.toLocaleString("en-US")} {item?.open_interest?.toLocaleString("en-US")} {#if item?.changeOI >= 0} {@html abbreviateNumberWithColor( item?.total_premium, @@ -828,26 +827,28 @@ class="modal {$screenWidth < 640 ? 'modal-bottom ' : ''} bg-[#000]/40 sm:px-5" >