Margin interest may be deductible as investment interest. It is treated as an itemized deduction, subject to a net investment income limitation. Margin interest does not offset capital gains.
Option meeting tax law tests that defers tax on the option transaction until the obtained stock is sold.