When I sell call options based on an underlying security that I own (covered call writing), how are the proceeds treated fro tax purposes? As ordinary income? As a short-term capital gain?
Is taxation of the option proceeds affected by how long I've held the underlying stock, and whether I ultimately sell it at a profit or a loss, or are these unrelated transactions?