For 2018 through 2025, you cannot deduct investment fees. These fees are treated as miscellaneous itemized deductions subject to a 2% of adjusted gross income floor; these deductions have been suspended for this period.
Debt used to buy, build, or construct a principal residence or second home and that generally qualifies for a full interest expense deduction.