Following on from the recent Merge feature, I think a Split feature would also be helpful.
For example, when withdrawing from a perpetual long contract that settles in the originating asset.
So when I withdraw my ETH long from MCDEX, I assume Koinly would see this as a single deposit or transfer moving back into my wallet. In reality, this single amount includes two elements – the original ETH used as leverage which is not a taxable event, and the additional ETH from the margin profit which would have a cost-basis of zero.
To address this, I plan to withdraw in two parts. However, the gas fees for this type of withdrawal are extremely high (e.g. $40) so this is far from ideal.