以太坊交易所 以太坊交易所
Ctrl+D 以太坊交易所
ads
首頁 > AAVE > Info

BM對穩定幣的新想法 是社區受益還是曇花一現(附BM原文)_ING:USD

Author:

Time:1900/1/1 0:00:00

摘要:BM提出的新型穩定幣,則是要根據原BitUSD的算法,再與“嚴重超額抵押的空頭倉位”相結合,加上EOS的激勵措施,繼而提出一種能夠保證流動性的運行在EOS鏈上的穩定幣。

昨日,BM發表了有關于新的穩定幣設計的想法。

隨著Bitfinex與Tether事件的爆雷,USDT再度被推到了風口浪尖。與此同時,暫緩增發腳步的USDT為其它穩定幣打開了市場缺口,

在此過程中,伴隨著DeFi這一概念的愈發火熱,人們對包括MakerDao、GeminiDollar、USDCoin等在內的穩定幣的算法、保證流通性等手段等做出了探索。而BM提出的新型穩定幣,則是要根據原BitUSD的算法,再與“嚴重超額抵押的空頭倉位”相結合,加上EOS的激勵措施,繼而提出一種能夠保證流動性的運行在EOS鏈上的穩定幣。

特點:嚴重超額抵押的空頭倉位結合Bancor算法,為多頭和空頭頭寸提供流動性,從而提供高流動性,并且讓抵押物在時間推移、價值損失的情況下,還能夠保證平穩運行,從而保護市商。

背景

2013年Bitshares提出了比特美元的概念,其旨在提供一個去中心化交易所的解決方案。成為錨定美元的穩定幣,從而提供法幣與比特幣的置換與穩定。

BitUSD通過在想要利用BitShares代幣的人和想要價格穩定的人之間創建訂單來運營。為了向購買BitUSD的人提供流動性,BitUSD持有人被允許在多日延遲后強制平倉至少抵押的空頭頭寸。這創造了一個有效的追加保證金,并確保BitUSD的購買者,他們的代幣總是價值約1美元的BTS。為防止違約,如果價格反饋低于最低保證金要求,最低抵押空頭頭寸也可能被強制平倉。

注:如同當今銀行體系利用抵押品以借貸的方式鑄造美元一樣,比特股X也是可以利用抵押品鑄造出BitUSD。而不同于傳統銀行利用房產作為抵押品借出美元,比特股X會利用BTSX作為抵押品借出BitUSD。如果抵押品的價值相較于BitUSD的價值有所下跌,比特股將會自動售出部分抵押的BTSX以彌補虧空,并返還剩余的BTSX給抵押人。

BitUSD的主要問題是缺乏流動性:可用的BitUSD供應有限、市場價差傳播、做市商必須經營交易機器人,以便在內部訂單簿上移動訂單。

顯而易見,BitUSD的機制,雖然讓BitUSD的持有者獲得了流動性,但是,空頭頭寸并沒有得到流動性保證。最后,當無法涵蓋最少抵押的頭寸時,整個市場就會發生黑天鵝事件。當發生這種問題時,掛鉤會永久損壞,并且在BitUSD和BTS之間建立固定的匯率。

缺乏激勵創造了BitUSD,低流動性的風險,意想不到的追加保證金通知,以及安全市場制造機器人的困難,意味著BitUSD的供應量很小,息差很高。

還有許多其他項目利用了過度擔保頭寸和保證金要求的變化,他們都面臨著與BitUSD類似的問題。

值得一提的是,雖然傳統的衍生品市場實行“期貨交易”,允許人們提供抵押品,并在未來某個固定的時間以固定的價格進行結算,這些期貨合約是可替代的,可以在一定的時間內交易,但由于到期和需要結算/轉倉,所以這種方式不適合創建掛鉤令牌。

Bancor算法提供了兩種資產間的自由流動,同時保護其外匯儲備不會流失給老練的交易員。無論針對Bancor算法執行的訂單數量和種類如何,當資產對的價格回到初始起點時,該算法總是會產生利潤。

一個典型的Bancor算法有兩個“連接器”,代表市場價值相等的余額。該算法成功的在EOSRAM等市場提供了自動流動性。

Pegging算法

這種穩定幣的算法基于這樣一個概念:穩定幣是空頭對多頭提供的服務。這項服務要求賣空者為穩定幣提供流動性,如果對穩定幣有需求,那么市場相對穩定,做市商的服務提供商也會有利可圖。

其他釘住匯率的算法讓賣空者相互競爭,而不是促進它們的合作,目的是將釘住匯率的服務推向市場。在這些其他算法中,空頭競相回補和抵押其頭寸,并擔心空頭擠壓。

