How Gold Desk is built
Every number on the home page comes from one of four simple pieces. None of them is a market forecast.
1. The live price — and why there are two numbers
The big styled number polls public spot-price sources (goldprice.org, with gold-api.com as backup) every few seconds through Gold Desk's own server function. If both are unreachable, the page falls back to the last successful print stored in your browser keeps that number on screen with a small note saying how old it is, and marks the status badge Delayed instead of Live. The page never blanks a price it has already shown. This is a research overlay, not a bank price and not a broker feed.
An earlier version of this page also showed a small TradingView "same feed" quote under the price, meant to guarantee an exact match with the chart. It didn't load reliably enough to be worth keeping, so it's gone. The number above and the chart next to it come from two different data vendors and will normally sit a few dollars apart — that gap is ordinary vendor spread, the same reason two banks' screens never show identical FX quotes down to the cent. If you want the number that's driving the candles, read it off the chart directly.
The percentage under the big number is labelled with what it measures. When goldprice.org answers, it's that feed's daily change and reads today. If that feed is unreachable, the page falls back to the change since the first price it saw on your device in the last 24 hours and reads since HH:MM. The signal meter and short-term ranges are unchanged: they still use price momentum since you opened the page, plus the headline lean.
2. Gold and silver, side by side
Silver (XAG/USD) uses the exact same helper-plus-chart-quote pattern as gold, with its own compact chart. The predictions grid, melt calculator, and tax estimator further down the page are gold-only for now — extending them to silver is a natural next step if it'd be useful.
3. The next-move ranges
The 5/10/20/30/45/60-minute boxes are not a prediction in any statistical sense. They're built from one formula applied to the live percentage change:
- A small drift is applied in the direction of the recent move, scaling roughly linearly with time.
- A band is drawn around that midpoint that widens with the square root of the minutes ahead — the same shape a real expected-move estimate takes, but without any of the inputs (options pricing, order flow, realized volatility) that a real one would use.
In short: it's an illustration of how uncertainty grows over a short horizon, seeded by whichever way the tape is currently leaning. It is not derived from a model that has been backtested for accuracy, and it should not inform a trade. Gold can reverse sharply on a single headline or data release, especially around a scheduled Fed decision.
4. The "why" line and headline tags
Headlines are pulled from public RSS feeds (Google News and Yahoo Finance) and matched against five keyword groups — dollar, Fed / rates, geopolitics, inflation / oil, and safe-haven flow. Whichever group appears most often across the last batch of headlines becomes the "dominant theme," and the why-line on the price card combines that theme with the direction of the live print. This is pattern matching on headline text, not editorial judgment — an ambiguous or sarcastic headline can be tagged into the wrong bucket.
5. Pakistan rates (PKR)
There are two panels here, on purpose, because there's no live public feed for the actual local rate — so rather than fake one, the page shows both pieces honestly and separately:
International equivalent (live). Calculated, not quoted: live international spot (USD/oz) is divided down to a per-gram price, converted at the live open-market USD→PKR rate, then multiplied up to a tola (1 tola = 11.6638 g). The FX rate comes from a public exchange-rate API; if it can't be reached, the panel falls back to a fixed rate after 8 seconds and says so. This auto-refreshes every few seconds like the rest of the page.
Local Sarafa Bazar benchmark (reference). This is the actual APSGJA/Sarafa Bazar number — the one Pakistani jewellers trade on, which includes the local premium the calculated panel above deliberately doesn't add. There's no API for it, so it's a manually entered snapshot with a visible date and source, refreshed by asking Claude to look up the current listing rather than by the page itself. Expect the two panels to sit close but not identical: the gap between them is the local premium.
Karachi vs. Lahore. There isn't a meaningfully different base rate between Pakistani cities — Sarafa Bazar publishes one national benchmark, and city-to-city spread on the raw metal price is typically well under 0.1%. What actually varies by city and by shop is the making charge (ujrat) on jewellery, not the tola rate itself.
ARY-style bar estimate. ARY and other certified-bar retailers price off the same Sarafa benchmark plus a retail premium; reported figures range from roughly 0% to 3% depending on the source and product, with jewellery running far higher (15–25% making charges). The page uses a 1% midpoint as a labeled estimate, not a live ARY quote.
6. The buy-tax estimate
The calculator applies three rules, in order:
- Item type and karat first. Jewelry is always treated as taxable, at any karat. Among items marked "investment," only 24K bars/rounds and 22K legal-tender coins (the two forms that typically meet a state's purity or legal-tender test) are even eligible for an exemption — 18K and 21K investment pieces are treated as taxable everywhere.
- Then the state. Hawaii, Maine, Maryland, New Mexico, Vermont, Washington, and Washington DC currently have no investment-bullion exemption at all, so the full rate applies regardless of order size. Virginia is also included in that list here, because the most recent reporting available when this page was built indicated its exemption lapsed on July 1, 2026 — this specific exemption has been enacted, repealed, and reinstated more than once, so treat this one as the most likely to be stale and confirm it directly if it affects your order.
- Then the threshold. California ($2,000), Connecticut, Massachusetts, and New York (each $1,000) only exempt a single transaction that clears that dollar line; smaller orders in those states are taxed in full.
The tax rate field defaults to each state's general statutory base rate and is fully editable — it deliberately does not try to guess your county or city add-on, since those vary by ZIP code and change independently of state law. This tool is a general guide built from public reporting at one point in time, not tax advice, and sales-tax treatment of bullion is genuinely one of the more volatile corners of state tax law. Confirm with your state's department of revenue, or a tax professional, before a purchase where the answer matters.