As a beginner playing with contracts, this is simply a terrifying beast.

Damn it, I woke up to find my short position liquidated, and my account was directly halved. I was so angry that I went all in on long positions with all the remaining money, and within ten minutes I broke even; now my profits have reached a new high. Damn it, what did I do wrong? Shouldn't I have shorted the big double top structure?