我們的算法的前提是那些愿意在抵押資產中略微杠桿化的人可以通過促進EOS和可互換掛鉤資產之間的市場交易來賺錢,其價值的設計,是在允許的偏差范圍內跟蹤價格。

我們的目的不是用戶創建獨立的空頭頭寸,而是創建一個全局空頭頭寸。賣空頭寸是一個中性且可逆的過程,前提是在此期間不發生其他交易。交易費用不是杠桿的主要動機,而是買入頭寸股份的動機。

為此,BM認為,這意味著400%的超額擔保或更高的目標是可行的。允許賣空者在擔保資產中只是用少量杠桿,這樣他們就有機會賺取交易費用。

做市商最初是通過在合約中存入抵押品創建的,該合約將在做市商中創建代幣,并將代幣交給最初的存款人。

舉個例子,假設抵押品是EOS,而掛鉤的是美元,其設計目的就是跟蹤EOS美元的24小時價格中位數。

目標準備金率是確定的,例如400%,其中,75%的EOS存款將作為多余的抵押品,其余的25%將放在Bancor連接器中。此時,自動做市商的合約將創建許多美元代幣,使EOS和美元連接器余額的市場價值與Pricefeed的初始價值相同。

在初始條件下,做市商擁有連接器中的100%,因此沒有凈負債,市商的賬面價值等于連接器中持有的EOS價值加上多余的抵押品EOS,再減去從連接器中出售的任何流通美元。在這個初始設置之后,任何人都可以從市商那里購買美元,這就為市商建立了未來的回購債務。

這意味著,當用戶從市商那里購買美元時,報價將會上升。如果每個購買美元的人都將其賣出,那么連接器最終處于初始狀態,對交易收取的任何費用,都將導致EOS連接器余額中EOS的凈增加。

騰訊安全威脅情報中心:跨平臺挖礦木馬MrbMiner已控制上千臺服務器:騰訊安全威脅情報中心檢測到新型挖礦木馬家族MrbMiner,黑客通過SQL Server服務器弱口令爆破入侵,爆破成功后在目標系統釋放C#語言編寫的木馬assm.exe,進一步通過該木馬與C2服務器通信,然后下載門羅幣挖礦木馬并維持挖礦進程。

騰訊安全專家在MrbMiner挖礦木馬的FTP服務器上還發現了基于Linux系統和ARM系統的挖礦木馬文件,推測MrbMiner已具備跨平臺攻擊能力。根據目前掌握的威脅情報數據,MrbMiner挖礦木馬已控制上千臺服務器組網挖礦。[2020/9/1]

考慮到這一設置和400%的準備金目標,我們可以證明實際準備金與賣出的美元之比將遠遠超出400%。為了降到400%,整個美元連接器將不得不買斷,這將推動美元價格無限。實際上,做市商會自動提高買入美元多頭的成本,因為可用的美元多頭供應減少。

做市商提供的現貨價格等于連接器余額中EOS與美元的比值。當現貨價格與Pricefeed偏離超過可接受的幅度或超過允許的時間,做市商將更具市場情況采取下列行動:

該算法的目標是,始終將狀態移動到更接近初始狀態,即比Bancor多3倍的額外抵押品和美元連接器中100%的美元。顯然,在有流通美元的情況下,連接器不可能達到100%的美元,但當EOS相比于美元的價值明顯上升時,流通供應量的百分比會下降。

抵押物轉移或美元發行的速度應將目標價格調整到目標時間內可接受的范圍。理論上,交易者應該像美元價值1美元一樣買賣美元,因為他們有信心在不久的將來總能以1美元的價格賣出美元。

這意味著,當EOS和美元的相對價格穩定時,做市商不必依賴于Pricefeed來糾正實時價格,而Bancor算法針對操縱者的安全性保護連接器余額不被交易員丟失。

在配置參數時,關鍵是要盡量減少主動做市商的頻率,當需要干預時,干預應是緩慢而漸進的。市場參與者不應該搶在市商之前獲利。

該算法的結果是一個固定資產,遵循24小時中值,而不是瞬時值。只有當做市商的24小時中位數顯著大于真實市場的24小時中位數時,它才會積極修正穩定匯率。

當市場跳躍時,我們希望交易員與Bancor算法交互,以投機的方式領先于24小時的中位數。這種提前運行可以防止強制調整Bancor的連接器,除非在長時間的情況下,中位數價格走勢越慢,做市商的風險越小,但釘住美元與實際美元之間的偏差越大。使Bancor算法具有偏離較大百分比的能力也最小化了由于饋送導致的定價的人為交互。

