It's simple: we use the good old stop loss and take profit. If your working capital needs to drop by 20% to liquidate, then put a stop loss below this mark, for example, by -10%. This way you will be able to control your risks and build strategies that will definitely not lead to a complete loss of capital.