How about let the the settlement offset varied with CR?

Started by binggo, April 08, 2019, 12:40:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

binggo

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.

binggo


binggo


abit

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

binggo

#1
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.

# -- 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