Get your taxes done using TurboTax

Okay makes sense now. The brokerage firms keeps track of the cost basis of the sold shares. Thank you