For German residents: We pool your losses and gains together from all of your trades. When you make a trade in the future, the most recent losses that you have made will be used to offset your gains and tax will be withheld accordingly.
For additional information, please consult with your tax advisor.