How to manage "black swan" situations in algorithmic trading?