Norns - Three-phase oscillating Algorithm Based Assets on the Bitshares platform

in #bitshares7 years ago (edited)

Abstract

The Norns are a set of three Algorithm Based Assets issued on the Bitshares Decentralized Exchange. They use Bitshares as collateral, reference an oscillating quantity of Bitshares, are 120 degrees offset from one another and have an approximate amplitude of 5.303% over a 28 day period.

Background

The BitShares Blockchain is an industrial-grade decentralized platform built for high-performance financial smart contracts. It represents the first decentralized autonomous community that lets its core token holder decide on its future direction and products by means of on-chain voting. The core token is BTS and it is used to realize the built-in SmartCoins, which are of interested to us in this article.

Smartcoins on the Bitshares platform are decentralized Market Pegged Assets, they're typically pegged to an external asset's value (such as USD, CNY, EUR) and have provable backing collateral on the blockchain (typically 170%+ BTS collateral). Multiple feed producers (witnesses, committee or private feed publishers) provide a set of price feeds, from which the Bitshares platform establishes the MPA's settlement value as the median of this set of feeds.

Hertz was the first oscillating Algorithm Based Asset (ABA) created on the Bitshares platform. It has an amplitude of 14%, a period of 28 days and has a base reference asset value of $1.00, resulting in a price feed range of $0.86 to $1.14. Despite multiple successful oscillations, its' supply has failed to grow past 4 figures potentially due to users lack of confidence in the external USD asset peg or due to the recent global settlement of bitUSD on the Bitshares platform.

With lessons learned from Hertz, the external USD asset peg was abandoned so as to appeal to a global audience and to reduce the risk of global settlement occurring. Rather than simply mimicking Hertz without the external asset peg, a three phase offset set of ABAs was proposed to investigate the resulting market behaviors between the three assets throughout their oscillations.

About the Norns

Urthr, Verthandi and Skuld are named after the Norns from Norse mythology. They were chosen over other triple dieties because their meaning lines up closely with the planned three phase oscillating price feed pattern.

Urthr, named after Urðr (fate/past) is the first phase offset ABA.

Verthandi, named after Verðandi (present) is the second phase offset ABA.

Skuld, named after Skuld (future/debt) is the third phase offset ABA.

All three mythological entities use the character "ð" however this character isn't supported by the Bitshares platform so the modern English language equivalent of "th" was chosen over "d" to substitute "ð".

Why an amplitude of 5.303030303% ?

In the UK, a maximum of 0.8% per day 'interest' is enforced on loans; whilst the Norns potentially do not fall under jurisdiction of such regulations, the decision was made to preemptively adhere to these UK regulations so that no amplitude migration would be potentially required in the future. An amplitude of 5.303030303% results in just under 0.8% per day increase from trough to peak.

Peak value: 1 + (5.303030303/100) = 1.05303030303
Trough value: 1 - (5.303030303/100) = 0.94696969697
Daily rate: (((Peak/Trough)-1)/14)*100 = 0.8

13 months in a year?

To ensure that the sine waves were forever uniform and more predictable, a 28 day period was chosen for both Hertz and the Norns. This calendar system is similar to the International Fixed Calendar system, however the initial time reference for the sine waves is the Bitshares genesis timestamp as opposed to the beginning of the year. Given that the Norns are three-phase offset from one another, only one would have been able to start on the 1st.

This calendar system has advantages over the western Gregorian calendar system as the sine waves are identical every 28 days as opposed to having different periods each month with the Gregorian calendar system.

The 13th 'month' is called "Sol", it resides between June and July.

Permissions, Flags & Trustworthiness

To improve trustworthiness, the following unnecessary centralized asset-owner permissions have been permanently surrendered:

  • “Require holders to be white-listed”: There will never be a white-list for holders.
  • “Issuer may transfer asset back to himself”: The issuer can never transfer the asset back to themselves.
  • “Issuer must approve all transfers”: Transfers will never require approval.
  • “Disable confidential transactions”: Confidential transactions (whenever implemented) will always be allowed.
  • "Disable force settlement": I'm unable to disable force settlement, if you don't want force settlement you should use an UIA.

