On making profit from the mispricing of Hive Dollars

in #hive-dollar3 years ago (edited)

Over the years I've tried to make profit by buying and selling Steem Dollars (SBD) and then Hive Dollars (HBD), and doing conversions. This post is a gathering of my thoughts on the matter.

Warning: Unless you have a strong understanding of how Hive Dollars work, you probably should not convert HBD at all, or follow any of the suggestions in this post

HBD basics

image.png

I've written a full post on how HBD works, but to summarize, Hive Dollars are Hive's native stablecoin. If you hold some Hive Dollars, at any time you can execute the HBD_convert smart contract. 84 hours after executing the contract, you will receive the equivalent amount of Hive as the converted amount of HBD in USD, based on the median feed price of Hive over that 84 hours. There is also a convert contract for converting Hive to HBD which works a little differently and incorporates a fee, and there is the HBD Stabilizer in action, which is funded by the DHF, but this post will mostly focus on the basic convert contract.

Challenges to Making Profit on Conversions

In principle with this convert contract, you can buy HBD any time the price is below $1, execute the convert contract, and expect to make the difference in profit. However, in reality there are a number of challenges which make it more difficult than it first sounds.

1. High Variability in Outcomes

When you buy HBD for less than $1, let's say $0.99, and execute a convert, you are not guaranteed the difference in profit. In reality, you are making a complex bet and the difference in price only represents an edge each time you execute the contract. On execution of the contract, you could easily get $0.90 or less, or $1.10 or more in real value of Hive, due to the difference between the feed price and the market price of Hive.

2. Transaction Costs

When you are buying HBD on centralized exchanges, you will be charged a fee. This fee needs to be accounted for when converting, as it cuts into the edge that you would have to make profit on a conversion. On top of the basic fee, there is the spread between bid and ask price, which often represents a hidden fee that traders may not be cognizant of, this spread exists even on feeless exchanges such as the internal market.

3. Trading Pairs

HBD suffers from a dearth of trading pairs, and those that it does have are against volatile assets. There are 3 centralized exchanges where HBD can be exchanged against Bitcoin, (Upbit, Bittrex and Ionomy), and there is the internal market, a decentralized exchange where HBD can be traded against Hive.

This poses a challenge because any order that you have to buy HBD must be in a volatile asset. Either you must be exposed to the volatility risk of Bitcoin or Hive, or you must make two transactions in short succession, doubling the transaction fees and always buying at the ask price (the higher of bid/ask).

4. Liquidity

Of the 4 available HBD trading pairs, all have poor liquidity. UpBit is much better than Bittrex and the internal market, but even on UpBit it does not take much money to push the price of HBD up as you are buying - causing slippage, which is another 'hidden' cost due to trading an asset with low liquidity. On the other side, when you are selling Hive after a conversion, you still have pretty low liquidity. Much better than the HBD pairs, but still low, it is still easy to have slippage.

5. Loss Aversion

This is a psychological problem I have experienced while doing conversions. As there is high variability in outcomes, when you experience a loss after a conversion you may be tempted to keep holding the Hive in the hope of not realizing the loss. In truth, the loss has already been made, and continuing to hold could just as easily result in a greater loss, all while preventing you from taking the opportunity to profit on converting HBD again.

6. HBD Haircut

When the HBD debt ratio is sufficiently high to reach the debt limit, HBD conversions take a haircut. When the debt limit is approaching, you will need to adjust the prices at which you buy and convert HBD to account for the risk of getting a reduced return.

My Own Approaches

Prior to the Hive/Steem fork, I sometimes bought large amounts of Steem Dollars when the price was low and immediately converted. Sometimes this worked out very well, but other times even if it seemed like I made a profit, I struggled to sell the Steem for the full expected value. Often I continued to hold due to loss aversion, and I powered up the Steem as a rationalization to avoid a sense of loss. After years, this did eventually work out ok, but it inhibited my ability to actually profit from mispricing of SBD and later HBD.

Over time I have improved how I attempt to overcome the challenges of profiting by converting HBD.

