Track Your Trades is a software for generating IRS
Schedule D (Capital Gains and Losses) for your federal tax return, complete with totals and wash sales!
Print hard copy, or create TXF file for exporting to TurboTax, H&R Block At Home, etc. Comes with trade tools: view your trade history; find average price paid; check long-term vs short-term capital gain; check your rate of return; and do "What-if" analysis for tax loss planning. Generate Form 4797 for Mark-to-Market traders.