Author Topic: 怎么现在才突然提出force settlement的问题  (Read 5031 times)

0 Members and 1 Guest are viewing this topic.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
对抗强制清算的思路
1. 在内盘挂卖单,防止被清算
2. 发现有人发起清算后,在外盘拉盘/护盘(据说清算不能取消)
BitShares committee member: abit
BitShares witness: in.abit

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
最开始偏离大概3%吧,比现在随随便便就偏离10%好多了
而且那是在大牛市,每个人都觉得自己发了,stan 的 big thing 即将到来时的情况
可能和牛市有关系。
真的只有3%吗,BM又不傻,怎么会从偏3%改成偏10%。
谁都可能脑袋短路的,你看他bta的设计,准备把bta 锚定的地板价锚在必须高于1.0,
这么愚蠢的问题不是一样没人发现,还是有这么多人在为这个常识性的错误辩护,操
系统有个参数可以调force settlement的执行价格,force_settlement_offset_percent ,可以设置成按喂价的98%或者102%执行,预设值是100%。

另外,个人感觉,系统对short保护越多,越容易出现黑天鹅。
我的感觉是为了防止出现黑天鹅,对空方太苛刻,已经导致多空的风险收益严重不对等,可以用因噎废食来形容了
100%不出现黑天鹅的办法就是没任何人short

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
最开始偏离大概3%吧,比现在随随便便就偏离10%好多了
而且那是在大牛市,每个人都觉得自己发了,stan 的 big thing 即将到来时的情况
可能和牛市有关系。
真的只有3%吗,BM又不傻,怎么会从偏3%改成偏10%。
谁都可能脑袋短路的,你看他bta的设计,准备把bta 锚定的地板价锚在必须高于1.0,
这么愚蠢的问题不是一样没人发现,还是有这么多人在为这个常识性的错误辩护,操
系统有个参数可以调force settlement的执行价格,force_settlement_offset_percent ,可以设置成按喂价的98%或者102%执行,预设值是100%。

另外,个人感觉,系统对short保护越多,越容易出现黑天鹅。
BitShares committee member: abit
BitShares witness: in.abit

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
最开始偏离大概3%吧,比现在随随便便就偏离10%好多了
而且那是在大牛市,每个人都觉得自己发了,stan 的 big thing 即将到来时的情况
可能和牛市有关系。
真的只有3%吗,BM又不傻,怎么会从偏3%改成偏10%。
谁都可能脑袋短路的,你看他bta的设计,准备把bta 锚定的地板价锚在必须高于1.0,
这么愚蠢的问题不是一样没人发现,还是有这么多人在为这个常识性的错误辩护,操

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
最开始偏离大概3%吧,比现在随随便便就偏离10%好多了
而且那是在大牛市,每个人都觉得自己发了,stan 的 big thing 即将到来时的情况
可能和牛市有关系。
真的只有3%吗,BM又不傻,怎么会从偏3%改成偏10%。
BitShares committee member: abit
BitShares witness: in.abit

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
最开始偏离大概3%吧,比现在随随便便就偏离10%好多了
而且那是在大牛市,每个人都觉得自己发了,stan 的 big thing 即将到来时的情况

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
abit,你是不是又想抢我的鱼? :-X :-X :-X
熊你有鱼?我不要鱼,把熊掌给我好了。 :D

根本就不需要这个功能,0.9里面的大姨妈只是给大家添乱,现在好不容易大姨妈没了,又来了个可以随时强清。
确实这个比0.9的30天强制过期更加保护bitcny持有者,short的风险更大。
至于是不是需要类似功能,我的想法:
1. 系统不应该依赖有人提供兑换服务来实现锚定。有人提供兑换服务,应该是锚定的结果,而不是原因。
2. 内盘大姨妈,当时是因为到期不平仓有10%惩罚,后来改成没有惩罚,就变成N多过期单挂在喂价上了。
3. 巨蟹可能在bts0.x的时候参与进来比较晚? @alt 应该从测试开始就参与short的,记不记得最初版本short没有期限、不需要平仓的时候,bitcny偏离cny有多少?(我只是听说,因为我当时也没有参与)

Quote
【宗师】巨蟹<bitcrab@qq.com> 2015/11/28 21:00:45
不过我似乎有点明白设计者的意图了,他们是想让多空双方展开机器人大战。一方可以强清,一方为了抵御强清只有选择挂对对手方更有利的BTS卖单以逃避强清,最终演变成机器人大战,极大提高流动性
这个好像很有道理。实力足够强的玩家才能生存。

