Required capital = max margin + max drawdown.