Get your taxes done using TurboTax

Does Turbo Tax figure all this out for you if you download the trades directly to Turbo Tax from your brokerage account?