diff --git a/src/lib/components/AnalystEstimate.svelte b/src/lib/components/AnalystEstimate.svelte index 85fbe165..f2b2758e 100644 --- a/src/lib/components/AnalystEstimate.svelte +++ b/src/lib/components/AnalystEstimate.svelte @@ -204,7 +204,7 @@ $: { -
+
We analyze insights from various analysts to offer both historical and future fundamental data forecasts.
diff --git a/src/lib/components/AnalystInsight.svelte b/src/lib/components/AnalystInsight.svelte index ce11ad64..ebffc5cf 100644 --- a/src/lib/components/AnalystInsight.svelte +++ b/src/lib/components/AnalystInsight.svelte @@ -102,7 +102,7 @@ function latestInfoDate(inputDate) { {#if Object?.keys(rawData)?.length !== 0}
-
+
The AI model summarizes the latest Wallstreet Analyst Insight Report and extracts key points for you, focusing on what matters most.
@@ -135,7 +135,7 @@ function latestInfoDate(inputDate) {
- + {rawData?.insight}
diff --git a/src/lib/components/BorrowedShare.svelte b/src/lib/components/BorrowedShare.svelte index e1268aaa..9afe320f 100644 --- a/src/lib/components/BorrowedShare.svelte +++ b/src/lib/components/BorrowedShare.svelte @@ -215,17 +215,7 @@ function findLowestAndHighestFee(data, lastDateStr) { } } - let charNumber = 20; - - $: { - if($screenWidth < 640) - { - charNumber = 20; - } - else { - charNumber =40; - } - } + $: charNumber = $screenWidth < 640 ? 20 : 40; @@ -253,7 +243,7 @@ function findLowestAndHighestFee(data, lastDateStr) { {#if rawData?.length !== 0}
-
+
Over the past six months, Interactive Brokers had {abbreviateNumber(totalAvailableShares)} shares available for borrowing, with an average fee of {avgFee}%.
diff --git a/src/lib/components/BullBearSay.svelte b/src/lib/components/BullBearSay.svelte index a938fceb..678c92ec 100644 --- a/src/lib/components/BullBearSay.svelte +++ b/src/lib/components/BullBearSay.svelte @@ -115,7 +115,7 @@ $: {
- + {#if showFullText} {#each (showFullText ? paragraphs : paragraphs?.slice(0,1)) as paragraph, index}

{paragraph} {paragraphs?.length <= index+1 ? '' : '.'}

diff --git a/src/lib/components/ClinicalTrial.svelte b/src/lib/components/ClinicalTrial.svelte index 3e52e3a0..ecefb8c2 100644 --- a/src/lib/components/ClinicalTrial.svelte +++ b/src/lib/components/ClinicalTrial.svelte @@ -205,17 +205,7 @@ $: { let charNumber = 20; -$: { - if($screenWidth < 640) - { - charNumber = 20; - } - else { - charNumber =20; - } -} - @@ -276,7 +266,7 @@ $: {
- + @@ -287,7 +277,7 @@ $: { {#each displayList as item,index} handleViewData(item)} class="border-y border-gray-800 odd:bg-[#27272A] sm:hover:bg-[#245073] sm:hover:bg-opacity-[0.2] bg-[#09090B] border-b-[#09090B] cursor-pointer"> - -
+
Quarter Sentiment {#if !deactivateContent} @@ -119,7 +119,7 @@ $: { -
+
Accuracy @@ -147,7 +147,7 @@ $: { -
+
Precision @@ -180,7 +180,7 @@ $: { -
+
Over the next quarter the model forecasts a {#if !deactivateContent} {flowSentiment} price movement. diff --git a/src/lib/components/ImpliedVolatility.svelte b/src/lib/components/ImpliedVolatility.svelte index b443f0c2..4fc70cf6 100644 --- a/src/lib/components/ImpliedVolatility.svelte +++ b/src/lib/components/ImpliedVolatility.svelte @@ -247,19 +247,8 @@ function findLowestAndhighestIV(data, lastDateStr) { } } - let charNumber = 20; - - $: { - if($screenWidth < 640) - { - charNumber = 20; - } - else { - charNumber =40; - } - } - + $: charNumber = $screenWidth < 640 ? 20 : 40; @@ -285,7 +274,7 @@ function findLowestAndhighestIV(data, lastDateStr) { {#if rawData?.length !== 0}
-
+
Based on the past 12 months of historical data, {$displayCompanyName} has an IV Rank of {ivRank}%, with the current implied volatility standing at {rawData?.slice(-1)?.at(0)?.iv60}%.
diff --git a/src/lib/components/MarketMaker.svelte b/src/lib/components/MarketMaker.svelte index 908c1d0b..3575efff 100644 --- a/src/lib/components/MarketMaker.svelte +++ b/src/lib/components/MarketMaker.svelte @@ -235,7 +235,7 @@ else { {#if historyData?.length !== 0}
-
+
Over the past year, {$displayCompanyName} has seen a weekly average of {abbreviateNumber(avgTradeCount)} trades, involving an average of {abbreviateNumber(avgShareQuantity)} shares bought and sold. @@ -338,19 +338,19 @@ else { {#each (showFullStats ? topMarketMakers?.slice(0,10) : topMarketMakers?.slice(0,3)) as item,index}
- - - - diff --git a/src/lib/components/OptionsNetFlow.svelte b/src/lib/components/OptionsNetFlow.svelte index 8ea8bdd9..b5add8d2 100644 --- a/src/lib/components/OptionsNetFlow.svelte +++ b/src/lib/components/OptionsNetFlow.svelte @@ -201,17 +201,7 @@ } } - let charNumber = 20; - - $: { - if($screenWidth < 640) - { - charNumber = 20; - } - else { - charNumber =40; - } - } + $: charNumber = $screenWidth < 640 ? 20 : 40; @@ -239,7 +229,7 @@ {#if rawData?.length !== 0}
-
+
Analysis of the 20-day moving average of the options net flow demonstrates a {sentiment} trend, characterized by the {sentiment === 'bullish' ? 'Net Call Flow exceeding the Net Put Flow' : 'Net Put Flow exceeding the Net Call Flow'} .
diff --git a/src/lib/components/PriceAnalysis.svelte b/src/lib/components/PriceAnalysis.svelte index 22cf843a..f61adaf4 100644 --- a/src/lib/components/PriceAnalysis.svelte +++ b/src/lib/components/PriceAnalysis.svelte @@ -206,7 +206,7 @@ $: { {#if Object?.keys(priceAnalysisDict)?.length !== 0}
-
+
Our model predicts future prices by analyzing trends, seasonal variations, and holiday impacts. Here are the stats of the model for {$displayCompanyName} to ensure transparency and reliability.
@@ -291,7 +291,7 @@ $: {
-
+
Over the next 12 months, the model predicts a {priceSentiment} trend, suggesting that the future price is expected to {priceSentiment === 'Bullish' ? 'surpass' : 'to be less than'} the previous price of diff --git a/src/lib/components/RetailVolume.svelte b/src/lib/components/RetailVolume.svelte index e931513b..5178a9f8 100644 --- a/src/lib/components/RetailVolume.svelte +++ b/src/lib/components/RetailVolume.svelte @@ -259,7 +259,7 @@ $: { {#if Object?.keys(rawData)?.length !== 0}
-
+
In the past six months, the {$displayCompanyName} had an average retail investor volume of {avgVolume > 100e3 ? abbreviateNumber(avgVolume,true) : '< $100K'}, with a prevailing {#if avgSentiment === 'Bullish' } diff --git a/src/lib/components/ShareStatistics.svelte b/src/lib/components/ShareStatistics.svelte index cbb6cf7a..4a78608f 100644 --- a/src/lib/components/ShareStatistics.svelte +++ b/src/lib/components/ShareStatistics.svelte @@ -174,7 +174,7 @@ $: {
-
+
{$displayCompanyName}'s' has {abbreviateNumber(rawData?.latestOutstandingShares)} shares outstanding with {abbreviateNumber(rawData?.latestFloatShares)} of those shares currently floating.
diff --git a/src/lib/components/Swap.svelte b/src/lib/components/Swap.svelte index 13764b5c..e3528ff3 100644 --- a/src/lib/components/Swap.svelte +++ b/src/lib/components/Swap.svelte @@ -232,7 +232,7 @@ {#if rawData?.length !== 0}
-
+
The swap data from the past 100 days shows an average notional amount of {abbreviateNumber(avgNotionalAmount,true)} and an average notional quantity of {abbreviateNumber(avgNotionalQuantity)}.
diff --git a/src/lib/components/TrendAnalysis.svelte b/src/lib/components/TrendAnalysis.svelte index d6d9fe9e..6f3877f9 100644 --- a/src/lib/components/TrendAnalysis.svelte +++ b/src/lib/components/TrendAnalysis.svelte @@ -107,7 +107,7 @@ $: { {#if isLoaded} {#if trendList?.length !== 0}
-
+
Our model uses technical indicators to predict the next trend. Here are the stats of the model for {$displayCompanyName} to ensure transparency and reliability.
@@ -198,7 +198,7 @@ $: { -
+
Over the next {displayData === 'threeMonth' ? '3 months' : displayData === 'oneMonth' ? '1 month' : '1 week'}, the model forecasts a {flowSentiment} trend, indicating that the future price is expected to {flowSentiment === 'Bullish' ? 'exceed' : 'to be less than'} the previous price of diff --git a/src/lib/components/WIIM.svelte b/src/lib/components/WIIM.svelte index cc90f2d4..7bbb6360 100644 --- a/src/lib/components/WIIM.svelte +++ b/src/lib/components/WIIM.svelte @@ -81,16 +81,16 @@ $: {
{#if item?.changesPercentage >=0} - +{item?.changesPercentage}% + +{item?.changesPercentage}% {:else if item?.changesPercentage < 0 } - {item?.changesPercentage}% + {item?.changesPercentage}% {/if}
- + {data?.user?.tier !== 'Pro' && latestInfoDate(item?.date) ? item?.text?.slice(0,30) + '...' : item?.text }
Drug Stage Phase Status
+ {item["Interventions"]?.length === 0 ? '-' : item["Interventions"]?.length > charNumber ? formatString(item["Interventions"]?.slice(0,charNumber)) + "..." : formatString(item["Interventions"])}
+ {item?.name?.length > charNumber ? formatString(item?.name?.slice(0,charNumber)) + "..." : formatString(item?.name)} + {abbreviateNumber(item?.avgWeeklyTradeCount)} + {abbreviateNumber(item?.avgWeeklyShareQuantity)} + {abbreviateNumber(item?.avgNotionalSum, true)}