Partial position market auto-close
ApitradeThe "Auto close redundant contracts" function in the futures and spot grid-bot "Hurricane" allows you to configure the bot in such a way that it will automatically close using market order part of the position when certain conditions are reached to reduce risks and distance the liquidation price. At the same time, you can set what percentage of the position to reset and at what minimum position size to reset. It is not necessary to fill in all the fields, it is enough to fill in the field "in this case, the position is larger" (the size of the position is indicated in USD for USD-bots or in contracts for COIN-M bots) and PNL (in dollars).
Auto close when PNL is more than _ and position is more than _ allows you to take profits to make your position size more comfortable. It is recommended to enable the option "and the price is better than the open price", in this case, auto-close will not occur if the current price is worse than the open price, regardless of the PNL of the position, because a positive PNL of the position does not guarantee that the closing of the grid-bot position will make you profit taking into account all previous (including negative) transactions. Auto-close when PNL is less than _ and position is more than _ allows you to reset part of the position at a significant loss in order to minimize the risk of early liquidation due to the large size of the position
Auto-close occurs once every few minutes if all the specified conditions match in the amount of % of the specified position. Do not enter too low figure in the "percentage of position" field, as if the amount is less than the minimum order, then the auto-close may not be performed.