SCHEDULE D 4 DONE calculates long term or short-term capital gains and losses, wash sales and cost basis changes from the sale of mutual funds options and stocks during the tax year. SD4D automates/creates/generates the IRS Schedule D form needed for tax filing.