Author Topic: 修改强制平仓算法  (Read 4626 times)

0 Members and 1 Guest are viewing this topic.

Offline checkie

  • Full Member
  • ***
  • Posts: 162
    • View Profile
应该加上一点,如果强制挂单后,bitUSD价格在一个窗口期(比如一周)都回落到1.5倍以下,则自动取消挂单

Sent from my Coolpad 9970 using Tapatalk 2


Offline Musewhale

  • Hero Member
  • *****
  • Posts: 2881
  • 丑,实在是太丑了 !
    • View Profile
 :'( :'( :'(技术问题完全听不懂
看来我以后只适合持币观望,可是我爱操作的心情如何能得以平复? :-[ :-[ :-[
MUSE witness:mygoodfriend     vote for me

Offline ul

  • Newbie
  • *
  • Posts: 8
    • View Profile
嗯,这样挺好,没有无抵押的asset很完美,不过单边市会形成很多各价位的系统买单,会造成流通bts减少,而且不知道会不会加剧市场的波动?

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
现在的算法是直接拿抵押的BTS买市场上现有的卖单,按卖单价成交。
我修改的可以这样理解,把抵押的bts中 75%(发行价的1.5倍)及所有bitusd short posison 强制充公到BTS网络,由BTS网络按当初发行价的1.5倍
挂 cover posision 买单。
至于买单是否能成交,看bitusd持有者是否愿意卖。
被爆仓的人损失 75%抵押,及5%爆仓费。

Quote
拿抵押的BTS买

Quote
现在的平仓算法是直接拿抵押的BTS按卖单的价购买

好绕,这两个有什么不一样吗?

Offline crazybit

Quote
拿抵押的BTS买

Quote
现在的平仓算法是直接拿抵押的BTS按卖单的价购买

好绕,这两个有什么不一样吗?

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
拿抵押的BTS买,网络强制平仓不需要私钥
现在的平仓算法是直接拿抵押的BTS按卖单的价购买,这样可能出现的结果是所有BTS购买的bitusd都无法cover 所有 short position
Quote
网络强制挂出一个买单:按  1000usd/1.5bts 的价格,买 1000 usd。
如何强制,强制谁买?
BTC网络强制挂单,挂一个买单,拿 1.5bts买 1000bitusd。
可以和bitusd的卖单撮合

拿谁的bts来买?哪里来的私钥用来签名买单?

Offline crazybit

Quote
网络强制挂出一个买单:按  1000usd/1.5bts 的价格,买 1000 usd。
如何强制,强制谁买?
BTC网络强制挂单,挂一个买单,拿 1.5bts买 1000bitusd。
可以和bitusd的卖单撮合

拿谁的bts来买?哪里来的私钥用来签名买单?

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Quote
网络强制挂出一个买单:按  1000usd/1.5bts 的价格,买 1000 usd。
如何强制,强制谁买?
BTC网络强制挂单,挂一个买单,拿 1.5bts买 1000bitusd。
可以和bitusd的卖单撮合

Offline crazybit

Quote
网络强制挂出一个买单:按  1000usd/1.5bts 的价格,买 1000 usd。
如何强制,强制谁买?

Offline sdivenwujc

  • Full Member
  • ***
  • Posts: 107
    • View Profile
应该是卖单强制平仓,买单可以持有或是平仓,保证池子里有足够的BTS单子做对应交易~

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I have an idea about margin call.
For example, I short 1000 usd with 2bts  backing.
when the price is up to 1000 usd /1.5  bts, margin call excute.
forced  execute  a buy order: buy 1000 usd with price 1000usd/1.5bts.
this buy order can not be cancel.
and 5% fee of bts will assessed.

the one who hold bitusd have two choice: sell bitusd with 1000usd/1.5bts, or hold continue to sell for more high price.

From this we can avoid to create bitusd with no backing.
比如我以2bts抵押发行了 1000 bitusd。
当bitusd涨到超过 1000 usd/1.5bts 时会执行强制平仓。
网络强制挂出一个买单:按  1000usd/1.5bts 的价格,买 1000 usd。
这个买单无法撤销。5% 的平仓费用被扣除。

持有bitusd的人有两种选择:按1000usd/1.5bts 价格卖掉获利;或者选择继续持有等待更高价格,当然风险自担。
这样能避免生成无抵押的 bitusd。