bitshares / bsips

BitShares Improvement Proposals and Protocols. These technical documents describe the process of updating and improving the BitShares blockchain and technical ecosystem.
https://bitshares.github.io
63 stars 86 forks source link

New BSIP: Make the settlement offset vary with CR #160

Closed shulthz closed 4 years ago

shulthz commented 5 years ago
BAIP: Draft
Title: Make the settlement offset vary with CR
Authors: 
Status: Draft
Type: Consensus 
Created: 2019-04-09

Abstract

Motivation

Rational

Specifications

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

Force settlement offset= K*(CR/MCR)^x
  1. 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()

Figure_1

  1. If we need to set a Maximum settlement offset? maybe not;
  2. The settlement Delay above MCR still be 24 hours.

Summary for holders

Make the settlement offset vary with CR can adjust the MCR through the market, and can provide more market controllability and competition. If the settlement offset affect the CR and make people to control their CR above the MCR? If the market participants can take the risk to make a CR near the MCR which change to 1.6 or 1.5? If this make the market more active?

Discussion

https://bitsharestalk.org/index.php?topic=26762.msg319760#msg319760

See also

Copyright

This document is placed in the public domain.

pmconrad commented 5 years ago

Please elaborate why you think this would be a good idea. What is the effect you want to achieve and how do you expect the suggested changes to lead to the desired outcome?

IMO it complicates things further (and the market mechanics are already too complicated for many users). The numbers you suggest seem to be arbitrary, please give reasons for these choices. Or are you suggesting to make them configurable in some way?

pmconrad commented 5 years ago

Hm, I think the idea is worth considering.

A positive settlement offset means a reward for the short position. Since settlement happens against the least collateralized short, the short owner receives this reward for holding the least collateralized short. Obviously, incentivizing bad collateralization endangers the stability of the SmartCoin.

At the same time, we have used the settlement offset as a protective measure in case of skewed markets (particularly in the case of CNY). We do not want to lose this means. One option to remove the rewards for bad collateralization and keeping the protective effect would be to keep the settlement offset for the settler as-is, and reduce it for the short position depending on its CR. The delta could be paid into a pool belonging to the asset issuer.

froooze commented 5 years ago

@shulthz: You wanna make settlement for a bitAsset cheaper, when the least collateral level is lower?

shulthz commented 5 years ago

@shulthz: You wanna make settlement for a bitAsset cheaper, when the least collateral level is lower?

YES, but still hava a Minimum settlement offset.

But now, i have changed the idea.

xeroc commented 5 years ago

Very nice idea!

shulthz commented 4 years ago

Update post.

shulthz commented 4 years ago

Ask for a bsip number @sschiessl-bcp we can check biteur.

abitmore commented 4 years ago

Makes sense. Although raising the offset may push the trading price of the asset away from par value when devaluation occurs, on the other hand, it encourages traders to keep a certain supply of the asset (keep some liquidity).

offset=K*(CR/MCR)**X

I think K and X need to be definable by the asset owners. Technically,

I wish we can find a better curve.

shulthz commented 4 years ago

I wish we can find a better curve.

I'm not good at the code, you're the pro. This is just an option, i just give some thoughts.