Files
worldmonitor/shared/sectors.json
Elie Habib dd127447c0 refactor: consolidate duplicated market data lists into shared JSON configs (#1212)
Adding a new item (crypto, ETF, stablecoin, gulf symbol, etc.) previously
required editing 2-4 files because the same list was hardcoded independently
in seed scripts, RPC handlers, and frontend config. Following the proven
shared/crypto.json pattern, extract 6 new shared JSON configs so each list
has a single source of truth.

New shared configs:
- shared/stablecoins.json (ids + coinpaprika mappings)
- shared/etfs.json (BTC spot ETF tickers + issuers)
- shared/gulf.json (GCC indices, currencies, oil benchmarks)
- shared/sectors.json (sector ETF symbols + names)
- shared/commodities.json (VIX, gold, oil, gas, silver, copper)
- shared/stocks.json (market symbols + yahoo-only set)

All seed scripts, RPC handlers, and frontend config now import from
these shared JSON files instead of maintaining independent copies.
2026-03-07 22:00:55 +04:00

17 lines
551 B
JSON

{
"sectors": [
{ "symbol": "XLK", "name": "Tech" },
{ "symbol": "XLF", "name": "Finance" },
{ "symbol": "XLE", "name": "Energy" },
{ "symbol": "XLV", "name": "Health" },
{ "symbol": "XLY", "name": "Consumer" },
{ "symbol": "XLI", "name": "Industrial" },
{ "symbol": "XLP", "name": "Staples" },
{ "symbol": "XLU", "name": "Utilities" },
{ "symbol": "XLB", "name": "Materials" },
{ "symbol": "XLRE", "name": "Real Est" },
{ "symbol": "XLC", "name": "Comms" },
{ "symbol": "SMH", "name": "Semis" }
]
}