I took gains this year from my taxable account I just opened about a year and a half ago from Vanguard. I don't understand why these gains were subtracted from my cost basis. Can someone enlighten me on the mechanics of taxable accounts and changes in cost basis. I am new to these types of accounts as I have always only held most of money in tax deferred.