How to make a profit on the stock market when systemic crises occur