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

0 Members and 1 Guest are viewing this topic.

Offline binggo

  • Hero Member
  • *****
  • Posts: 2032
    • View Profile
How about let the the settlement offset varied with CR?
« 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()


    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 »

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4280
    • View Profile
    • Steemit Blog
  • BitShares: abit
  • GitHub: abitmore
Re: How about let the the settlement offset varied with CR?
« Reply #1 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?
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline binggo

  • Hero Member
  • *****
  • Posts: 2032
    • View Profile
Re: How about let the the settlement offset varied with CR?
« Reply #2 on: November 03, 2019, 12:47:32 am »
en, 什么时候又翻出来的...

https://github.com/bitshares/bsips/issues/160

Offline binggo

  • Hero Member
  • *****
  • Posts: 2032
    • View Profile
Re: How about let the the settlement offset varied with CR?
« Reply #3 on: December 21, 2019, 06:17:04 am »
We can check the situation of biteur..

Offline binggo

  • Hero Member
  • *****
  • Posts: 2032
    • View Profile
Re: How about let the the settlement offset varied with CR?
« Reply #4 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.