What if a Crypto was bought for $1000, it increased in value to $2000, then was used in a margin trade and liquidated. What would be the loss claimed? If it is in fact only $1000 how do you account for the additional $1000? I understand that the cost basis is $1000 but at the time of liquidation the account would have lost $2000?
you have not provided complete details - basically, you had two buys and two sells. the buy and liquidation of the crypto and the buy and liquidation of whatever you bought on margin.
So crypto was bought at $1000, increased in value to $2000, at which point it was used in say a 5X margin trade. So $10000 of another crypto was bought, price dropped and the account was liquidated, leaving the holder without the original crypto. What is the loss, $1000 or $2000? Not concerned about the number of transaction just the actual liquidation.
So we are getting closer, but still not there yet with all the facts needed: