A stock exchange code—often referred to as a market identifier code or exchange suffix—is a standardized alphanumeric string used to identify the specific financial market or securities exchange where a given stock is listed and traded. Examples include codes like XNYS for the New York Stock Exchange, XNAS for Nasdaq, and XSHG for the Shanghai Stock Exchange. These codes prevent confusion when identical ticker symbols are shared by different corporations across separate global trading bourses.