Generally not for an individual: brokerage fees enter the gain calculation, but not your equipment or training.
For a private investor, only certain direct costs tied to disposals can be counted. Hardware, subscriptions and courses are generally not deductible. The case of a professional activity is different.
You pay a 5 € commission to sell: it reduces your gain; your screen reduces nothing.
Keep all invoices in case your situation changes.
Thinking everything that serves trading is deductible.
Rules differ between individual and professional.
Related mission : Trader taxation in France
Practise on Doji Academy