買賣MMS令牌

任何人在任何時候都可以貢獻新的EOS來購買MMS和USD組合。這是通過在添加新的EOS后,保持MMS、EOS、Bancor連接器中的USD和流通中的USD的比例來實現的。個人收到的MMS,加上百分之一的新創造的美元比例的美元流通。美元和EOS也被添加到連接器和超額準備金中。然后用戶可以出售EOS的美元,并重復這個過程,或者只是持有多余的美元或EOS。

銷售MMS令牌需要提供的美元數量等于usd_circulation*MMS_Sell/MMS_Supply。這與他們在購買帶有EOS的MMS時收到的美元數量相同(減去任何交易費用)。

這個過程可以看作是分割和連接相同的空頭頭寸。一旦你控制了空頭頭寸的所有未償債務,你就可以解除它,收回所有抵押品。這個過程的關鍵是保持不變,即有人用/作為抵押品買賣做市商不會改變MMS、EOS、USD和USD的流通比率。如果你想出售莊家1%的股份,你還必須購買并覆蓋1%的流通美元。幸運的是,你可以從做市商那里購買流通的美元,所以總是有流動性的。

市場交易費用

市場交易費用會不斷對做市商進行資本重組,而無需任何集體杠桿作用的投入。無論市場條件如何,那些被杠桿化的人都不可能減少他們的抵押品或者不能逐漸加強抵押品。由于初始抵押品比例較高,例如4倍,抵押品的下跌速度必須比交易費用的累計速度快75%。

黑天鵝

黑天鵝是指做市商無法維持美元在價值附近的價格。當多余的抵押品消失時,就會發生這種情況。當這種情況發生時,做市商將繼續運作,但美元的價格將獨立于哺育浮動。精明的觀察者可能會考慮從連接器的一側刪除USD以維持價格,但這是不可取的,因為這會在連接器中的剩余EOS上創建一個運行。一旦多余的抵押品消失,通過讓價格浮動,那些想要提前退出的人將為流動性和正在進行的交易支付溢價,從而對其余各方進行資本重組。

即使在黑天鵝交易期間,以交易費用為代表的收入流也會激勵交易各方提供抵押品,并為做市商提供資金。如果抵押品資產(例如EOS)沒有預期未來價值的恢復,那么掛鉤資產(例如美元)的持有者將以市場決定的價格在連接器中獲得剩余EOS的公平份額。

與其他一些制度不同,黑天鵝事件并不是特例,市場有一個無縫的、自然的恢復方法來恢復掛鉤。

如果沒有多余的抵押品,做市商可以配置為防止出售MMS代幣,同時允許以10%的折扣購買帶有EOS的MMS。這將對做市商進行資本重組,使新的MMS持有者受益于先前的持有者。一旦多余的抵押品被恢復,MMS就可以像上面描述的那樣再次出售。抵押品過度損耗的確切點和折價幅度是可以調整的變量,以使完全損耗的風險最小化,并使激勵機制最大化,從而在不過度懲罰先前MMS持有者的情況下,迅速對市場進行資本重組。

價格

我的建議是,掛鉤的目標是24小時的中間價格,而不是瞬時價格。這將減少與釘住匯率制背離的頻率和幅度,同時又不會削弱釘住美元作為美元替代品的價值。實際上,它將部分日內波動風險轉移給美元持有者(偏離平均值),同時仍在對沖美元持有者對長期波動的風險。

動態 | 食品生產商ORGANO加入基于區塊鏈的IBM食品信托計劃:食品、營養品生產商ORGANO宣布加入基于區塊鏈的IBM Food Trust(食品信托)計劃,以在全球范圍內增強對ORGANO產品的可追溯性。[2019/7/9]

結論

與BitUSD等系統相比,我們的掛鉤方法通過向提供抵押品的空頭提供交易費用,同時有效消除空頭的大部分流動性風險,從而激勵資產創造和流動性。此外,該算法為市場雙方提供相同的流動性,其中BitUSD僅向市場的一方提供強制結算。交易手續費持續不斷地重新在市場中抵押,能夠隨著價格的不斷變化來恢復,這只需要交易手續費收入比資產貶值速度大就可以做到。其認為,這一措施將最大化使用者的實用性,同時最小風險化。

-----------

市場評價

對于BM提出的新的高流動性穩定幣算法,有人提出了質疑的聲音。

BTS理事會成員、YOYOW聯合創始人,GDEX去中心化交易所創始人劉嘉陵認為,BM此舉破壞了Bancor協議的最基本條件,這種基于EOS的穩定幣難以持續運行。