不过是不是有点像“多杀多”?持有bitcny想要强清或者买入bts的是bts多方;玩short的无疑也是bts多方,但是需要挂bts卖单来保证不被强清?我感觉脑子有些不够用了。

@bitcrab 巨蟹看看这个帖子?关于做市机器人的,用来降低承兑商风险 https://bitsharestalk.org/index.php/topic,20321.0
« Last Edit: December 01, 2015, 10:03:26 pm by abit »
BitShares committee member: abit
BitShares witness: in.abit

Offline Musewhale

  • Hero Member
  • *****
  • Posts: 2881
  • 丑,实在是太丑了 !
    • View Profile
abit,你是不是又想抢我的鱼? :-X :-X :-X
MUSE witness:mygoodfriend     vote for me

Offline bitcrab

  • Committee member
  • Hero Member
  • *
  • Posts: 1928
    • View Profile
  • BitShares: bitcrab
  • GitHub: bitcrab
当初BM计划开发2.0的时候,这个是一开始就提出来的,讨论了很久。这个功能就类似0.9里面的short设置了过期时间一样,是为了保证bitcny的持有者总能换回bts,如果没法换回,铆钉会失败。

2.0发布之后CLI一直有这个功能,只是刚刚开放在GUI里。

根本就不需要这个功能,0.9里面的大姨妈只是给大家添乱,现在好不容易大姨妈没了,又来了个可以随时强清。

承兑商根本不需要这功能,而且,因为承兑商通常也有一定空头仓位,这种随时强清的功能对承兑商是一种威胁。

空头的风险更大了,产生BITCNY的成本更高了,BITCNY价格会升高至超过一元,这样一来,各种事都不好做,没人会愿意用bitcny给38充值。

轻钱包里一开始没这功能,大家也都没当回事,现在有了,了解到它的恐怖了,才开始如做针毡。
« Last Edit: November 29, 2015, 01:05:12 pm by bitcrab »
Email:bitcrab@qq.com

Offline BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
当初BM计划开发2.0的时候,这个是一开始就提出来的,讨论了很久。这个功能就类似0.9里面的short设置了过期时间一样,是为了保证bitcny的持有者总能换回bts,如果没法换回,铆钉会失败。

2.0发布之后CLI一直有这个功能,只是刚刚开放在GUI里。
对,这个和0.9过期挂尸体是类似的性质,这样的目的在某种意义上说 是有点保护承兑商
准确的说 是保护bitcny->cny 兑换过程
bitcny:cny>=1
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1905
    • View Profile
  • BitShares: ebit
(1)这个按钮,现在如果按下的话,提示为:missing translation: cn.modal.settle.title.是没有达到触发条件么?如果是,那么触发条件是什么?

(2)这个按钮,现在如果按下的话,提示为:missing translation: cn.modal.settle.title.不妨碍,按下面的按钮,等待出来确认窗口。

惊魂24小时---巨蟹的比特股抵押单会被清算么?
http://mp.weixin.qq.com/s?__biz=MzAxNTIwNTEwMQ==&mid=400730223&idx=1&sn=f6a157ba2a3b3696fa7ca06f557c9c34#rd


Quote
【掌门】特大资金<crazygrimm@qq.com>  16:53:23
这个清算的规则没考虑到 bitcny是可以随时承兑的
【掌门】西瓜(837686672)  16:53:28
反正谁也逃不过清算的命运
【掌门】特大资金<crazygrimm@qq.com>  16:53:34
持有者权益早就有人保护了
清算本来是为了防止没人愿意用公平价格购买bitcny
【掌门】西瓜(837686672)  16:53:53
bm保护的是bitcny持有者
【掌门】特大资金<crazygrimm@qq.com>  16:54:04
现在bitcny都1:1承兑了  根本没必要引入这个规则呀
【掌门】西瓜(837686672)  16:54:24
那没办法,bm是上帝模式
【少侠】ebit(1464908850)  16:54:31
对,应该等没有承兑的时候再启动
【宗师】巨蟹<bitcrab@qq.com>  16:54:31
但是美元没承兑,他们是以美元为出发点考虑的
bitcny是躺枪

