Where's the explanation lol? Margin trading is quite complex and is not just an example. There's a lot of documentation on the internet on it. This is something that can be very dangerous and can make you lose a lot, especially in the crypto market. So try your experiments with very small sums before investing more.