其表示,Bancor協議的一個要點是,主體交易價格只由設定的抵押率和新資產供應量決定,不受其它因素影響。

而在BM設想的邏輯里,不但沒有一個固定的的抵押率,而且又引入了新的影響價格的因素,那就是Bancor連接器中的EOS資產還隨時可以增減,增減只為影響SPOT價格。

其結果是,資產發行主體根本無法保證通過交易保持收支平衡。由于市場上攻擊者常有,虧損是高概率事件。還有,單獨一個全局債倉的設置也缺乏足夠緩沖,使得黑天鵝事件發生的概率變高。

而在今日,BM又現身電報群與社區成員討論了穩定幣的相關問題。

BM表示:1、B1沒有開發穩定幣,我只是說出了我想法,想讓社區受益;2、B1將在6月份揭示未來的發展方向,MAS還需要某種穩定的記賬單位;3、穩定幣不能空投,用戶必須通過購買的方式獲得,這是因為穩定幣是一種債務性資產,他需要實際資產作為支撐;4、提問:USD沒有任何實際資產做支撐,他難道不是穩定幣嗎?BM:USD是相對穩定,但與黃金相比,USD是不穩定的。

附:HighLiquidityPricePeggedTokenAlgorithm

TodayIintroduceanewtokenpeggingalgorithmthatprovideshighliquidityandnarrowspreads,whilebeingrobustagainstdefaultintheeventcollaterallosesvalueovertime.Thebasisofouralgorithmisaheavilyover-collateralizedshortpositioncombinedwiththeBancoralgorithmtoprovideliquiditytobothlongandshortpositions.Apricefeedisutilizedtoguidethemarket,butitsinfluenceislimitedtosituationswherethereisaprolongeddeviationsoastoprotectthemarketmakerfromabuse.

Background

In2013BitSharesintroducedtheconceptofBitUSD,a“smartcoin”,backedbyBTStokens,whichwasdesignedtotrackthevalueofthedollar.BitUSDoperatedbycreatinganorderbookbetweenthosewhowantedleverageontheBitSharestoken(BTS)andthosewhowantedpricestability.ToprovideliquidityforthosewhopurchasedBitUSD,BitUSDholderswereallowedtoforce-settletheleast-collateralizedshortpositionatthepricefeedafteramulti-daydelay.Thiscreatedaneffectivemargin-callandassuredbuyersofBitUSDthattheirtokenwasalwaysworthaboutadollarworthofBTS.Topreventdefault,theleastcollateralizedshortpositioncouldalsobeforceclosedifthepricefeedfellbelowtheminimummarginrequirements.

TheprimaryproblemwiththeBitUSDapproachisthelackofliquidity,thelimitedsupplyofBitUSDavailable,andthemarketspread.Marketmakerswererequiredtooperatetradingbotsthatmoveordersontheinternalorderbook.WhiletheBitUSDholderswereprovidedliquidity,theshortpositionswerenotguaranteedliquidity.Lastly,theentiremarketissubjecttoablack-swaneventwhentheleastcollateralizedpositionisunabletobecovered.WhenthishappensthepegispermanentlybrokenandafixedexchangerateisestablishedbetweenBitUSDandBTS.

動態 | IBM將解散新加坡工廠員工但區塊鏈部分不在此次裁員行列:據TODAYonline 4月15日報道,美國科技巨頭IBM準備將其位于新加坡淡濱尼的工廠關閉,并將解散該工廠的全部員工。不過,位于新加坡的IBM沃特森中心及其管理、軟件、區塊鏈和其他服務組織不會受到此次裁員的影響,因為新加坡仍然是這家總部位于紐約的公司的“戰略要地”。[2019/4/17]

ThelackofincentivecreateBitUSD,therisksoflowliquidity(unabletocoverwithoutunreasonableslippage),unexpectedmargincalls,anddifficultyinrunningsafemarketmakingbotsmeantthesupplyofBitUSDwassmallandthespreadswerehigh.

Therehavebeenmanyotherprojectsthatutilizevariationsofover-collateralizedpositionsandmarginrequirements.AllofthemsuffersimilarproblemstoBitUSD.

Traditionalderivativemarketsimplement“futurestrading”whichallowspeopletopostcollateralandsettleatapricefeedatafixedpointinthefuture.Thesefuturescontractsarefungibleandcanbetradedforacertaintime,butduetotheexpirationandrequiredsettlement/rollovertheyarenotsuitableforcreatingapeggedtoken.

