Hi Pravin
Have you maintained the check box for reverse posting. The accounting standards vary country to country. In many countries, it is an accepted practice not to reverse the unrealized gain/loss and hence you need to maintain the reverse posting checkbox as well for the FX Valuation entries to be reversed on the first day of next period.
Thanks & regards
Sanil Bhandari