Why can selling foreign exchange to buy domestic currency alleviate the deficit?
Generally speaking, the balance of payments deficit indicates a shortage of foreign exchange. Under the floating exchange rate system, market supply and demand determine the change of exchange rate, so the balance of payments deficit will cause the local currency to depreciate and the foreign currency to appreciate, that is, the foreign exchange rate will rise. Selling foreign currency and buying local currency is to let the local currency appreciate to alleviate the deficit problem.