When buying foreign currency, the foreign currency is credited to the "foreign exchange trading" account, and the corresponding foreign currency account is debited; At the same time, taking RMB as the accounting unit, the corresponding RMB amount will be credited to the debit of the "foreign exchange trading" subject and its corresponding RMB accounting credit. When selling foreign currency, the bookkeeping account is the same as above, but the borrowing direction is opposite.