ISO 4217
ISO 4217 is the international standard that defines three-letter alphabetic codes (and corresponding three-digit numeric codes) for the world's currencies, published and maintained by the International Organization for Standardization. It's the reason every currency traded globally has a consistent, unambiguous short code - USD for the US dollar, EUR for the euro, JPY for the Japanese yen, GBP for the British pound - regardless of which country, bank, or trading platform is referencing it.
The three-letter structure generally follows a pattern: the first two letters usually correspond to the ISO 3166 country code (the same two-letter codes used for internet domains like .us or .jp), and the third letter typically stands for the currency's name - so "US" plus "D" for dollar gives USD, "J" plus "P" plus "Y" for Japan's yen gives JPY. Some currencies shared across multiple countries, like the euro, don't follow a single-country pattern and instead get a code reflecting the currency itself (EUR).
Concrete example: without a shared standard, a trade instruction referring only to "the pound" would be genuinely ambiguous - it could mean British sterling, the Egyptian pound, the Isle of Man pound, or several other pound-denominated currencies. ISO 4217 resolves this instantly: GBP is unambiguously British sterling, EGP is the Egyptian pound, and so on, which is essential for the accuracy of cross-border payments, bank settlements, and every forex quote displayed on a trading platform.
Why it matters practically: every forex pair quoted anywhere in the world - EUR/USD, GBP/JPY, USD/CAD - is built directly from ISO 4217 codes, and the standard extends beyond forex into accounting, international invoicing, and cross-border banking systems, where SWIFT messages, for instance, rely on it, making it one of the quieter but more foundational pieces of financial infrastructure that traders rarely think about directly but depend on every time they read a currency quote.
Codes are not permanent, and a changed code is a piece of economic history compressed into three characters. When a country strikes zeros off its money the standard assigns a new code, so the Turkish lira became TRY after TRL, the Russian rouble RUB after RUR, and Venezuela has worked through several in twenty years. A currency on its third code has told you what happened to it without a single figure being quoted. The practical hazard is that retired codes linger in older databases and contracts, where a system still quoting the previous code will happily process a payment at a rate that is wrong by several orders of magnitude, which is a recurring source of settlement errors rather than a theoretical risk.
The letter X is reserved in the standard for things that are not any country's money, and this is why a trading platform quotes gold as XAUUSD. Gold is XAU, silver XAG, platinum XPT and palladium XPD, the International Monetary Fund's reserve asset is XDR, and there is even a code, XXX, for a transaction that involves no currency at all. Metals were fitted into a currency standard because banks needed to settle them through the same messaging systems that move money, which is a small illustration of how much market plumbing exists because an older system was extended rather than replaced.