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.
A tax credit directly reduces tax liability, as opposed to a deduction that reduces income subject to tax.