When you discover a massive loss in your investment account, it's terrifying. But a bad outcome doesn't automatically mean you …