diff --git a/src/routes/etf/[tickerID]/+page.svelte b/src/routes/etf/[tickerID]/+page.svelte
index e6d17c8e..3b7b68f8 100644
--- a/src/routes/etf/[tickerID]/+page.svelte
+++ b/src/routes/etf/[tickerID]/+page.svelte
@@ -743,8 +743,7 @@
prePostData = {};
output = null;
- stockDeck = data?.getStockDeck; // Essential otherwise chart will not be updated since we wait until #layout.server.ts server response is finished
-
+ stockDeck = data?.getETFProfile?.at(0); // Essential otherwise chart will not be updated since we wait until #layout.server.ts server response is finished
const asyncFunctions = [getPrePostQuote()];
Promise.all(asyncFunctions)
@@ -1283,12 +1282,12 @@
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
>
Revenue (ttm) | AUM
{stockDeck?.revenueTTM !== null
- ? abbreviateNumber(stockDeck?.revenueTTM)
+ >{stockDeck?.aum !== null
+ ? abbreviateNumber(stockDeck?.aum)
: "n/a"} |
@@ -1296,12 +1295,12 @@
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
>Net Income (ttm) | NAV
{stockDeck?.netIncomeTTM !== null
- ? abbreviateNumber(stockDeck?.netIncomeTTM)
+ >{stockDeck?.nav !== null
+ ? abbreviateNumber(stockDeck?.nav)
: "n/a"} |
@@ -1314,7 +1313,9 @@
>
{data?.getStockQuote?.eps} | {data?.getStockQuote?.eps !== null
+ ? data?.getStockQuote?.eps?.toFixed(2)
+ : "n/a"}
| {data?.getStockQuote?.pe} |
- | Forward PE |
- {stockDeck?.forwardPE ?? "n/a"} | {data?.getStockQuote?.pe !== null
+ ? data?.getStockQuote?.pe?.toFixed(2)
+ : "n/a"}
+
|
+
| Beta |
- {stockDeck?.beta?.toFixed(2)} |
- | Shares Float
+ >Holdings
|
{stockDeck?.floatShares !== null
- ? abbreviateNumber(stockDeck?.floatShares)
+ >{stockDeck?.holdingsCount !== null
+ ? abbreviateNumber(stockDeck?.holdingsCount)
: "n/a"} |
@@ -1474,12 +1457,12 @@
class="flex flex-col border-b border-gray-600 py-1 sm:table-row sm:py-0"
>Short % of Float | Expense Ratio
{stockDeck?.shortFloatPercent !== null
- ? stockDeck?.shortFloatPercent + "%"
+ >{stockDeck?.expenseRatio !== null
+ ? stockDeck?.expenseRatio?.toFixed(2) + "%"
: "n/a"} |
@@ -1500,17 +1483,19 @@
-
-
-
+