update peg ratio
This commit is contained in:
parent
215ec87008
commit
2e5a1334e9
@ -688,7 +688,7 @@
|
||||
defaultValue: "any",
|
||||
category: "Valuation & Ratios",
|
||||
},
|
||||
peg: {
|
||||
priceEarningsToGrowthRatio: {
|
||||
label: "PEG Ratio",
|
||||
step: [100, 10, 5, 3, 1, 0.5, 0],
|
||||
defaultCondition: "over",
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { Chart } from "svelte-echarts";
|
||||
import {
|
||||
numberOfUnreadNotification,
|
||||
displayCompanyName,
|
||||
stockTicker,
|
||||
coolMode,
|
||||
@ -49,6 +48,11 @@
|
||||
label: "PE Ratio",
|
||||
text: "The price-to-earnings (P/E) ratio is a valuation metric that shows how expensive a stock is relative to earnings.",
|
||||
},
|
||||
{
|
||||
propertyName: "priceEarningsToGrowthRatio",
|
||||
label: "PEG Ratio",
|
||||
text: "The price-to-earnings (P/E) ratio is a valuation metric that shows how expensive a stock is relative to earnings.",
|
||||
},
|
||||
{
|
||||
propertyName: "priceToSalesRatio",
|
||||
label: "PS Ratio",
|
||||
@ -406,7 +410,6 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<SEO
|
||||
title={`${$displayCompanyName} (${$stockTicker}) Financial Ratios and Metrics · Stocknear`}
|
||||
description={`Financial ratios and metrics for ${$displayCompanyName} (${$stockTicker}). Includes annual, quarterly and trailing numbers with full history and charts.`}
|
||||
@ -600,6 +603,9 @@
|
||||
<option value="priceEarningsRatio" selected
|
||||
>PE Ratio</option
|
||||
>
|
||||
<option value="priceEarningsToGrowthRatio" selected
|
||||
>PEG Ratio</option
|
||||
>
|
||||
<option value="priceToSalesRatio">PS Ratio</option>
|
||||
<option value="priceToBookRatio">PB Ratio</option>
|
||||
<option value="priceToFreeCashFlowsRatio"
|
||||
|
||||
@ -240,9 +240,9 @@
|
||||
>
|
||||
The PE ratio is {rawData?.priceEarningsRatio} and the forward PE
|
||||
ratio is {rawData?.forwardPE}.
|
||||
{rawData?.peg !== null
|
||||
{rawData?.priceEarningsToGrowthRatio !== null
|
||||
? `${companyName}'s PEG ratio is
|
||||
${rawData?.peg}.`
|
||||
${rawData?.priceEarningsToGrowthRatio}.`
|
||||
: ""}
|
||||
</p>
|
||||
|
||||
@ -302,7 +302,9 @@
|
||||
</td>
|
||||
<td
|
||||
class="px-[5px] py-1.5 text-right font-semibold xs:px-2.5 xs:py-2"
|
||||
>{rawData?.peg !== null ? rawData?.peg : "n/a"}</td
|
||||
>{rawData?.priceEarningsToGrowthRatio !== null
|
||||
? rawData?.priceEarningsToGrowthRatio
|
||||
: "n/a"}</td
|
||||
>
|
||||
</tr></tbody
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user