Retirement tax questions

sgbloss  just above... 

I cannot see what you are doing, so I cannot answer your questions.  Your statements are too vague and frankly, I don't have time to do more than provide the "way" to reach the correct answer.  You have to do the work or hire someone obviously.  

If you have the TD Ameritrade cost basis factors (CBFs) on 1099-B (back not shared with IRS, but you are still responsible for what I described in the prior post)  you can use those CBFs as I showed on my spreadsheet in April 2021.  If not, you have to build your own spreadsheet or use the calculator at costbasistools.com for each lot you bought (for GLD and SLV).  I used the latter and it seems to be accurate for GLD and SLV. (Updated 4-19-2023 after rechecking the calculator vs. the TD numbers)

Above is IMO... Consult an accountant if needed.