The following flags remain:

  • "Charge market fee" - There are no market fees imposed, this may be surrendered in the future however it could be a source of market making revenue in the future and will remain available until a future date.
  • "Allow issuer to force a global settlement" - This is currently impossible to disable. Once it's possible, it'll be disabled.
  • "Witness fed asset" - Currently a private price feed publisher list is configured so that the 'hertz-feed; account is able to publish feeds without being a witness. In the future if I have to step aside this will be enabled.

Visualization

The following Norn price feed visualization was produced in the 'Simulator.xlsx' spreadsheet, it can be used to experiment with different variables and for producing future values.

Norn chart

Conclusion

The Norns are unique assets which will ideally operate forever on the Bitshares platform without any centralized influence. Once 7 price feed publishers begin providing feeds it will become active for trading on the Bitshares platform. Hopefully this will be more successful than Hertz and will attract new users to Bitshares and possibly inspire similar ABAs to be created in the future.

Sort:  

Nice concept... !
Hope it will be a effective algorithm...

We'll see :)

After Global Settlement of bitUSD I no more trust Bitshares as a workable solution of pegged assets.

Why? It's still partially backed, it'll automatically re-activate fully once backed completely (either by bidding on collateral or by BTS' price increasing), plus other market pegged assets on the Bitshares platform didn't globally settle & these MPAs don't reference external assets thus they're far less likely to globally settle.

Because bitUSD dropped in price and was worth $0.7. Then better would be holding those assets in BTC or USDT.

BTC has dropped ~85% in value since this time last year & USDT has no publicly proven backing collateral at all, which is as good as there being no backing collateral.

The fact is that currently BTS <=> BTC <=> USDT is a better pair than BTS <=> bitUSD. USDT solved its volatility issues and now it is the only stable coin that is ~$1. The rest are ~$0.99.

And yes - USDT has no proof that it is backed by real money. That is the only reason why I diversified by bitUSD, too. Now, when bitUSD has flopped, there is a need for another stablecoin.

Now, when bitUSD has flopped, there is a need for another stablecoin.

bitCNY?

China's economy is collapsing right now. It is too sophisticated for me to jump around those assets. Even crypto coins <=> BTC <=> USD is a disaster to manage. 😂

China's economy is collapsing right now.

The global FIAT economy is probably going to collapse to be fair, hence why the norns don't reference any external asset value

@cm-steem You have received a 100% upvote from @intro.bot because this post did not use any bidbots and you have not used bidbots in the last 30 days!

Upvoting this comment will help keep this service running.

Hello! I have a question, what is the mechanism by which the price of each asset fluctuates up and down? Who makes the market? Wouldn't everyone buy low and sell high?

Hey, sorry for the late reply.

The mechanism that oscillates the price of each asset is the following price feed script: https://github.com/BTS-CM/Norns/blob/master/parallel_feed.py

In short, there are multiple trusted price feed publishers, they are tasked with broadcasting the latest values using the above script, this provides real-time prices for each asset & it should never deviate from the formula.

Wouldn't everyone buy low and sell high?

There are many different possible strategies, people could buy low sell high, others could short the peak and buy back their debt at the trough, some may buy and hold indefinetley or burn the token, some may buy a peak/trough and settle a similar peak/trough in the future. There's far more to this than solely trough->peak price movements.

I really appreciate you answering me, but unfortunately I still don't fully underside the 'other side' of this market.

I do get that some might hold a stable-ish asset.

The buy low sell high and short high repay low are really the same (or perhaps mirrored) actions in my mind.

My question is, who is buying what is being sold low? Who is taking money for a put at the top? I feel like I am missing a piece of this equation.

Thank you in advance for your patience!

My question is, who is buying what is being sold low?

At the moment, nobody because it's not an active asset on the Bitshares DEX yet.

Anyone can buy the low and settle the peak.

Someone who shorts the peak and buys back their debt at the trough can profit from debt destruction.

You may buy the peak and settle the next peak so as to keep 2x BTS locked up away from exchanges, the effect of liquid supply reduction is an unknown but people may have strategies around this.

Overall, it's an experiment and these answers are theoretical until it actually beings being traded & we see the reality of participant behaviour on the production network.