Author Topic: How about let the the settlement offset varied with CR?  (Read 3909 times)

0 Members and 1 Guest are viewing this topic.

Offline binggo

  • Hero Member
  • *****
  • Posts: 2374
  • 世间太多瘪犊子
    • View Profile
Biteur is very small, and only have 1% offset, this is very dangerous for the debtor, if someone hold the half amount of biteur, then things will become worse.

Offline binggo

  • Hero Member
  • *****
  • Posts: 2374
  • 世间太多瘪犊子
    • View Profile
We can check the situation of biteur..

Offline binggo

  • Hero Member
  • *****
  • Posts: 2374
  • 世间太多瘪犊子
    • View Profile

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Please clarify a few things so that it's easier for others to join the discussion:
1. what's the perceived problem you're trying to solve?
2. why do you think your idea would solve the problem?
BitShares committee member: abit
BitShares witness: in.abit

Offline binggo

  • Hero Member
  • *****
  • Posts: 2374
  • 世间太多瘪犊子
    • View Profile
Make the settlement offset vary with CR;


K = Modification Factors(e.g 0.02)
x = Modification Factors(e.g. 3)

Force settlement offset= K*(CR/MCR)^x

    CR above the MCR will get more settlement offset;
    e.g.
    when MCR=160 K=0.02,x=2,the 200% collateral ratio will get 3.1% Force settlement offset.
    when MCR=150 K=0.02,x=3,the 200% collateral ratio will get 3.9% Force settlement offset.

Code: [Select]
# -- coding:utf-8 --

import matplotlib.pyplot as plt
import numpy as np

K=0.01
X=4
CR=np.arange(100,300)
MCR=160
offset=K*(CR/MCR)**X

plt.xlabel("CR",fontsize=15)
plt.ylabel("offset",fontsize=15)

plt.plot(CR,offset)
plt.show()


    If we need to set a Maximum settlement offset? 5% or other parameters;
    The settlement Delay above MCR still be 24 hours.

https://github.com/bitshares/bsips/issues/160
« Last Edit: January 02, 2020, 07:58:50 am by binggo »