No, there is no carryback for capital losses. Capital losses can offset capital gains and up to $3,000 of ordinary income. Any capital loss over this limit can be carried forward indefinitely to offset future capital gains and, again, up to $3,000 of ordinary income.
Sale of borrowed securities made to freeze a paper profit or to gain from a declining market.