Take profit is a strategy designed to automate your exit strategy. You set a Target Price for your collateral asset and this is your Take Profit Trigger. It is constantly monitored and when the trigger is hit, Take Profit will automatically sell your collateral to Dai and close your Vault. Locking in your profits, even when you’re away from your keyboard.
How does Take Profit Work?
When you set up the Take profit on your Vault, you will be required to sign a transaction which gives permission for the Automation smart contract to allow vaults to be closed based on your selected parameters.
Once the transaction is confirmed on chain, keepers (scripts that run automatically) will monitor the next OSM price against your Take-Profit trigger. When the Take Profit trigger is hit, a keeper executes the trigger function by calling the Automation smart contract.
Take Profit automatically closes your Vault when the collateral asset reaches your “Target Price”. The automation smart contract sends a transaction to close your vault, which sequentially takes a flash loan, repays your Vault’s debt, unlocks and swaps your collateral, pays back the flash loan and sends any remaining funds (in collateral or DAI based on your selection) back to the vault owner’s wallet address.
How do I set up Take Profit?
To set up a Take Profit you need to have an existing Borrow or Multiply Vault on Oasis.
1. Go to the “Optimization” tab and select the Take Profit Banner
2. Select to take your profits in ETH or DAI.
3. Select your Target Collateral price Select “Set up Take Profit”
Why should I use Take Profit?
When you open any financial position, you are taking on some level of risk, but you are also hoping for a reward. Risk and reward can sometimes cloud our judgement. Preventing us from taking actions that are objective and emotionless.
Therefore, it is sensible to have an exit strategy before entering any position. By doing this, you are setting your definition of success and failure up front, the decision on when to close your position is made before you take on any risk.
There are two sides to an exit strategy. First, there is the exit to the downside, which prevents losses beyond a certain level, you can already automate this with Oasis.app Stop-Loss Protection. Second, there is the exit on the upside, which locks in profit at a certain level, this is where Take Profit comes in. By using it, you are completely removing your emotions from your exit strategy, which will now be executed automatically on your behalf.