diff --git a/src/routes/stocks/[tickerID]/options/+page.svelte b/src/routes/stocks/[tickerID]/options/+page.svelte index bc32a7af..0fe02a32 100644 --- a/src/routes/stocks/[tickerID]/options/+page.svelte +++ b/src/routes/stocks/[tickerID]/options/+page.svelte @@ -680,7 +680,7 @@ $: { - {(item?.p_vol/item?.c_vol)?.toFixed(2)} + {item?.c_vol !== 0 ? (item?.p_vol/item?.c_vol)?.toFixed(1) : '-'} @@ -765,11 +765,11 @@ $: { - {item?.total_open_interest_call} + {abbreviateNumber(item?.total_open_interest_call)} - {item?.total_volume_call} + {abbreviateNumber(item?.total_volume_call)} @@ -779,11 +779,11 @@ $: { - {item?.total_volume_put} + {abbreviateNumber(item?.total_volume_put)} - {item?.total_open_interest_put} + {abbreviateNumber(item?.total_open_interest_put)}