Auto-liquidation avoidance.
Y
Yevgen
I propose to make the following feature when trading in the cross. When the Margin ratio starts to go off scale, and it becomes clear that the liquidation is rather inevitable, it is still possible to save the funds frozen as the Maintenance margin, and part of the open positions. To do this, it is necessary that the terminal, upon reaching 90%, would itself close positions one by one at a loss. First of all, you should close those that are for a large amount and with less leverage. By closing this, funds are released from the maintenance margin and the margin ratio is temporarily normalized. If the cataclysm continues, then the terminal closes one more position at a loss, and so on. As a result, after such liquidation, 10% may remain in the account. My telegram: @xchop.