diff --git a/src/routes/stocks/[tickerID]/options/hottest-contracts/+page.svelte b/src/routes/stocks/[tickerID]/options/hottest-contracts/+page.svelte index 76eeed49..7ab9bab3 100644 --- a/src/routes/stocks/[tickerID]/options/hottest-contracts/+page.svelte +++ b/src/routes/stocks/[tickerID]/options/hottest-contracts/+page.svelte @@ -2,6 +2,7 @@ import { abbreviateNumberWithColor } from "$lib/utils"; import * as HoverCard from "$lib/components/shadcn/hover-card/index.js"; import UpgradeToPro from "$lib/components/UpgradeToPro.svelte"; + import Infobox from "$lib/components/Infobox.svelte"; export let data; let volumeList = data?.getData; @@ -31,350 +32,374 @@
| Chain | + Hottest Contracts (Highest Volume) + +
| Chain | -Last | -Low-High | -Volume | -OI | -OI Change | -Bid/Ask Vol | -Total Prem | -|
| Last | - {item?.strike_price} - {item?.option_type === "C" ? "Call" : "Put"} - {" " + - item?.date_expiration + - " " + - `(${daysLeft(item?.date_expiration)})`} - - -Low-High | - {item?.last_price} - -Volume | - {item?.low_price}-{item?.high_price} - -OI | +OI Change | - {item?.volume?.toLocaleString("en-US")} - -Bid/Ask Vol | - {item?.open_interest?.toLocaleString("en-US")} - -Total Prem | - {#if item?.open_interest_change >= 0} - +{item?.open_interest_change?.toLocaleString( - "en-US", - )} - {:else} - {item?.open_interest_change?.toLocaleString( - "en-US", - )} - {/if} - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Bid Vol: {@html abbreviateNumberWithColor(
- item?.bid_volume,
- false,
- true,
- )}
-
-
- Mid Vol: {@html abbreviateNumberWithColor(
- item?.mid_volume,
- false,
- true,
- )}
-
-
- Ask Vol: {@html abbreviateNumberWithColor(
- item?.ask_volume,
- false,
- true,
- )}
-
- |
- - {@html abbreviateNumberWithColor( - item?.total_premium, - false, - true, - )} - |
| + {item?.strike_price} + + {item?.option_type === "C" ? "Call" : "Put"} + + {" " + + item?.date_expiration + + " " + + `(${daysLeft(item?.date_expiration)})`} + | + ++ {item?.last_price} + | ++ {item?.low_price}-{item?.high_price} + | ++ {item?.volume?.toLocaleString("en-US")} + | ++ {item?.open_interest?.toLocaleString("en-US")} + | ++ {#if item?.open_interest_change >= 0} + +{item?.open_interest_change?.toLocaleString( + "en-US", + )} + {:else} + {item?.open_interest_change?.toLocaleString( + "en-US", + )} + {/if} + | +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Bid Vol: {@html abbreviateNumberWithColor(
+ item?.bid_volume,
+ false,
+ true,
+ )}
+
+
+ Mid Vol: {@html abbreviateNumberWithColor(
+ item?.mid_volume,
+ false,
+ true,
+ )}
+
+
+ Ask Vol: {@html abbreviateNumberWithColor(
+ item?.ask_volume,
+ false,
+ true,
+ )}
+
+ |
+ + {@html abbreviateNumberWithColor( + item?.total_premium, + false, + true, + )} + | +
| Chain | -Last | -Low-High | -Volume | -OI | -OI Change | -Bid/Ask Vol | -Total Prem | -||
| Last | - {item?.option_type === "C" ? "Call" : "Put"} - {" " + - item?.date_expiration + - " " + - `(${daysLeft(item?.date_expiration)})`} - -Low-High | - {item?.strike_price} - -Volume | - {item?.last_price} - -OI | +OI Change | - {item?.low_price}-{item?.high_price} - -Bid/Ask Vol | - {item?.volume?.toLocaleString("en-US")} - -Total Prem | - {item?.open_interest?.toLocaleString("en-US")} - -- {#if item?.open_interest_change >= 0} - +{item?.open_interest_change?.toLocaleString( - "en-US", - )} - {:else} - {item?.open_interest_change?.toLocaleString( - "en-US", - )} - {/if} - | -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Bid Vol: {@html abbreviateNumberWithColor(
- item?.bid_volume,
- false,
- true,
- )}
-
-
- Mid Vol: {@html abbreviateNumberWithColor(
- item?.mid_volume,
- false,
- true,
- )}
-
-
- Ask Vol: {@html abbreviateNumberWithColor(
- item?.ask_volume,
- false,
- true,
- )}
-
- |
- - {@html abbreviateNumberWithColor( - item?.total_premium, - false, - true, - )} - |