From 2e5a1334e96cd17e746a416db1185061085adaf6 Mon Sep 17 00:00:00 2001
From: MuslemRahimi
Date: Sat, 15 Feb 2025 11:17:59 +0100
Subject: [PATCH] update peg ratio
---
src/routes/stock-screener/+page.svelte | 2 +-
.../stocks/[tickerID]/financials/ratios/+page.svelte | 10 ++++++++--
src/routes/stocks/[tickerID]/statistics/+page.svelte | 8 +++++---
3 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/src/routes/stock-screener/+page.svelte b/src/routes/stock-screener/+page.svelte
index fdaccfbc..034c53bd 100644
--- a/src/routes/stock-screener/+page.svelte
+++ b/src/routes/stock-screener/+page.svelte
@@ -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",
diff --git a/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte b/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte
index 1dc38c26..e0e0f7a5 100644
--- a/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte
+++ b/src/routes/stocks/[tickerID]/financials/ratios/+page.svelte
@@ -1,7 +1,6 @@
-
PE Ratio
+
@@ -302,7 +302,9 @@
{rawData?.peg !== null ? rawData?.peg : "n/a"} | {rawData?.priceEarningsToGrowthRatio !== null
+ ? rawData?.priceEarningsToGrowthRatio
+ : "n/a"}