Purpose
At this stage, the purpose of this post is to serve as discussion starter and - hence - to facilitate the gathering of people’s thoughts on viability/desirability of this feature before deciding whether to create a formal proposal
At a glance
- Introduce a new ‘automatic DCA / dynamic stop loss’ functionality to leveraged yield farms.
- This feature automatically adds collateral on your behalf when the safety buffer of a LYF hits a certain threshold
Context
As we all know, crypto is a very volatile asset class. Yes, we’ve all experienced first hand what it means to see the value of a token move by 10-20% in the matter of hours.
And while we all love to see our favourite token pump in price, we all have had that awakening moment when somehow the dip keeps dipping.
For those brave enough to use leveraged farms, this stressful emotion gets amplified even further.
This is often mitigated by trying to constantly be online to ensure your positions are in check.
But we know that this is not often possible, which makes the whole thing even harder and more stressful.
This feature aims at providing LYFarmers with peace of mind.
What problem are we solving?
- Remove the need for Farmers to manually have to monitor/add collateral to a position
For discussion
Please refer to this simplified diagram
- New feature enables the Farmer to add ‘liquidity’ to the protocol to be used as collateral, if required.
- When the price of the token decreases to a certain key level (e.g. 5% safety buffer), the feature is triggered (similarly to how the liquidation contracts work)
- When triggered, the new contract automatically uses a % of the locked ‘DCA liquidity’ to add collateral to the relevant LYF
- This process is repeated until no more ‘DCA liquidity’ is available
Notes/Considerations
- Once deposited, the ‘DCA Liquidity’ is locked and can’t be used by the Farmer unless withdrawn.
- The triggering threshold (5% in the example) is illustrative. However – conceptually – the lower the better as it gives the best benefit from a ‘reducing the break-even point’ of the position perspective
- The amount of collateral automatically added by the platform is the minimum required to restore a certain safety buffer (e.g. 10%).
Example (numbers are illustrative)
- Tom opens a 3X TKN-BUSD position for $1000 (Safety buffer 30%)
- Tom locks $500 as ‘DCA liquidity’ to the platform/position
- The price of TKN drops by 30%
- Safety buffer decreases to 5%. First threshold is hit.
- Platform checks if Tom has got any ‘DCA liquidity’. Finds $500
- Platform adds $200 of collateral. Safety buffer is increased to 10%
Edits/Improvements
The following have been gathered from fellow Alpacas
- Maximising efficiency of unused capital - ‘DCA liquidity’ should be deployed into the Lending protocol to make it work harder while locked
- Multi-position LYF liquidity - ‘DCA liquidity’ should be shared across multiple pools and used on a first-come-first-served basis