BitShares Forum

Main => General Discussion => Topic started by: binggo on April 08, 2019, 12:40:02 am

Title: How about let the the settlement offset varied with CR?
Post by: binggo on April 08, 2019, 12:40:02 am
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()

(https://user-images.githubusercontent.com/34892308/71301618-525faa80-23dc-11ea-8f47-7b16f5a0e397.png)
    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
Title: Re: How about let the the settlement offset varied with CR?
Post by: abit on November 02, 2019, 07:42:16 pm
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?
Title: Re: How about let the the settlement offset varied with CR?
Post by: binggo on November 03, 2019, 12:47:32 am
en, 什么时候又翻出来的...

https://github.com/bitshares/bsips/issues/160
Title: Re: How about let the the settlement offset varied with CR?
Post by: binggo on December 21, 2019, 06:17:04 am
We can check the situation of biteur..
Title: Re: How about let the the settlement offset varied with CR?
Post by: binggo on December 21, 2019, 07:03:56 am
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.