Retirement tax questions

when you request the withdrawal, the custodian will calculate the gain or loss and adjust your net amount.