Yes. The specific identification method allows you to use the cost basis of the shares you sell to figure your gain or loss. FIFO, or first-in, first-out, is the default method for figuring basis if you do not instruct your broker or agent to use the specific identification method. You can override FIFO at any time buy giving directions to your broker; get a written confirmation that you are using the specific identification method.
A sale of property that allows for tax deferment if at least one payment is received after the end of the tax year in which the sale occurs. The installment method does not apply to year-end sales of publicly traded securities. Dealers may not use the installment method. Investors with very large installment balances could face a special tax.