TheBancoralgorithmprovidesautomatedliquiditybetweentwoassetswhileprotectingitsreservesfrombeinglosttosophisticatedtraders.RegardlessofthenumberandkindofordersexecutedagainsttheBancoralgorithm,thealgorithmalwaysgeneratesaprofitwhenthepriceoftheassetpairreturnstoitsoriginalstartingpoint.AtypicalBancormarketmakerisknownasarelaywhichhastwo“connectors”whichrepresentbalancesofequalmarketvalue.ThisalgorithmhasbeensuccessfulatprovidingautomatedliquidityinmarketssuchastheEOSRAMmarket.

ThePeggingAlgorithm

Thispeggingalgorithmisbasedupontheconceptthatapeggedtokenisaserviceprovidedbytheshortstothelongs.Thisservicerequirestheshortstoprovideliquidityforthepeggedtoken.Ifthereisdemandforthepeggedtokenthentradingfeesearnedbythemarketmakershouldbeprofitablefortheserviceproviderevenifthemarketisrelativelyflat.

Otherpeggingalgorithmspitshortsagainsteachotherratherthanfacilitatetheircooperationforthepurposeofbringingapeggedcurrencyservicetothemarket.Intheseotheralgorithmsshortscompetetocoverandcollateralizetheirpositionsandareworriedaboutshortsqueezes.

Thepremiseofouralgorithmisthatthosewillingtobeslightlyleverage-longinacollateralasset(suchasEOS),canmakemoneybyfacilitatingmarketmakingactivitiesbetweenEOSandafungiblepeggedasset,(e.g.USD),whosevalueisdesignedtotrackapricefeedwithinanalloweddeviationrange.

Insteadofuserscreatingindependentshortpositions,ouralgorithmcreatesoneglobalshortpositionandallowsuserstobuyandsellstakeinthisglobalposition.Buyingandsellingstakeintheshortpositionisaneutralandreversibleprocess(minustradingfees)providednoothertradesoccurinbetween.Insteadofleveragebeingtheprimarymotive,tradingfeesarethemotiveforbuyingstakeintheposition.Thismeansthatatargetof400%overcollateralizationorhigherisviableallowingshortstobeonlyslightly-leveragedinthecollateralassetsothattheyhavetheopportunitytoearntradingfees.

聲音 | EOS原力創始人孤矢:社區不應該老是關注BM跑路不跑路的問題:EOS原力創始人孤矢剛剛在朋友圈表示:“BM這次要做的那條新鏈是有完整的聊天記錄的,別媒體之間轉來轉去就搞成跑路了。社區不應該老是關注BM跑路不跑路的問題,社區早就該自己把開發的活兒當成自己的事兒,EOSIO還是有很大的改進空間。BM的愿景是讓人類通過自由市場獲得自由掌握自己的命運,意味著他不會all in到某條鏈上,甚至都不一定一直 All in區塊鏈,沒必要拴著他。不管BM跑不跑路,他的開發實力和創新能力都是碾壓那些還在白皮書階段的所謂國際頂級團隊的。這次描述那條新鏈是有真實需求,也有實現路徑。BM說新的鏈甚至可能不是區塊鏈,這是非常正確的做事方式,他開發新鏈的目的不是做區塊鏈也不是要去中心化,是要解決他愿景里遇到的實際問題。本來從學術上講EOSIO也沒那么區塊鏈,但最后大家還是覺得好用接受了。”[2018/11/29]

Themarketmakerisinitiallycreatedbydepositingcollateralintothecontract.Thecontractwillcreatetokensinthemarketmaker(MMS)andgivethemtotheinitialdepositor.Forthesakeofexample,wewillassumethecollateralisEOSandthatthepeggedtokenisUSDandisdesignedtotrackthe24hrmedianEOSdollarprice.

Atargetreserveratioisdecidedupon,forexample400%.Basedupona4xreserveratio,75%oftheEOSdepositedwouldbesetasideasexcesscollateral,and25%wouldbeplacedintoaBancorRelayconnectorwithweightof50%.AtthistimetheautomatedmarketmakercontractwillcreateanumberofUSDtokenstofundasecondBancorRelayconnectorsuchthatthemarketvalueofEOSandUSDconnectorbalancesarethesameattheinitialvalueofthepricefeed.

