diff --git a/src/routes/stock-screener/+page.svelte b/src/routes/stock-screener/+page.svelte index c25d3d96..53b618d4 100644 --- a/src/routes/stock-screener/+page.svelte +++ b/src/routes/stock-screener/+page.svelte @@ -1291,12 +1291,14 @@ defaultValue: "any", category: "Forecasts, Analysts & Price Targets", }, + /* halalStocks: { label: "Halal Stocks", step: ["Compliant", "Non-Compliant"], defaultCondition: "", defaultValue: "any", }, + */ score: { label: "AI Score", step: ["Strong Buy", "Buy", "Hold", "Sell", "Strong Sell"], @@ -3671,7 +3673,7 @@ const handleKeyDown = (event) => { autocomplete="off" type="search" id="search" - class="placeholder-gray-800 dark:placeholder-gray-300 block w-full p-2 ps-10 text-sm border border-gray-300 dark:border-gray-600 rounded-md bg-gray-100 dark:bg-secondary border border-blue-500" + class="focus:outline-none placeholder-gray-800 dark:placeholder-gray-300 block w-full p-2 ps-10 text-sm border border-gray-300 dark:border-gray-600 rounded-md bg-gray-100 dark:bg-secondary border border-blue-500" placeholder="Search..." bind:value={searchTerm} /> diff --git a/src/routes/stocks/[tickerID]/statistics/+page.svelte b/src/routes/stocks/[tickerID]/statistics/+page.svelte index 2c3bef7a..b630f0ed 100644 --- a/src/routes/stocks/[tickerID]/statistics/+page.svelte +++ b/src/routes/stocks/[tickerID]/statistics/+page.svelte @@ -360,10 +360,22 @@
- Return on equity (ROE) is {rawData?.returnOnEquity}% and return - on capital (ROIC) is {rawData?.returnOnInvestedCapital}%. + Return on Equity is {checkValue( + rawData?.returnOnEquity, + "percent", + )} and Return on Invested Capital is {checkValue( + rawData?.returnOnInvestedCapital, + "percent", + )}.
| {rawData?.returnOnEquity} | {checkValue(rawData?.returnOnEquity, "percent")}|
| {rawData?.returnOnAssets} | {checkValue(rawData?.returnOnAssets, "percent")}|
| Return on Capital + >Return on Invested Capital | {rawData?.returnOnInvestedCapital} | {checkValue( + rawData?.returnOnInvestedCapital, + "percent", + )}
| ${rawData?.revenuePerEmployee?.toLocaleString( - "en-US", - )} | ${abbreviateNumber(rawData?.revenuePerEmployee)}|
| ${rawData?.profitPerEmployee?.toLocaleString( - "en-US", - )} | ${abbreviateNumber(rawData?.profitPerEmployee)}|
| {rawData?.effectiveTaxRate} | {checkValue(rawData?.effectiveTaxRate, "percent")}
| {rawData?.earningsYield !== null - ? rawData?.earningsYield + ? checkValue(rawData?.earningsYield, "percent") : "n/a"} |