Additional Leverage Bot Utilities
Additional Leverage Bot Utilities
1. Add Margin for Enhanced Risk Management
The add margin feature gives you more control over your position by adding extra funds, reducing the risk of liquidation. If margin is added too late and liquidation is already imminent, the bot may not have time to process it. Adding margin early, especially when your position is near the liquidation threshold, increases the chance of avoiding liquidation.

Example
You start with $100 of your own funds and borrow $400, giving you a $500 position.
The asset price is $1 and, with 5x leverage, your liquidation price is $0.86. This is based on a 70% leverage buffer divided by your leverage amount: 70% Γ· 5 = 14%, $1.00 β 14% = $0.86.
If you add another $100 to make the position safer:
β’ You now have $200 of your own money in the trade.
β’ The position size remains $500 ($400 borrowed + $100 initial).
β’ New leverage = $500 Γ· $200 = 2.5x leverage.
β’ The buffer is 70% Γ· 2.5 = 28%.
β’ New liquidation price = $1 Γ (1 β 0.28) = $0.72.
2. Enhanced Stop Loss and Take Profit Management
You can add, edit, or remove stop-loss and take-profit orders after opening a trade. They can be set from the open trade menu when tracking your position using the command /trackall or by clicking βcheck positions.β This flexibility lets you adjust your risk and profit targets as market conditions change.
Disclaimer
Stop-loss and take-profit orders are not guaranteed and should only be used when you cannot monitor your trades. Due to volatility, we cannot guarantee that any stop-loss or take-profit will trigger accurately or effectively. 0xLeverage assumes no liability for the final PNL of any position closed with either a stop-loss or take-profit.
Last updated