Quote
【宗师】巨蟹<bitcrab@qq.com> 2015/11/28 21:00:45
不过我似乎有点明白设计者的意图了,他们是想让多空双方展开机器人大战。一方可以强清,一方为了抵御强清只有选择挂对对手方更有利的BTS卖单以逃避强清,最终演变成机器人大战,极大提高流动性





« Last Edit: November 29, 2015, 12:54:21 am by ebit »
telegram:ebit521
https://weibo.com/ebiter

Offline ebit

  • Committee member
  • Hero Member
  • *
  • Posts: 1905
    • View Profile
  • BitShares: ebit
源代码中的相关资料:
https://github.com/cryptonomex/graphene/blob/master/libraries/chain/include/graphene/chain/protocol/asset.hpp
Code: [Select]
price settlement_price;

      /// Price at which automatically exchanging this asset for CORE from fee pool occurs (used for paying fees)



https://github.com/cryptonomex/graphene/blob/master/libraries/chain/include/graphene/chain/protocol/asset_ops.hpp
Code: [Select]
/**
    *  @brief allows global settling of bitassets (black swan or prediction markets)
    *
    *  In order to use this operation, @ref asset_to_settle must have the global_settle flag set
    *
    *  When this operation is executed all balances are converted into the backing asset at the
    *  settle_price and all open margin positions are called at the settle price.  If this asset is
    *  used as backing for other bitassets, those bitassets will be force settled at their current
    *  feed price.
    */
   struct asset_global_settle_operation : public base_operation
   {
      struct fee_parameters_type { uint64_t fee = 500 * GRAPHENE_BLOCKCHAIN_PRECISION; };

      asset           fee;
      account_id_type issuer; ///< must equal @ref asset_to_settle->issuer
      asset_id_type   asset_to_settle;
      price           settle_price;
      extensions_type extensions;

      account_id_type fee_payer()const { return issuer; }
      void            validate()const;
   };

Code: [Select]
/**
    * @brief Schedules a market-issued asset for automatic settlement
    * @ingroup operations
    *
    * Holders of market-issued assests may request a forced settlement for some amount of their asset. This means that
    * the specified sum will be locked by the chain and held for the settlement period, after which time the chain will
    * choose a margin posision holder and buy the settled asset using the margin's collateral. The price of this sale
    * will be based on the feed price for the market-issued asset being settled. The exact settlement price will be the
    * feed price at the time of settlement with an offset in favor of the margin position, where the offset is a
    * blockchain parameter set in the global_property_object.
    *
    * The fee is paid by @ref account, and @ref account must authorize this operation
    */
   struct asset_settle_operation : public base_operation
   {
      struct fee_parameters_type {
         /** this fee should be high to encourage small settlement requests to
          * be performed on the market rather than via forced settlement.
          *
          * Note that in the event of a black swan or prediction market close out
          * everyone will have to pay this fee.
          */
         uint64_t fee      = 100 * GRAPHENE_BLOCKCHAIN_PRECISION;
      };
asset           fee;
      /// Account requesting the force settlement. This account pays the fee
      account_id_type account;
      /// Amount of asset to force settle. This must be a market-issued asset
      asset           amount;
      extensions_type extensions;

      account_id_type fee_payer()const { return account; }
      void            validate()const;
   };

   /**
    * Virtual op generated when force settlement is cancelled.
    */

   struct asset_settle_cancel_operation : public base_operation
   {
      struct fee_parameters_type { };

      asset           fee;
      force_settlement_id_type settlement;
      /// Account requesting the force settlement. This account pays the fee
      account_id_type account;
      /// Amount of asset to force settle. This must be a market-issued asset
      asset           amount;
      extensions_type extensions;

      account_id_type fee_payer()const { return account; }
      void            validate()const {}

      share_type calculate_fee(const fee_parameters_type& params)const
      { return 0; }
   };
« Last Edit: November 28, 2015, 03:29:52 am by ebit »
telegram:ebit521
https://weibo.com/ebiter

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
当初BM计划开发2.0的时候,这个是一开始就提出来的,讨论了很久。这个功能就类似0.9里面的short设置了过期时间一样,是为了保证bitcny的持有者总能换回bts,如果没法换回,铆钉会失败。

2.0发布之后CLI一直有这个功能,只是刚刚开放在GUI里。
BitShares committee member: abit
BitShares witness: in.abit