Only if you are recognized as a professional trader by the IRS. In order to do that you have to derive at least 50% of your total income from trading in securities. You also have to file a 'mark to market' election with the IRS.
Here are the rules for professional traders.
If you qualify then you get to deduct the expenses as business expenses. If you don't qualify then they are investment expenses and investment expenses are no longer deductible under the TCJA.
@sky011
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"