From 95a7c8939e7fceb2d9f6ea0044a315b23c873d7f Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Sat, 12 Oct 2024 16:42:25 +0200 Subject: [PATCH] ui fix --- src/lib/components/FundamentalAnalysis.svelte | 4 ++-- src/lib/components/PriceAnalysis.svelte | 4 ++-- src/lib/components/TrendAnalysis.svelte | 4 ++-- src/routes/+page.svelte | 4 ++-- src/routes/cramer-tracker/+page.svelte | 6 +++--- src/routes/etf/[tickerID]/options/+page.svelte | 6 +++--- src/routes/hedge-funds/[slug]/+page.svelte | 8 ++++---- src/routes/options-flow/+page.svelte | 6 +++--- src/routes/reddit-tracker/+page.svelte | 6 +++--- src/routes/sentiment-tracker/+page.svelte | 4 ++-- src/routes/stocks/[tickerID]/options/+page.svelte | 6 +++--- src/routes/watchlist/options/+page.svelte | 4 ++-- 12 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/lib/components/FundamentalAnalysis.svelte b/src/lib/components/FundamentalAnalysis.svelte index 21317f8b..bd2c4054 100644 --- a/src/lib/components/FundamentalAnalysis.svelte +++ b/src/lib/components/FundamentalAnalysis.svelte @@ -106,7 +106,7 @@ $: {
Quarter Sentiment {#if !deactivateContent} - {flowSentiment} + {flowSentiment} {:else} Unlock with Pro @@ -182,7 +182,7 @@ $: {
Over the next quarter the model forecasts a {#if !deactivateContent} - {flowSentiment} price movement. + {flowSentiment} price movement. {:else} Unlock Prediction with Pro diff --git a/src/lib/components/PriceAnalysis.svelte b/src/lib/components/PriceAnalysis.svelte index 8e9697d1..7bef112f 100644 --- a/src/lib/components/PriceAnalysis.svelte +++ b/src/lib/components/PriceAnalysis.svelte @@ -184,7 +184,7 @@ onMount(async () => {
Price Sentiment - {priceSentiment} + {priceSentiment}
@@ -258,7 +258,7 @@ onMount(async () => {
Over the next 12 months, the model predicts a - {priceSentiment} + {priceSentiment} trend, suggesting that the future price is expected to {priceSentiment === 'Bullish' ? 'surpass' : 'to be less than'} the previous price of ${lastPrice?.toFixed(2) ?? 'n/a'}, with a mean value of ${oneYearPricePrediction}.
diff --git a/src/lib/components/TrendAnalysis.svelte b/src/lib/components/TrendAnalysis.svelte index 3d616364..26891f9a 100644 --- a/src/lib/components/TrendAnalysis.svelte +++ b/src/lib/components/TrendAnalysis.svelte @@ -117,7 +117,7 @@ $: {
Trend Sentiment - {flowSentiment} + {flowSentiment}
@@ -198,7 +198,7 @@ $: {
Over the next {displayData === 'threeMonth' ? '3 months' : displayData === 'oneMonth' ? '1 month' : '1 week'}, the model forecasts a - {flowSentiment} + {flowSentiment} trend, indicating that the future price is expected to {flowSentiment === 'Bullish' ? 'exceed' : 'to be less than'} the previous price of ${lastPrice ?? 'n/a'}.
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index fb59013b..3e0f3319 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -329,7 +329,7 @@ onMount( async() => {
{item?.ticker} - + {abbreviateNumber(item?.cost_basis,true)} @@ -338,7 +338,7 @@ onMount( async() => { {abbreviateNumber(optionsMode === 'openInterest' ? item?.open_interest : item?.volume)} - + {item?.put_call} diff --git a/src/routes/cramer-tracker/+page.svelte b/src/routes/cramer-tracker/+page.svelte index 40b0ce10..61946b51 100644 --- a/src/routes/cramer-tracker/+page.svelte +++ b/src/routes/cramer-tracker/+page.svelte @@ -383,7 +383,7 @@ rawData?.forEach(item => { Cumulative Return - Following Jim Cramer's stock picks since {rawData?.slice(0)?.at(0)?.date}, would have yielded a {cumulativeList?.slice(-1) > 0 ? '+' : ''}{cumulativeList?.slice(-1)}% cumulative return. + Following Jim Cramer's stock picks since {rawData?.slice(0)?.at(0)?.date}, would have yielded a {cumulativeList?.slice(-1) > 0 ? '+' : ''}{cumulativeList?.slice(-1)}% cumulative return. @@ -492,11 +492,11 @@ rawData?.forEach(item => { - + {item?.sentiment} - + {item?.returnSince > 0 ? '+' : ''}{item?.returnSince}% diff --git a/src/routes/etf/[tickerID]/options/+page.svelte b/src/routes/etf/[tickerID]/options/+page.svelte index 6d243e08..08a129b5 100644 --- a/src/routes/etf/[tickerID]/options/+page.svelte +++ b/src/routes/etf/[tickerID]/options/+page.svelte @@ -877,7 +877,7 @@ $: { {abbreviateNumber(item?.total_volume_call)} - +
{item?.strike_price}
@@ -1005,11 +1005,11 @@ $: { {item?.strike_price} - + {item?.put_call} - + {item?.sentiment} diff --git a/src/routes/hedge-funds/[slug]/+page.svelte b/src/routes/hedge-funds/[slug]/+page.svelte index 9706d912..7bcd2e37 100644 --- a/src/routes/hedge-funds/[slug]/+page.svelte +++ b/src/routes/hedge-funds/[slug]/+page.svelte @@ -926,7 +926,7 @@ onMount(async () => { {#if changeAssetType === 'Stocks'} - + {item?.changeInSharesNumberPercentage !== 0 ? abbreviateNumber(item?.changeInSharesNumberPercentage?.toFixed(2))+'%' : '-'} @@ -944,7 +944,7 @@ onMount(async () => { ${item?.avgPricePaid} {#if changeAssetType === 'Options'} - + {formatString(item?.putCallShare)} {/if} @@ -1034,7 +1034,7 @@ onMount(async () => { {#if changeAssetType === 'Stocks'} - + {item?.changeInSharesNumberPercentage !== 0 ? abbreviateNumber(item?.changeInSharesNumberPercentage?.toFixed(2))+'%' : '-'} @@ -1050,7 +1050,7 @@ onMount(async () => { ${item?.avgPricePaid} {#if changeAssetType === 'Options'} - + {formatString(item?.putCallShare)} {/if} diff --git a/src/routes/options-flow/+page.svelte b/src/routes/options-flow/+page.svelte index 7ffef5f6..c4420a1c 100644 --- a/src/routes/options-flow/+page.svelte +++ b/src/routes/options-flow/+page.svelte @@ -1206,7 +1206,7 @@ function sortData(key) {
Flow Sentiment - {flowSentiment} + {flowSentiment}
@@ -1485,11 +1485,11 @@ function sortData(key) { {displayedData[index]?.strike_price}
-
+
{displayedData[index]?.put_call}
-
+
{displayedData[index]?.sentiment}
diff --git a/src/routes/reddit-tracker/+page.svelte b/src/routes/reddit-tracker/+page.svelte index 6c5a9930..2fb96626 100644 --- a/src/routes/reddit-tracker/+page.svelte +++ b/src/routes/reddit-tracker/+page.svelte @@ -493,14 +493,14 @@ const optionCompanySpread = { {item?.count} {item?.call} - {item?.put} - {item?.avgSentiment > 0.4 ? 'Bullish' : item?.avgSentiment <= -0.1 ? 'Bearish' : 'Neutral'} + {item?.put} + {item?.avgSentiment > 0.4 ? 'Bullish' : item?.avgSentiment <= -0.1 ? 'Bearish' : 'Neutral'}
${item.price?.toFixed(2)} - + {#if item?.changesPercentage > 0 } +{item?.changesPercentage?.toFixed(2)}% {:else} diff --git a/src/routes/sentiment-tracker/+page.svelte b/src/routes/sentiment-tracker/+page.svelte index 430fbda0..109bb8aa 100644 --- a/src/routes/sentiment-tracker/+page.svelte +++ b/src/routes/sentiment-tracker/+page.svelte @@ -253,11 +253,11 @@ async function handleScroll() { {item?.price} - + {item?.changesPercentage > 0 ? '+' : ''}{item?.changesPercentage}% - +
{item?.sentiment >= 80 ? 'Very Bullish' : item?.sentiment >= 55 ? 'Bullish' : item?.sentiment > 50 ? 'Mixed' : 'Bearish'}
diff --git a/src/routes/stocks/[tickerID]/options/+page.svelte b/src/routes/stocks/[tickerID]/options/+page.svelte index 8ec18dbf..c9ca8357 100644 --- a/src/routes/stocks/[tickerID]/options/+page.svelte +++ b/src/routes/stocks/[tickerID]/options/+page.svelte @@ -877,7 +877,7 @@ $: { {abbreviateNumber(item?.total_volume_call)} - +
{item?.strike_price}
@@ -1005,11 +1005,11 @@ $: { {item?.strike_price} - + {item?.put_call} - + {item?.sentiment} diff --git a/src/routes/watchlist/options/+page.svelte b/src/routes/watchlist/options/+page.svelte index 94732cd4..92d2af92 100644 --- a/src/routes/watchlist/options/+page.svelte +++ b/src/routes/watchlist/options/+page.svelte @@ -262,11 +262,11 @@ onMount(async () => { {item?.strike_price} - + {item?.put_call} - + {item?.sentiment}