diff --git a/src/lib/components/Table/Table.svelte b/src/lib/components/Table/Table.svelte
index 97063a13..84387546 100644
--- a/src/lib/components/Table/Table.svelte
+++ b/src/lib/components/Table/Table.svelte
@@ -77,6 +77,7 @@
{ name: "Upside", rule: "upside", type: "percentSign" },
{ name: "Country", rule: "country", type: "str" },
{ name: "Gross Profit", rule: "grossProfit", type: "int" },
+ { name: "Income Tax", rule: "incomeTaxExpense", type: "int" },
{ name: "Revenue Growth", rule: "growthRevenue", type: "percentSign" },
{
name: "Gross Profit Growth",
@@ -108,7 +109,7 @@
type: "percent",
},
{ name: "FCF Yield", rule: "freeCashFlowYield", type: "percent" },
- { name: "Employees", rule: "employees", type: "int" },
+ { name: "Employees", rule: "employees", type: "decimal" },
{ name: "Debt Ratio", rule: "debtRatio", type: "float" },
{ name: "Debt / Equity", rule: "debtEquityRatio", type: "int" },
{ name: "Profit Margin", rule: "netProfitMargin", type: "percent" },
@@ -698,6 +699,8 @@
{/if}
{:else if column?.type === "int"}
{abbreviateNumber(item[column.key])}
+ {:else if column?.type === "decimal"}
+ {item[column.key]?.toLocaleString("en-US")}
{:else if column.key === "price"}
{item[column.key]?.toFixed(2)}
{:else if column.type === "percent"}
diff --git a/src/routes/list/+layout.svelte b/src/routes/list/+layout.svelte
index bbc979f8..6ffe1af6 100644
--- a/src/routes/list/+layout.svelte
+++ b/src/routes/list/+layout.svelte
@@ -182,6 +182,22 @@
title: "Overbought Stocks",
link: "/list/overbought-stocks",
},
+ {
+ title: "Top-Rated Dividend Stocks",
+ link: "/list/top-rated-dividend-stocks",
+ },
+ {
+ title: "Biggest U.S. Companies by Revenue",
+ link: "/list/highest-revenue",
+ },
+ {
+ title: "Biggest U.S. Companies by Income Taxes",
+ link: "/list/highest-income-tax",
+ },
+ {
+ title: "Biggest U.S. Employers",
+ link: "/list/most-employees",
+ },
];
navigation = [...navigationIndustry, ...navigation];
diff --git a/src/routes/list/+page.svelte b/src/routes/list/+page.svelte
index 04f1f899..8ae43f34 100644
--- a/src/routes/list/+page.svelte
+++ b/src/routes/list/+page.svelte
@@ -1,7 +1,38 @@
-
Market Cap Groups
+
Popular Lists
+
+
+
+
+
Market Cap Groups
diff --git a/src/routes/list/highest-income-tax/+page.server.ts b/src/routes/list/highest-income-tax/+page.server.ts
new file mode 100644
index 00000000..949e27e3
--- /dev/null
+++ b/src/routes/list/highest-income-tax/+page.server.ts
@@ -0,0 +1,26 @@
+export const load = async ({ locals, setHeaders }) => {
+
+ const getData = async () => {
+ const { apiKey, apiURL } = locals;
+ const postData = { filterList: 'highest-income-tax' };
+
+ const response = await fetch(apiURL + "/list-category", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ "X-API-KEY": apiKey,
+ },
+ body: JSON.stringify(postData),
+ });
+
+ const output = await response.json();
+ setHeaders({ "cache-control": "public, max-age=60*5" });
+
+ return output;
+ };
+
+ // Make sure to return a promise
+ return {
+ getData: await getData(),
+ };
+};
diff --git a/src/routes/list/highest-income-tax/+page.svelte b/src/routes/list/highest-income-tax/+page.svelte
new file mode 100644
index 00000000..18515d1d
--- /dev/null
+++ b/src/routes/list/highest-income-tax/+page.svelte
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+ These are the biggest public companies in the US, sorted by how much they
+ paid in corporate income taxes in the past 12 months.
+
+
+
+
+
diff --git a/src/routes/list/highest-revenue/+page.server.ts b/src/routes/list/highest-revenue/+page.server.ts
new file mode 100644
index 00000000..ffda598b
--- /dev/null
+++ b/src/routes/list/highest-revenue/+page.server.ts
@@ -0,0 +1,26 @@
+export const load = async ({ locals, setHeaders }) => {
+
+ const getData = async () => {
+ const { apiKey, apiURL } = locals;
+ const postData = { filterList: 'highest-revenue' };
+
+ const response = await fetch(apiURL + "/list-category", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ "X-API-KEY": apiKey,
+ },
+ body: JSON.stringify(postData),
+ });
+
+ const output = await response.json();
+ setHeaders({ "cache-control": "public, max-age=60*5" });
+
+ return output;
+ };
+
+ // Make sure to return a promise
+ return {
+ getData: await getData(),
+ };
+};
diff --git a/src/routes/list/highest-revenue/+page.svelte b/src/routes/list/highest-revenue/+page.svelte
new file mode 100644
index 00000000..323b24aa
--- /dev/null
+++ b/src/routes/list/highest-revenue/+page.svelte
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+ These are the biggest U.S. companies ranked by total revenue or sales over
+ the past 12 months. It includes companies based in the United States that
+ can be publicly traded on the stock exchange.
+
+
+
+
+
diff --git a/src/routes/list/most-employees/+page.server.ts b/src/routes/list/most-employees/+page.server.ts
new file mode 100644
index 00000000..72ac287f
--- /dev/null
+++ b/src/routes/list/most-employees/+page.server.ts
@@ -0,0 +1,26 @@
+export const load = async ({ locals, setHeaders }) => {
+
+ const getData = async () => {
+ const { apiKey, apiURL } = locals;
+ const postData = { filterList: 'most-employees' };
+
+ const response = await fetch(apiURL + "/list-category", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ "X-API-KEY": apiKey,
+ },
+ body: JSON.stringify(postData),
+ });
+
+ const output = await response.json();
+ setHeaders({ "cache-control": "public, max-age=60*5" });
+
+ return output;
+ };
+
+ // Make sure to return a promise
+ return {
+ getData: await getData(),
+ };
+};
diff --git a/src/routes/list/most-employees/+page.svelte b/src/routes/list/most-employees/+page.svelte
new file mode 100644
index 00000000..6daf843b
--- /dev/null
+++ b/src/routes/list/most-employees/+page.svelte
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+ These are the biggest U.S. companies ranked by the total number of
+ employees, updated daily. These are companies based in the United States of
+ America and listed on the stock market.
+
+
+
+
+
diff --git a/src/routes/list/top-rated-dividend-stocks/+page.server.ts b/src/routes/list/top-rated-dividend-stocks/+page.server.ts
new file mode 100644
index 00000000..e8f586d8
--- /dev/null
+++ b/src/routes/list/top-rated-dividend-stocks/+page.server.ts
@@ -0,0 +1,26 @@
+export const load = async ({ locals, setHeaders }) => {
+
+ const getDividendStocks = async () => {
+ const { apiKey, apiURL } = locals;
+ const postData = { filterList: 'top-rated-dividend-stocks' };
+
+ const response = await fetch(apiURL + "/list-category", {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ "X-API-KEY": apiKey,
+ },
+ body: JSON.stringify(postData),
+ });
+
+ const output = await response.json();
+ setHeaders({ "cache-control": "public, max-age=60*5" });
+
+ return output;
+ };
+
+ // Make sure to return a promise
+ return {
+ getDividendStocks: await getDividendStocks(),
+ };
+};
diff --git a/src/routes/list/top-rated-dividend-stocks/+page.svelte b/src/routes/list/top-rated-dividend-stocks/+page.svelte
new file mode 100644
index 00000000..4821ea48
--- /dev/null
+++ b/src/routes/list/top-rated-dividend-stocks/+page.svelte
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+ This list highlights top-rated dividend stocks, each with an average "buy"
+ or "strong buy" rating from at least 10 analysts. Every stock offers a
+ dividend yield of at least 2% and a payout ratio below 60%, indicating
+ sustainable dividends.
+
+
+
+
+