Intheinitialconditionthemarketmakerowns100%oftheUSDinitsconnectorandthereforehasnonetliability(USDitmustbuyback).ThebookvalueoftheMMSisequaltothevalueoftheEOSheldintheconnectorplustheexcesscollateralEOSandminusanycirculatingUSDsoldfromtheconnector.AfterthisinitialsetupanyonecanbuyUSDfromthemarketmakerwhichestablishesafuturebuy-backliabilityontheMMSholders.ThemathematicalpropertiesoftheBancorRelayalgorithmmeanthatasusersbuyUSDfromthemarketmakertheoffer-pricewillincrease.IfeveryonewhoboughtUSDthensolditbackthentheconnectorswouldendupintheirinitialcondition.AnyfeeschargedonthetradeswouldresultinanetincreaseinEOSheldintheconnectorbalance.

Giventhissetupanda400%reservetarget,wecandemonstratethattheactualreservesvssoldUSDwillbefarinexcessof400%.Inordertogetdownto400%(withoutmarketpricechanges)theentireUSDconnectorwouldhavetobeboughtoutwhichwouldpushtheUSDpricetoinfinity.Ineffect,themarketmakersautomaticallyraisethecostofbuyingalongUSDpositionasthesupplyofavailablelongUSDpositionsdecreases.

Thespot-priceofferedbythemarketmakerisequaltotheratioofEOStoUSDheldintheconnectorbalances.Whenthespotpricedeviatesfromthefeedpricebymorethananacceptablemargin(e.g./-2%)formorethananallowedperiodoftime(e.g.24hours),thenthemarketmakerwilldooneofthefollowingactionsdependinguponmarketconditions:

SPOT=priceofUSDaccordingtoBancor

FEED_USD=priceofafederalreservenoteinEOS

聲音 | IBM 首席區塊鏈專家:區塊鏈面臨最大的挑戰是安全問題:IBM Waston研究中心首席區塊鏈科學家Donna Dillenberger在接受采訪時表示,區塊鏈技術目前面臨最大的挑戰是安全問題。這些安全問題主要來自四個方面:系統管理員的攻擊風險、未經加密處理的信息、沒有妥善管理的密鑰匙、以及區塊鏈的自我防御措施。[2018/11/12]

if(SPOT>FEED_USD)

if(ExcessCollateral<3xEOSConnector)

thenslowlymoveEOSConnectortoExcess(loweringSPOT)

else

thenslowlyaddnewUSDtoConnector(loweringSPOT)

elseif(SPOT<FEED_USD)

if(excesscollateral)

thengraduallybuyUSDusingexcesscollateral

anddestroyit(raisingSPOT)

elsedonothing

Thegoalofthisalgorithmistoalwaysmovethestateclosertotheinitialconditionofhaving3xmoreexcesscollateralthanBancorbalanceand100%ofUSDintheUSDconnector.Itisobviouslyimpossibletoachieve100%USDintheconnectorwhilethereiscirculatingUSD,butthecirculatingsupplycandecreaseinpercentagetermswhenthevalueofEOSrisessignificantlyrelativetoUSD.

TherateatwhichcollateralismovedorUSDissuedshouldtargetapricecorrectiontothewithintheacceptablerangewithinatargetedperiodoftime(e.g.1hour).IntheorytradersshouldbuyandsellUSDasifitwereworthabout1dollarbecausetheyhaveconfidencethattheywillalwaysbeabletosellitforabout1dollarinthenearfuture.ThismeansthatwhenrelativepriceforEOSandUSDisstablethatthemarketmakerwillnothavetorelyonthepricefeedtocorrecttherealtimepriceandthesecurityoftheBancoralgorithmagainstmanipulatorsprotectstheconnectorbalancesfrombeinglosttotraders.

Whenconfiguringparameterssuchasalloweddeviationfromfeed,rateofcorrection,anddelayuntilstartofpricecorrectionitiscriticaltominimizethefrequencyofneedingactiveinterventionintothemarketmakerandwheninterventionisneeded,thatinterventionisslowandgradual.Marketplayersshouldn’tbeabletofront-runthemarketmaker’smovesforprofit.

Theresultofthisalgorithmisapeggedassetwhichfollowsan24-hrmedianvalueinsteadofaninstantaneousvalue.Itonlyactivelycorrectsthepegwhen24-hrmedianofthemarketmakerissignificantlygreaterthanthe24-hrmedianoftherealmarket.WhentherealmarketjumpswewanttraderstointeractwiththeBancoralgorithmtospeculativelyfront-runthe24-hrmedian.Thisfront-runningpreventstheforcedadjustmentoftheBancorconnectorsfromoccurringexceptinprolongedcases.Theslowerthemedian-pricemovesthelessrisktothemarketmaker,butthegreaterdeviationbetweenpeggedUSDandrealUSD.GivingtheBancoralgorithmtheabilitytodeviatebyalargerpercent(say5%)alsominimizesartificialinteractionwithpricingduetofeeds.Thelessartificialinteractionthelessrelevanttheinstantaneousaccuracyofthepricefeedsbecome.

