A marketable security is initially classified as a trading security, or an available-for-sale security, or a held-to-maturity debt security. Subsequently, a security can be transferred between categories.
Required:
Explain the accounting for a related unrealized holding gain or loss when a transfer between categories occurs.