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.
Sales on which losses are disallowed because you recover your market position within a 61-day period.