BuyingandSellingMMSTokens

AnyoneatanytimemaycontributenewEOStobuyacombinationofMMSandUSD.ThisworksbymaintainingtheratioofMMS,EOS,USDinBancorconnectorandUSDincirculationafteraddingnewEOS.TheindividualreceivesMMSplusapercentofthenewlycreatedUSDproportionaltotheUSDincirculation.USDandEOSarealsoaddedtoconnectorsandexcessreserves.UserscanthenselltheUSDforEOSandrepeattheprocessorsimplyholdexcessUSDorEOS.

SellingMMStokensrequiresprovidinganumberofUSDequaltoUSD_circulating*MMS_Sell/MMS_Supply.ThisisthesamequantityofUSDtheywouldhavereceivedwhenbuyingMMSwithEOSinthefirstplace(minusanytradingfeescharged).

Thisprocesscanbeviewedassplittingandjoiningidenticalshortpositions.Onceyoucontrolalloutstandingdebtofyourshortpositionyoucanunwinditandgetallthecollateralback.Thekeytotheprocessismaintainingtheinvariantthatsomeonebuyingorsellingthemarketmakerwith/forcollateraldoesnotchangetheratioofMMS,EOS,USD,andUSDcirculating.Ifyouwanttosell1%stakeinthemarketmaker(MMS)thenyoumustalsobuyandcover1%ofcirculatingUSD.Fortunately,youcanbuycirculatingUSDfromthemarketmakeritselfsothereisalwaysliquidity.

MarketTradingFees

AsusersbuyandsellUSD,EOS,andMMSatradingfeeischarged.ThisfeerepresentsarevenuestreamthatresultsincapitalgainstothoseholdingMMS.Thehigherthevolatilitythemoretradingoccursandthemorefeesaregenerated.Thesefeescontinuouslyrecapitalizethemarketmakerwithoutrequiringanyinputfromthosewhoarecollectivelyleveraged.Regardlessofmarketconditionsitisn’tpossibleforthosewhoareleveragedtoreducetheircollateralorfailtograduallytopitup.Withahighinitialcollateralratio,eg4x,thecollateralwouldhavetofallby75%fasterthantradingfeesaccumulate.

BlackSwans

AblackswanisanyeventwherethemarketmakerisunabletomaintainthevalueofUSDnearthepricefeed.Thisoccurswhentheexcesscollateralisgone.WhenthishappensthemarketmakerwillcontinuetofunctionbutthepriceofUSDwillfloatindependentofthefeed.AstuteobserverswilllikelyconsiderremovingUSDfromonesideoftheconnectortomaintaintheprice,butthisisunadvisableasitwouldcreatearunontheremainingEOSintheconnector.Bylettingthepricefloatoncetheexcesscollateralisgone,thosewhowanttoexitearlypayapremiumfortheliquidityandongoingtradingwillrecapitalizetheremainingparties.

Evenduringablackswan,therevenuestreamrepresentedbytradingfeesincentivizespartiestoprovidecollateralandfundthemarketmaker.Intheeventthecollateralasset,(e.g.EOS),hasnoexpectationoffuturerecoveryofvalue,thenholdersofthepeggedasset(e.g.USD)willgetafairshareofremainingEOSintheconnectoratmarketdeterminedprices.

Unlikesomeothersystems,ablackswaneventisnotaspecialcaseandthemarkethasaseamlessandnaturalrecoverymethodtorestorethepeg.

Intheeventexcesscollateralisgone,themarketmakercouldbeconfiguredtopreventsellingofMMStokenswhilesimultaneouslyallowingthebuyingofMMSwithEOSfora10%discount.ThisrecapitalizesthemarketmakergivingbenefittothenewMMSholdersoverthepriorholders.OnceexcesscollateralisrestoredMMScouldbesoldagainasdescribedabove.TheexactpointofexcesscollateraldepletionandthemagnitudeofthediscountarevariablesthatcanbeadjustedtominimizetheriskofcompletedepletionandmaximizetheincentiverapidlyrecapitalizethemarketwithoutoverlypunishingpriorholdersofMMS.

PriceFeeds

Therearemanydifferentwaystoproduceatrustedpricefeed;however,therearesomerecommendationsforbetterresults.Apeggedtokencantrackanypricefeed,includingartificialfeedssuchasa30-daymovingaverage.Typicalpricefeedsattempttotrackinstantaneousspotprices,butthisexpectationisunrealisticforsafemarketmakers.Theslowerpriceschangetheeasieritisforapegtobemaintainedbecausemarketparticipantshavemoretimetoadjust.

