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.
Hobby expenses are deductible only up to income from the activity; loss deductions are not allowed.