Exchange rates can differ within the same country. Some countries have restricted currencies, limiting their exchange to within the countries' borders and often there is an onshore rate and an offshore rate. A more favorable exchange rate can often be found within a country's borders versus outside its borders and a restricted currency has its value set by the government. China is an example of a country that has this rate structure and a currency that is controlled by the government. Every day, the Chinese government sets a midpoint value for the currency, allowing the yuan to trade in a band of 2% from the midpoint.