Anyone can Now Create Stop Loss Orders in DeFi

Once reserved for teams with 10 full-time engineers is now at your fingertips. Make sure you use it! (Part 2/2)

Mitchell Opatowsky
Dexible
5 min readDec 21, 2020

--

In our last article, we explored what DeFi in December 2020 looks like and the remaining, but essential UX challenges to adoption. It’s not easy and you’re gonna have some bad bouts of sleep if you think you’re going to make money from trading!

You’re spending way too much time and money…

  • On the Uniswap interface and probably with multiple windows.
  • Figuring out how to minimize loss.
  • Waiting for limit orders to fill without any indication of their progress.
  • Setting blockfolio price alarms.
  • Sweeping liquidity mining staking rewards into your wallet at optimal times (for price and for gas).

Even today, the markets dropped after a leak from Ledger exposed user information, a resting stop-loss could have saved you lots of money!

Dexible is introducing the first market-ready stop loss orders to DeFi and they have the potential to change the game.

What you’ll find is that Dexible’s flexible stop-loss orders are not only a first for DeFi, but they’re probably better than the TradFi ones that exist today.

What is a Stop Loss Order, really?

First, let’s start with defining what a stop-loss order is and how it accounts for that Last Mile of DeFi UX?

Stop loss orders work by setting certain price thresholds that trigger sells. They minimize losses and help with time management. So when prices move against your intended strategy, you want your stop-loss orders to sell.

Multiple stops could be implemented where one stop sells some portion and another stop sells a larger portion.

Some stops may want to be placed based on an absolute price threshold whereas others may want to be placed based on a percentage drop.

While stops in TradFi succumb to whenever the market is live, intermediary brokers, and centralized trade clearing mechanisms; decentralized trading offers you the advantage of constant run time, constant sources of liquidity, and fair level playing field options for setting up trades.

Now you can create stop losses for ERC-20s. This changes the game.

Dexible Stop Losses…

  • Cost you nothing to implement, just a flat fee per swap.
  • Let you keep custody of your assets.
  • Remain private to all other users.

Creating your First Stop Loss

First, head to https://dexible.io and check out the brand new landing page. Click Launch App or Use Now.

Connect to Metamask, Authereum, or via Wallet Connect.

Let’s take a look at what’s going on here.

Choose your input token and the amount you want to protect with the stop loss.

Choose the token you want to exit your position to. This is the output assets of the order. We recommend choosing a stable coin since falling markets tend to affect all token prices.

Choose either a Percent or Price based activation for the stop loss. You can select whether that price is a percentage below the current market or set an exact price. You’ll want to set this to a value that protects your current profit level or prevents an immediate loss of a newly acquired asset.

The example price below corresponds with the price of 3480.6822 BAND per renBTC (remember we’re dealing with Uniswap liquidity, which means prices are denominated by the demand/supply curve in each pool).

Choose max slippage per each round. Remember, the way flexible orders works is that orders are automatically split into market impact and fee minimizing rounds. So each round experiences the slippage you specify at its max.. 0% slippage is impossible. Crypto hedge funds and whales prefer 0.5% slippage since it’s the safest way to protect the transaction.

With this click “Estimate Outcomes”.

Nice! In this case, we’d be saving about 2% more REN.

Because the order executes across lots of rounds, gas fees still play a role in the final margins. But you will preserve your token outcomes better than what currently exists.

Upcoming Features

And there you have it, working operational flexible Stop Loss orders. First of its kind and it only gets better from here, with more use cases, liquidity sources, and automation wizardry. Here is what’s on the horizon:

  • Trailing Stops: follow market trends and lock in value as prices go up
  • Stop Limits: only enter a position after an up-trending price threshold is past
  • Take Profit: exit an asset after a certain profit level is reached

If you found this blog useful, please join our community, give us thumbs up on Medium, and share the article. Thanks!

👉 Join our Dexible Telegram

👉 Join our Dexible Discord

👉 Follow our Dexible Twitter

👉 Subscribe to our new Newsletter

--

--