Get your taxes done using TurboTax

If I understand correctly at the time of the sale the stock was yours by way of inheritance. If so, you are responsible for the gain or loss.