update overview page
This commit is contained in:
parent
c7db5a77b4
commit
527fe1f123
@ -1202,29 +1202,17 @@
|
|||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
||||||
><td
|
><td
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
||||||
>Shares Out
|
><a
|
||||||
|
href={`/stocks/${$stockTicker}/forecast`}
|
||||||
|
class="sm:hover:text-blue-400 text-white underline underline-offset-4"
|
||||||
|
>Analyst</a
|
||||||
|
>
|
||||||
</td>
|
</td>
|
||||||
<td
|
<td
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
||||||
>{@html data?.getStockQuote?.sharesOutstanding !== null
|
>{data?.getAnalystRating?.consensusRating !== null &&
|
||||||
? abbreviateNumber(
|
data?.getAnalystRating?.consensusRating !== "n/a"
|
||||||
data?.getStockQuote?.sharesOutstanding,
|
? data?.getAnalystRating?.consensusRating
|
||||||
false,
|
|
||||||
true,
|
|
||||||
)
|
|
||||||
: "n/a"}</td
|
|
||||||
></tr
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
|
||||||
><td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
|
||||||
>Short % of Shares Out</td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
|
||||||
>{stockDeck?.shortOutStandingPercent !== null
|
|
||||||
? stockDeck?.shortOutStandingPercent + "%"
|
|
||||||
: "n/a"}</td
|
: "n/a"}</td
|
||||||
></tr
|
></tr
|
||||||
>
|
>
|
||||||
@ -1260,6 +1248,19 @@
|
|||||||
)}</td
|
)}</td
|
||||||
></tr
|
></tr
|
||||||
>
|
>
|
||||||
|
<tr
|
||||||
|
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
||||||
|
><td
|
||||||
|
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
||||||
|
>Avg. Volume (20D)</td
|
||||||
|
>
|
||||||
|
<td
|
||||||
|
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
||||||
|
>{data?.getStockQuote?.avgVolume?.toLocaleString(
|
||||||
|
"en-us",
|
||||||
|
)}</td
|
||||||
|
></tr
|
||||||
|
>
|
||||||
<tr
|
<tr
|
||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
||||||
><td
|
><td
|
||||||
@ -1319,32 +1320,6 @@
|
|||||||
>{stockDeck?.beta?.toFixed(2)}</td
|
>{stockDeck?.beta?.toFixed(2)}</td
|
||||||
></tr
|
></tr
|
||||||
>
|
>
|
||||||
<tr
|
|
||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
|
||||||
><td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
|
||||||
>Shares Float
|
|
||||||
</td>
|
|
||||||
<td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
|
||||||
>{@html stockDeck?.floatShares !== null
|
|
||||||
? abbreviateNumber(stockDeck?.floatShares, false, true)
|
|
||||||
: "n/a"}</td
|
|
||||||
></tr
|
|
||||||
>
|
|
||||||
<tr
|
|
||||||
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
|
|
||||||
><td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] xs:px-1 sm:py-2 text-[1rem]"
|
|
||||||
>Short % of Float</td
|
|
||||||
>
|
|
||||||
<td
|
|
||||||
class="whitespace-nowrap px-0.5 py-[1px] text-left text-sm font-semibold xs:px-1 sm:py-2 sm:text-right sm:text-[1rem]"
|
|
||||||
>{stockDeck?.shortFloatPercent !== null
|
|
||||||
? stockDeck?.shortFloatPercent + "%"
|
|
||||||
: "n/a"}</td
|
|
||||||
></tr
|
|
||||||
>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user