mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
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.
19 lines
1.8 KiB
JSON
19 lines
1.8 KiB
JSON
{
|
|
"symbols": [
|
|
{ "symbol": "^TASI.SR", "name": "Tadawul All Share", "country": "Saudi Arabia", "flag": "\ud83c\uddf8\ud83c\udde6", "type": "index" },
|
|
{ "symbol": "DFMGI.AE", "name": "Dubai Financial Market", "country": "UAE", "flag": "\ud83c\udde6\ud83c\uddea", "type": "index" },
|
|
{ "symbol": "UAE", "name": "Abu Dhabi (iShares)", "country": "UAE", "flag": "\ud83c\udde6\ud83c\uddea", "type": "index" },
|
|
{ "symbol": "QAT", "name": "Qatar (iShares)", "country": "Qatar", "flag": "\ud83c\uddf6\ud83c\udde6", "type": "index" },
|
|
{ "symbol": "GULF", "name": "Gulf Dividend (WisdomTree)", "country": "Kuwait", "flag": "\ud83c\uddf0\ud83c\uddfc", "type": "index" },
|
|
{ "symbol": "^MSM", "name": "Muscat MSM 30", "country": "Oman", "flag": "\ud83c\uddf4\ud83c\uddf2", "type": "index" },
|
|
{ "symbol": "SARUSD=X", "name": "Saudi Riyal", "country": "Saudi Arabia", "flag": "\ud83c\uddf8\ud83c\udde6", "type": "currency" },
|
|
{ "symbol": "AEDUSD=X", "name": "UAE Dirham", "country": "UAE", "flag": "\ud83c\udde6\ud83c\uddea", "type": "currency" },
|
|
{ "symbol": "QARUSD=X", "name": "Qatari Riyal", "country": "Qatar", "flag": "\ud83c\uddf6\ud83c\udde6", "type": "currency" },
|
|
{ "symbol": "KWDUSD=X", "name": "Kuwaiti Dinar", "country": "Kuwait", "flag": "\ud83c\uddf0\ud83c\uddfc", "type": "currency" },
|
|
{ "symbol": "BHDUSD=X", "name": "Bahraini Dinar", "country": "Bahrain", "flag": "\ud83c\udde7\ud83c\udded", "type": "currency" },
|
|
{ "symbol": "OMRUSD=X", "name": "Omani Rial", "country": "Oman", "flag": "\ud83c\uddf4\ud83c\uddf2", "type": "currency" },
|
|
{ "symbol": "CL=F", "name": "WTI Crude", "country": "", "flag": "\ud83d\udee2\ufe0f", "type": "oil" },
|
|
{ "symbol": "BZ=F", "name": "Brent Crude", "country": "", "flag": "\ud83d\udee2\ufe0f", "type": "oil" }
|
|
]
|
|
}
|