🔌 Data Sources

Data Sources

Every data provider Dalil uses, what data they supply, their update frequency, and their limitations. Full transparency on where each number comes from.

Open Live Dashboard →

Drahmi — Casablanca Stock Exchange

What it provides: Real-time and delayed equity data for all stocks listed on the Bourse de Casablanca (BVC), including price, daily change, volume, and company metadata.

Used for: All Casablanca tab data — BANKS, TELECOM / UTILITIES, INDUSTRY / MATERIALS, and OTHER STOCKS sections. Also powers the MASI and MASI20 index values shown on the Overview tab.

Update frequency: Cached for 60 minutes on Dalil. Drahmi itself provides data with a delay typical of CSE data vendors.

Limitations: Data is only meaningful during BVC trading hours (Monday–Friday, 09:30–15:30 WAT). Outside these hours, prices reflect the previous session's close.

Open Exchange Rates — Forex / MAD

What it provides: Exchange rates for 170+ currencies against the US dollar, updated hourly. Dalil uses these to calculate MAD cross rates for all currency pairs.

Used for: All Forex tab data — USD/MAD, EUR/MAD, GBP/MAD, and 17 other currency pairs against the dirham.

Update frequency: Cached for 30 minutes on Dalil. Historical rates from the previous day are fetched to calculate daily percentage changes.

Limitations: Free and standard tier rates are not real-time interbank rates — they are derived from a blend of sources and suitable for informational use, not for executing FX transactions.

Luzia — Cryptocurrency

What it provides: Real-time cryptocurrency prices and 24-hour percentage changes for 40+ pairs from Binance spot markets.

Used for: All Crypto tab data — LARGE CAP, DEFI / LAYER2, MEME / TRENDING, LAYER1 / INFRA, and STABLECOINS sections.

Update frequency: Cached for 5 minutes on Dalil — the most frequently updated data on the platform.

Limitations: Prices reflect Binance spot prices which may differ slightly from other exchanges. Stablecoin prices may show minor deviations from their $1 peg during market stress.

Metals.Dev — Precious Metals

What it provides: Spot prices for gold, silver, platinum, and palladium in USD per troy ounce.

Used for: Gold, silver, platinum, and palladium prices in the Commodities tab and Overview.

Update frequency: Cached for 8 hours on Dalil. This is a deliberate choice — the Metals.Dev free tier allows approximately 100 requests per month, so we cache aggressively to stay within limits.

Limitations: Precious metals prices on Dalil may be up to 8 hours old. For real-time gold prices, use a dedicated commodities platform. This limitation is clearly labeled in the data badge on the Commodities tab.

Twelve Data — Indices, Energy & Agriculture

What it provides: Quotes for global equity indices, energy commodities (Brent, WTI, natural gas), and agricultural commodities (wheat, corn, coffee, cocoa, soybeans).

Used for: Global Indices tab, and energy/agriculture rows in the Commodities tab.

Update frequency: Cached for 30 minutes on Dalil.

Limitations: Free tier data is delayed by 15 minutes from the market. Index data for some markets (CSE, emerging markets) may have lower availability than major US/European indices.

FRED — Bonds & Rates

What it provides: US Treasury yields (daily series) and sovereign bond yields for major economies including Germany, France, the UK, Italy, Spain, Japan, Canada, Australia, South Korea, and Brazil.

Used for: Bonds tab — US / AMERICAS section and select European bond yields. FRED data is authoritative and sourced directly from the Federal Reserve Bank of St. Louis.

Update frequency: Cached for 60 minutes on Dalil. FRED itself updates daily for US Treasuries and monthly for international sovereign bonds.

Limitations: International bond data from FRED is monthly frequency — meaning some European and Asian yields update only once per month. Morocco's own yield curve is currently indicative (static) as there is no reliable free API for Moroccan government bond yields.

FMP (Financial Modeling Prep) — ETFs

What it provides: End-of-day quotes for 16 major global ETFs including SPY, QQQ, GLD, TLT, and emerging market funds.

Used for: Global ETFs section in the Indices tab.

Update frequency: Cached for 24 hours on Dalil. ETF data is end-of-day.

Limitations: ETF prices are from the previous trading session close and are labeled as indicative.

RSS News Feeds — Market News

What it provides: Financial and economic news headlines from Moroccan and international sources, aggregated and categorized automatically.

Sources used:

Update frequency: Cached for 30 minutes on Dalil.

Limitations: News is fetched as-is from RSS feeds. Headlines are not verified, edited, or endorsed by Dalil. Categorization (Morocco, Crypto, Forex, etc.) is automated using keyword matching and may occasionally miscategorize articles.

Static / Indicative Data

US equities, European equities, GCC equities, and Asian equities are displayed using static indicative data — representative prices that are not updated in real time. These sections exist to provide market context and portfolio reference, not live trading data. They are clearly labeled as "Indicative" throughout the dashboard.

Related