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.
Depreciable property used in a trade or business and held for more than a year. All Section 1231 gains and losses are netted; a net gain is treated as capital gain, a net loss as an ordinary loss.