Itismyrecommendationthatpegstargetthe24hrmedianpriceratherthantheinstantaneousprice.ThiswillreducethefrequencyandmagnitudeofdeviationsfromthepegwithoutunderminingthevalueofthepeggedUSDasadollaralternative.Ineffect,ittransferssomeoftheintradayvolatilityrisktotheUSDholder(deviationfromthemean)whilestillhedgingtheUSDholderagainstlong-termvolatility.

Someexperimentationinthemarketwillberequiredtodeterminetheproperbalancebetweenreactivityofpricefeedandprofitabilityofthemarketmakerduetovolatility.

AlternativePriceCorrectionMeasures

Whentradersinteractwiththealgorithmtheyareeitherpushingthebancorpricefurtherfromthefeed,orclosertothefeed.Itshouldbepossibletohaveadynamicfeeontradesthatgrowshigherthefurtherthetradewouldpushthebancorpricefromthefeed.ThisallowsMMSholderstoincreaseprofitsanddiscouragesmanipulatorsfromcausingexcessivedeviationfromthepricefeed.

Conclusion

ComparedtosystemslikeBitUSD,ourpeggingapproachincentivizesassetcreationandliquiditybyprovidingtradingfeestotheshortswhopostcollateralwhileeffectivelyeliminatingthemajorityofliquidityrisksoftheshorts.Furthermore,thisalgorithmprovidesequalliquiditytobothsidesofthemarketwhereBitUSDonlyprovidedforced-settlementtoonesideofthemarket.Tradingfeescontinuouslyre-collateralizethemarketandenableittorecoverfromlossesduetochangingprices.Solongasincomefromtradingfeesisgreaterthantheaveragefallinthevalueofthecollateralassetthesystemcanremainsolventandliquid.Webelievethisapproachmaximizestheutilitytoallparticipantswhileminimizingrisks.

Note:Theeconomicarrangementsdescribedinthispostmayormaynotbesubjecttoregulationsinyourjurisdiction.Pleaseseekprofessionallegalopinionsbeforeengagingineconomicarrangementsdescribed.Actualperformancewilldependuponmanyfactorsincludingimplementationandselectedconfigurationparameters.Theideasandopinionsexpressedabovearemyownandnotthoseofmyemployer.

編譯:共享財經Neo責任編輯:Alian

Tags:THEINGUSDERAbodhiethereumRINGER幣Bond Appetite USDtera幣官網

AAVE
金色沙龍第26期香港站·論行業:區塊鏈+金融-起源於未來_區塊鏈:GRIN

活動時間:05月17日13:00–05月17日17:00 主辦方:金色財經 活動介紹 活動簡介:在區塊鏈技術驅動的金融市場,自誕生之後,就被稱為傳統金融領域的顛覆性工具.

1900/1/1 0:00:00
DragonEx 新增 BSV/USDT 杠桿交易對_GON:DRAGON

DragonEx新增BSV/USDT杠桿交易對 2019-04-25 親愛的用戶: DragonEx將于2019年4月26日15:00(UTC8)對BSV/USDT交易對開啟杠桿交易功能.

1900/1/1 0:00:00
關于FOne首批交易挖礦實施時間調整公告_SDT:穩定幣USDT

親愛的社區用戶: 根據FOne交易挖礦幣種投票規則公告?和首期FOne交易挖礦幣種投票結果公示.

1900/1/1 0:00:00
波場DApp遭黑客圍獵?1小時內1.7億枚BTT被卷跑_tron:鳳凰幣app

波場公鏈DApp市場高度繁榮的同時勢必會引來黑客垂涎,而目前波場還未曾遭到過像EOS那樣高強度的攻擊.

1900/1/1 0:00:00
以太坊錢包MetaMask驚爆隱私問題,默認廣播用戶ETH地址_ETA:以太坊

知名以太坊錢包MetaMask竟然一直在把用戶的以太坊錢包廣播到他們訪問的網站上,并且允許第三方查看用戶的ETH地址,甚至會檢測用戶的瀏覽活動.

1900/1/1 0:00:00
MATIC即將上線!5萬MATIC空投 VIP會員 1萬COINS空投等你來拿_ATIC:matic幣前景能看到多少

親愛的Coinw用戶:Coinw將于4月26日21:00開啟MATIC充值,并于當天22:00開啟交易.

1900/1/1 0:00:00
ads