From ce743a9f99612facbcbc2495e126136984ab856f Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 5 Sep 2024 17:41:31 +0200 Subject: [PATCH] add countries to screener --- src/lib/utils.ts | 39 +++++++++++++++++++ .../stock-screener/[strategyId]/+page.svelte | 13 +++++-- .../[strategyId]/workers/filterWorker.ts | 17 +++++++- 3 files changed, 64 insertions(+), 5 deletions(-) diff --git a/src/lib/utils.ts b/src/lib/utils.ts index 91bcc4ca..8c3094a3 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -993,6 +993,45 @@ export const listOfCountries = [ "Zimbabwe", ]; +export const listOfRelevantCountries = [ + "United States", // By far the most companies listed on the NYSE + "China", + "Canada", + "UK", + "Japan", + "Israel", + "Brazil", + "France", + "Ireland", + "Germany", + "Mexico", + "India", + "Australia", + "South Korea", + "Sweden", + "Netherlands", + "Switzerland", + "Taiwan", + "South Africa", + "Hong Kong", + "Singapore", + "Argentina", + "Chile", + "Philippines", + "Turkey", + "Italy", + "Indonesia", + "Malaysia", + "Luxembourg", + "Vietnam", + "New Zealand", + "Denmark", + "Norway", + "Finland", + "Russia", + "United Arab Emirates", +]; + export const sectorList = [ "Basic Materials", "Communication Services", diff --git a/src/routes/stock-screener/[strategyId]/+page.svelte b/src/routes/stock-screener/[strategyId]/+page.svelte index a384e31b..d68a9f86 100644 --- a/src/routes/stock-screener/[strategyId]/+page.svelte +++ b/src/routes/stock-screener/[strategyId]/+page.svelte @@ -1,12 +1,13 @@