In foreign exchange trading, investors need to convert RMB into foreign currency, and then investors can buy and sell foreign exchange through the trading platform provided by brokers. After the transaction is completed, investors can withdraw their funds from China through the cash withdrawal channel provided by brokers, so in the foreign exchange margin transaction, the funds need to leave the country.