HBD stabilizer update

in #hbd3 years ago (edited)

Now that HBD has declined to 1 USD (though, likely more due to market factors than as a result of the stabilizer), the stabilizer has begun returning HBD to the DAO as-is rather than using it to buy HIVE.

In addition, the stabilizer will now use HIVE to purchase HBD when it is possible to do so for less than 1 USD, and return that HBD to the DAO instead. This maximizes the value in terms of number of HIVE (including those that might be created by converting undervalued HBD) taken off the market and sequestered into the DAO account.

HIVE in the stabilizer account will come from donations, beneficiaries, etc. In the future we may also convert HBD to obtain HIVE, but this is not currently implemented (for reasons discussed in previous posts).

100% beneficiary to @hbdstabilizer

Sort:  

HBD has been trading above one US dollar for extended periods during the last 24 hrs however most of the funds have been returned without a transaction taking place on the internal market. May I ask for how the trading rules were implemented?

Thank you!

HBD chart 02.23.21.png

The algorithm is published (see my feed). It looks at the average HIVE price from top exchanges (because that is more liquid and the price quotes more stable compared to HBD prices) and then compares that with the internal market price in HBD.

If it is returning the HBD, that means it wasn't able to immediately buy more than $1 worth of HIVE for 1 HBD.

Another strategy would be to hold on the HDB for a while to try to get a better price, but that isn't being done. I wanted to minimize the trust factor of holding funds.

The mismatch may be a result of how coinmarketcap (which I think is where you got that chart) calculates prices and/or there may still be an opportunity to arbitrage between internal and external markets. I know there are several bots doing so already, but perhaps there could be more. If so, then I would encourage people to take advantage of the opportunity.

Thanks for the explanation. I understand now the logic behind the code. Even without the bot there are still arbitrage possibilities although they are more difficult to execute with the thin orderbook of the internal market and the price swings that BTC is experiencing.

I ported my old market maker bot from Steem and it is now forcing much tighter spreads on the internal market (usually well under 1/2%). This has a synergy with the stabilizer since the tighter spreads mean that internal and external prices are kept much closer by arbitrage.

I noticed since last night that you were running the trading bot. This should help alot with the peg.

BTW looking at the prices right now, I do expect it to trade on the next cycle (in about 10 minutes), if things don't change of course.

Is there something wrong with the code that is managing the funds in the hbd stabilizer account? It hasn't returned any funds to the DAO for several hours now-

It had a bug due to an unexpected failure to communicate with an exchange price feed. I restarted it and will fix the bug.

Congratulations @smooth! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You published more than 40 posts.
Your next target is to reach 50 posts.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out the last post from @hivebuzz:

Hive Power Up Day - March 1st 2021 - Hive Power Delegation
Hive Tour Update - Communities