1. Run a Market Maker

This means having buy and sell orders for HBD and/or Hive on the market, that are managed in an algorithmic way. Your market maker should have orders at various price levels, and shift its bid/ask prices whenever its orders are filled. The market maker doesn't care if HBD is below or above $1, it is just providing liquidity at any price. As long as the assets it trades don't collapse in value dramatically, a market maker should be expected to slowly but consistently make profit over time, on both the bid/ask spread and the volatility of the assets traded.

You do this both to make profit, and to provide liquidity to the market. Counterintuitively you will find that you can use the liquidity of your market maker yourself, despite the fact that it is already your own money. I have started doing this on the internal market.

There is quite a synergy between market making and executing HBD conversions. Market making allows you to profit from the short term mispricing while reserving conversions to profit from more persistent mispricing of HBD.

2. Don't Convert All At Once

Instead, separate your conversions from the times that you buy HBD at low prices, and make your conversions happen at regular intervals. For example, make a small HBD conversion every morning, and another every evening.

This smooths out the volatility of outcomes, so even if you lose on one conversion, it may be compensated by another conversion a day or two later. There will still sometimes be continuous downtrends where you keep losing money on conversions, so it only partially solves the problem.

3. Vary the size of your conversions

For a little while I started converting 5000 HBD every morning and every evening, just as long as HBD was below $0.99. I now think this was a mistake - the problems of low liquidity, transaction costs etc. diminish significantly if you are converting at prices substantially below $1. Instead of trying to eek out every little edge in converting HBD, it is better to hold your HBD in reserve and wait for better opportunities. You may be willing to convert quite a small amount at $0.99, but you should be prepared to convert a larger amount at $0.95, and a much larger amount at $0.90.

4. Take advantage of HBD Savings

If you are finding HBD price is stable and you are not making many conversions, you can start putting some into savings, so that it is making at least some return. Later when HBD is starting to diverge from $1 again, you can withdraw it either for more conversions, or to simply sell at prices above $1.

Sort:  

Interesting strategy to try to even out the spreads.

Trading 10000 HBD a day in such a low liquidity token we would imagine to have a significant impact on the price?

Existing into Bitcoin has a significant cost when trying to get Bitcoin off of the exchanges especially when it is pumping. Fees go up.
With such costs do you think it is still worth the risk? 👍

Trading 10000 HBD a day in such a low liquidity token we would imagine to have a significant impact on the price?

I would expect so, but UpBit seems to absorb it rather quickly. It does distort the internal market since I primarily trade there, and it takes time for arbitrage to happen.

I've noticed/caused some big swings on ionomy when trading there.
It doesn't seem to have much liquidity so it is possible to move the needle with quite modest trades?

Yes, it's the most illiquid of an illiquid bunch.

I'm rereading your posts on HBD. Even though I've been on both chains since 2017 I never quite got the importance of HBD until fairly recently.

This post clarified it's position perfectly. Thanks for sharing. 👍

I'm buying HBD and getting some good returns using the 3 day conversion method.
With HIVE over a dollar its a buy all the way. 👍👍

Existing into Bitcoin has a significant cost when trying to get Bitcoin off of the exchanges especially when it is pumping. Fees go up.
With such costs do you think it is still worth the risk? 👍

I personally rarely touch Bitcoin as part of my process. I keep fiat on Bittrex and it's rare for me to transfer Bitcoin out, only keeping it briefly on the exchange.

I learned my lessons years ago about leaving Bitcoin on centralized exchanges. Not a good idea when it's pumping.
Its amazing how many of these exchanges freeze just when we want to cash out! 😱😂👍

Really interesting and insightful post about different strategies for hbd.

I have also been doing a lot of thinking about hbd recently. I would love this to become a more valuable asset to hive. Its got lots of use cases as long as its not abused and kept limited in scope. As soon as its extended to exchanges i think it begins to reduce in value to the community and as an asset for hive.

Keep up the good work, I really find the post interesting to learn from and I will definitely start keeping mine because I do convert it to hive.