UK leverage trading


I have a question. How does cointracker calculate tax for trades using leverage on an exchange? for example:

I deposit 1 ETH from my crypto wallet.
Open a leverage position of 4x using the 1 ETH as margin.
Profited in that trade and made 0.02ETH
Is that 0.2ETH added to the tax report as a “payment?” Then if I convert that 0.2ETH into GBP, is that a capital gain?

Here’s a detailed guide on how we handle cryptocurrency margin trading taxes.