add groups for rules

This commit is contained in:
MuslemRahimi 2024-12-06 18:41:46 +01:00
parent b5e2d0fc92
commit 161cd095a5
2 changed files with 41 additions and 3 deletions

View File

@ -89,7 +89,7 @@ export const computeGrowthSingleList = (data, actualList) => {
export const groupScreenerRules = (allRows) => { export const groupScreenerRules = (allRows) => {
const categoryOrder = [ const categoryOrder = [
"Most Popular", "Company Info","Price & Volume", "Valuation & Ratios", "Valuation & Price Targets", "Margins", "Most Popular", "Company Info","Price & Volume", "Valuation & Ratios", "Valuation & Price Targets", "Margins",
"Performance","Technical Analysis","Forecasts, Analysts & Price Targets", "Dividends", "Revenue / Sales", "Net Income", "Other Profits","Cash Flow", "Others" "Performance","Technical Analysis","Forecasts, Analysts & Price Targets", "Dividends", "Revenue / Sales", "Net Income", "Other Profits","Cash Flow", "Debt", "Shares Statistics", "Short Selling Statistics", "Others"
]; ];
// Group rows by category // Group rows by category

View File

@ -370,6 +370,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "any", defaultValue: "any",
category: "Valuation & Ratios",
}, },
netIncomeGrowthYears: { netIncomeGrowthYears: {
label: "Net Income Growth Years", label: "Net Income Growth Years",
@ -507,6 +508,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: 0, defaultValue: 0,
category: "Valuation & Ratios",
}, },
growthEPS: { growthEPS: {
label: "EPS Growth", label: "EPS Growth",
@ -514,6 +516,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Valuation & Ratios",
}, },
interestIncome: { interestIncome: {
label: "Interest Income", label: "Interest Income",
@ -602,6 +605,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Debt",
}, },
growthTotalDebt: { growthTotalDebt: {
label: "Total Debt Growth", label: "Total Debt Growth",
@ -609,6 +613,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Debt",
}, },
growthTotalStockholdersEquity: { growthTotalStockholdersEquity: {
label: "Shareholders Equity Growth", label: "Shareholders Equity Growth",
@ -616,6 +621,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Shares Statistics",
}, },
researchDevelopmentRevenueRatio: { researchDevelopmentRevenueRatio: {
label: "R&D / Revenue", label: "R&D / Revenue",
@ -623,6 +629,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Revenue / Sales",
}, },
cagr3YearRevenue: { cagr3YearRevenue: {
@ -647,6 +654,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Valuation & Ratios",
}, },
cagr5YearEPS: { cagr5YearEPS: {
label: "EPS CAGR 5Y", label: "EPS CAGR 5Y",
@ -654,6 +662,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Valuation & Ratios",
}, },
returnOnInvestedCapital: { returnOnInvestedCapital: {
label: "Return On Capital", label: "Return On Capital",
@ -676,18 +685,21 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "10%", defaultValue: "10%",
category: "Shares Statistics",
}, },
pe: { pe: {
label: "Price / Earnings (ttm)", label: "Price / Earnings (ttm)",
step: [50, 40, 30, 20, 10, 5, 1], step: [50, 40, 30, 20, 10, 5, 1],
defaultCondition: "over", defaultCondition: "over",
defaultValue: 1, defaultValue: 1,
category: "Valuation & Ratios",
}, },
peg: { peg: {
label: "PEG Ratio", label: "PEG Ratio",
step: [100, 10, 5, 3, 1, 0.5, 0], step: [100, 10, 5, 3, 1, 0.5, 0],
defaultCondition: "over", defaultCondition: "over",
defaultValue: 0, defaultValue: 0,
category: "Valuation & Ratios",
}, },
forwardPE: { forwardPE: {
label: "Forward PE", label: "Forward PE",
@ -760,6 +772,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: 1, defaultValue: 1,
category: "Valuation & Ratios",
}, },
quickRatio: { quickRatio: {
label: "Quick Ratio", label: "Quick Ratio",
@ -774,6 +787,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: 1, defaultValue: 1,
category: "Debt",
}, },
debtRatio: { debtRatio: {
label: "Debt Ratio", label: "Debt Ratio",
@ -781,6 +795,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: -0.5, defaultValue: -0.5,
category: "Debt",
}, },
inventoryTurnover: { inventoryTurnover: {
label: "Inventory Turnover", label: "Inventory Turnover",
@ -867,6 +882,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0", defaultValue: "0",
category: "Valuation & Ratios",
}, },
priceToFreeCashFlowsRatio: { priceToFreeCashFlowsRatio: {
label: "Price / FCF", label: "Price / FCF",
@ -889,6 +905,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "500K", defaultValue: "500K",
category: "Short Selling Statistics",
}, },
shortRatio: { shortRatio: {
label: "Short Ratio", label: "Short Ratio",
@ -896,6 +913,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0", defaultValue: "0",
category: "Short Selling Statistics",
}, },
shortFloatPercent: { shortFloatPercent: {
label: "Short % Float", label: "Short % Float",
@ -903,6 +921,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0%", defaultValue: "0%",
category: "Short Selling Statistics",
}, },
shortOutStandingPercent: { shortOutStandingPercent: {
label: "Short % Shares", label: "Short % Shares",
@ -910,6 +929,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0%", defaultValue: "0%",
category: "Short Selling Statistics",
}, },
failToDeliver: { failToDeliver: {
label: "Fail to Deliver (FTD)", label: "Fail to Deliver (FTD)",
@ -917,6 +937,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1K", defaultValue: "1K",
category: "Short Selling Statistics",
}, },
relativeFTD: { relativeFTD: {
label: "FTD / Avg. Volume", label: "FTD / Avg. Volume",
@ -924,6 +945,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "50%", defaultValue: "50%",
category: "Short Selling Statistics",
}, },
freeCashFlow: { freeCashFlow: {
@ -940,6 +962,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0", defaultValue: "0",
category: "Cash Flow",
}, },
operatingCashFlowPerShare: { operatingCashFlowPerShare: {
label: "Operating Cash Flow / Share", label: "Operating Cash Flow / Share",
@ -971,6 +994,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1", defaultValue: "1",
category: "Valuation & Ratios",
}, },
interestDebtPerShare: { interestDebtPerShare: {
label: "Interest Debt / Share", label: "Interest Debt / Share",
@ -978,6 +1002,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1", defaultValue: "1",
category: "Debt",
}, },
capexPerShare: { capexPerShare: {
label: "CapEx / Share", label: "CapEx / Share",
@ -985,6 +1010,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1", defaultValue: "1",
category: "Valuation & Ratios",
}, },
freeCashFlowMargin: { freeCashFlowMargin: {
@ -1012,13 +1038,14 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1M", defaultValue: "1M",
category: "Debt",
}, },
cashFlowToDebtRatio: { cashFlowToDebtRatio: {
label: "Cash Flow / Debt", label: "Cash Flow / Debt",
step: [50, 40, 30, 20, 10, 5, 1], step: [50, 40, 30, 20, 10, 5, 1],
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1", defaultValue: "1",
category: "Debt",
}, },
operatingCashFlowSalesRatio: { operatingCashFlowSalesRatio: {
label: "Operating Cash Flow / Sales", label: "Operating Cash Flow / Sales",
@ -1026,13 +1053,14 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0", defaultValue: "0",
category: "Valuation & Ratios",
}, },
priceCashFlowRatio: { priceCashFlowRatio: {
label: "Price / Cash Flow", label: "Price / Cash Flow",
step: [20, 15, 10, 5, 3, 1, 0], step: [20, 15, 10, 5, 3, 1, 0],
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0", defaultValue: "0",
category: "Valuation & Ratios",
}, },
priceEarningsRatio: { priceEarningsRatio: {
label: "Price / Earnings", label: "Price / Earnings",
@ -1048,6 +1076,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0", defaultValue: "0",
category: "Valuation & Ratios",
}, },
stockBasedCompensation: { stockBasedCompensation: {
label: "Stock-Based Compensation", label: "Stock-Based Compensation",
@ -1062,6 +1091,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0", defaultValue: "0",
category: "Shares Statistics",
}, },
sharesQoQ: { sharesQoQ: {
label: "Shares Change (QoQ)", label: "Shares Change (QoQ)",
@ -1069,6 +1099,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Shares Statistics",
}, },
sharesYoY: { sharesYoY: {
label: "Shares Change (YoY)", label: "Shares Change (YoY)",
@ -1076,6 +1107,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Shares Statistics",
}, },
grossProfitMargin: { grossProfitMargin: {
label: "Gross Margin", label: "Gross Margin",
@ -1131,6 +1163,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Debt",
}, },
shortTermDebtToCapitalization: { shortTermDebtToCapitalization: {
label: "Short Term Debt / Market Cap", label: "Short Term Debt / Market Cap",
@ -1138,6 +1171,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Debt",
}, },
interestIncomeToCapitalization: { interestIncomeToCapitalization: {
label: "Interest Income / Market Cap", label: "Interest Income / Market Cap",
@ -1145,6 +1179,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1%", defaultValue: "1%",
category: "Valuation & Ratios",
}, },
assetTurnover: { assetTurnover: {
label: "Asset Turnover", label: "Asset Turnover",
@ -1159,6 +1194,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "0%", defaultValue: "0%",
category: "Valuation & Ratios",
}, },
freeCashFlowYield: { freeCashFlowYield: {
label: "FCF Yield", label: "FCF Yield",
@ -1188,6 +1224,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1M", defaultValue: "1M",
category: "Shares Statistics",
}, },
employees: { employees: {
label: "Employees", label: "Employees",
@ -1220,6 +1257,7 @@
defaultCondition: "over", defaultCondition: "over",
defaultValue: "1M", defaultValue: "1M",
category: "Debt",
}, },
altmanZScore: { altmanZScore: {
label: "Altman-Z-Score", label: "Altman-Z-Score",