EZRate
FAEN
Sign in
EZRate / Rate methodology

How EZRate calculates its rates

EZRate rates are extracted from real buy and sell messages in trading groups and channels — never copied from other websites. This page explains exactly how each number is built.

Version 1.2 · Last reviewed Sep 30, 2026
Summary (quotable)

Every 60 seconds EZRate collects the rates quoted across dozens of trading sources, drops quotes more than ±1% away from the median, and publishes the weighted median of the rest. If fewer than 5 valid sources exist, the previous rate is kept and labelled “low-source”.

1. Data pipeline

01
Collect
Accounts and bots in trading groups read every message.
02
Extract
Detect asset, buy/sell and number; normalise digits.
03
Aggregate
Drop outliers, take weighted median over 60s.
04
Publish
Website, API, widgets and alerts.

2. Outlier removal & median

First we take the raw median of all quotes. Any quote further than the allowed tolerance from it is dropped. From the remaining quotes we record the weighted median (weight = source reliability). Try moving the tolerance:

Allowed tolerance: ±1.00%
median
Kept: 10Dropped: 2Final rate: 105,300 IRT
Aggregation window
60 seconds
Quote validity
3 minutes
Minimum sources
5 sources

3. Sources by asset

AssetSourceFrequency
USD & free-market FXTelegram groups and channels (user account + bots)every 60s
City marketsIndependent sources for Herat, Sulaymaniyah, Dubai, Istanbulevery 60s
Global currenciesExchangeRate-API × EZRate free-market USDevery 30 min
CryptoBinance REST + WebSocketreal time
GoldGlobal ounce + gold-trader groupsevery 60s
CoinsSeveral websites + rate-announcement channelsevery 5 min

4. Gold formula & coin bubble

gram_24k = ounce × USD_free ÷ 31.1035
gold_18k = gram_24k × 0.750  ·  21k × 0.875  ·  22k × 0.9167
mesghal = gold_18k × 4.3318
bubble = coin_market − coin_intrinsic

The global ounce is the live spot price of gold. The formula price is compared with gold-trader groups and flagged when the gap is large.

5. Adjustment factor

To stay aligned with the market an admin can apply a small factor: final = base × (1 + k%). Every change is recorded with time and admin name in the audit log and announced on this page.

6. Limitations

  • Rates are quoted prices, not settled trades, and may differ from your local exchange.
  • During quiet hours (nights, holidays) fewer sources are active and rates update more slowly.
  • Global currencies are derived from the global source’s daily data.

7. Changelog

Sep 30, 2026Added the Istanbul market to the USD page.
Sep 11, 2026Coin minimum sources lowered from 6 to 5.
Jul 23, 2026Methodology v1.0 published.
Get the same data from the API
Every response includes source count and last aggregation time.
API docs