Use-case
Automations on DeFi Saver allow you to automatically manage your position based on specific inputs.
In this article, we'll cover all of the automation strategies that you can utilize within your position.
Please note that compatibility plays a role in automation availability. Depending on the protocol and chain you have selected, certain strategies may not be available. For a full overview of automation compatibility, please visit our Compatibility article.
Automated Leverage Management
Our oldest and still most popular option, automated leverage management allows anyone to configure:
Partial unwinding (auto-repay) of their position in case it drops below a certain threshold,
Automated leveraging up (auto-boost) in case it goes above a user configured threshold,
This option is typically used as liquidation protection, or as a way to maintain a constant leverage position.
For a better understanding how the Boost and Repay features work, please visit our Use-Case article.
To activate Automated Leverage Management, please follow these steps:
Open up your position and navigate to the "Automate" tab:

Choose "Automated Leverage Management"
Input the ratio that you'd like to keep your position at.

You can also click "Advanced", which will let you specify at which ratio Repay/Boost should trigger at, and to which Safety Ratio it should Repay/Boost the position to:

Once everything looks good, press "Enable"
Boost / Repay on Target Price
Similar in functionality to Automated Leverage Management. The main difference is that, instead of a specific ratio that's being maintained, this feature automatically executes Boost or Repay when the price you input is reached.
These are typically used to partially lock in profits when you target price is reached, or to leverage more when market crashes below a level you recognized as a potential support point.
To activate Boost / Repay on Target Price, please follow these steps:
Open up your position and navigate to the "Automate" tab:

Choose "Boost on Target Price" or "Repay on Target Price"
Under "When price goes" - you can specify if your automation will trigger when the price of your collateral goes over or under the specified price point:

You also need to add the price point at which the automation will trigger, and what Safety Ratio it should Boost/Repay it to:

Click "Enable"
Take Profit / Stop Loss
A classic combo, the Take Profit and Stop Loss options allow you to configure target price points at which your position would be fully closed, with your position's whole current debt cleared using collateral.
These options are typically used as liquidation protection and a way to limit and minimize losses or maximize gains.
To activate Take Profit / Stop Loss, please follow these steps:
Open up your position and navigate to the "Automate" tab:

Choose "Take Profit" or "Stop Loss"
Input what amount the collateral asset should be under (for Stop Loss) or over (for Take Profit), and whether you want to close to collateral or debt.

Press "Enable"
The "Close (to X)" represents which asset will be withdrawn to your EOA wallet once the position is fully closed. To understand this in more detail, let's look at how the "Close" tool works in the background:
First, it flash loans the debt asset
It uses the flash loaned funds to pay back all of the debt
Now that your collateral is freed up, it's withdrawn
The collateral is then swapped to the debt asset
This is used to pay back the flash loan
The remaining funds are withdrawn to your EOA
Now, if you choose "Close to Collateral", this means that it will only swap enough of your collateral to cover the flash loan, but it will withdraw the rest in the collateral token. If you choose "Close to Debt", it's going to swap all of your collateral to the debt asset, pay back the flash loan, and the rest will be withdrawn in the debt token.
Trailing Stop
Compared to a standard Stop Loss which lets you set a fixed price threshold, a trailing stop is a dynamic option that lets you configure a percentage drop from peak reached price which, when breached, would trigger full closing of your position.
This option is typically used as an alternative way to limit losses and ensure gains.
To activate Trailing Stop, please follow these steps:
Open up your position and navigate to the "Automate" tab:

Choose "Trailing Stop".
Input the % by which the collateral's price can dip from its previous peak, and whether you'd like to keep the remaining balance in your collateral or debt asset.

Press "Enable"
Savings Liquidation Protection (Maker exclusive)
The Savings Liquidation Protection is a unique automation option that connects Maker Vault (CDP) owners with our Smart savings integrations, allowing anyone to borrow DAI and deposit it into supported yield earning protocols, while eliminating liquidation concerns. In case your Vault's (CDP's) ratio falls below the configured threshold, the DAI deposited into Smart Savings would be used to pay back debt.
This option is typically used as a way to earn yield on DAI while keeping your Vault (CDP) protected against liquidation.
To activate Savings Liquidation Protection, please follow these steps:
Open up your position and navigate to the "Automate" tab:

Choose "Savings Liquidation Protection".
Input the threshold that will trigger a repayment to the ratio of your choosing, and the Smart Savings protocol you'll be repaying from:

Press "Enable"
Redemption Protection (Liquity V1 Exclusive)
Redemptions are a risk factor unique to the Liquity protocol, where the riskiest CDP's (Troves) get redeemed against. This means that the risky Trove's debt will be cleared off if it's deemed too risky by the protocol's parameters.
In this case, the Trove owner loses exposure to their collateral asset.
DeFi Saver's Redemption Protection tool ensures that debt can be automatically repaid to keep a Trove away from the redemption threshold.
To activate Redemption Protection, please follow these steps:
Open up your position and navigate to the "Automate" tab:
Choose "Redemption Protection".
Input the Debt in front value as the trigger, and the % by which your Trove's ratio will increase.
Press "Enable"
Stability Pool Liquidation Protection (Liquity V2 Exclusive)
This automation lets you protect your position from liquidation with automated debt payback using BOLD deposited into Liquity V2's Stability Pool:
Navigate to the Liquity V2 dashboard and click on the "Automate" tab:

Click on "Stability Pool Liquidation Protection"
Set up to what threshold your Safety Ratio can fall to, and the Safety Ratio it should be repaid to using funds from your Stability Pool deposit:

Click "Enable"
Related Articles:
Last updated