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: User custom price for his margin call order #129

Closed code-maggot closed 5 years ago

code-maggot commented 5 years ago

Abstract A use is able to repay debt by place order to sell his collateral manually. Of course, price should less than Margin Call Price but more than BG price.

Bitshares UI is to be updated to give the function.

Motivation Currently, there is no active way to close out for those whose CR < 175%. He can only hope feed price rise or margin call order be eaten if he has no extra money. While sometimes market keeps going down and no one want to eat call orders, those can only watch their CR lower and lower eventually get nothing back. If user can manually place a sell order to sell his collateral, risk of black swan will be reduced and it's also a better UX.

Any thoughts?

abitmore commented 5 years ago

Make sense. Actually an approach is to make the global MSSR optional for debt owners, or give them abilities to specify their own MSSR.

code-maggot commented 5 years ago

Make sense. Actually an approach is to make the global MSSR optional for debt owners, or give them abilities to specify their own MSSR.

Yep. For this MSSR way, since user may have several margin position, they might like to set seperate MSSR for different bitAsset.

clockworkgr commented 5 years ago

Can't really see debt owners being prudent with that.,...theyre more likely to set it to the minimum, judging by how they treat their CR.

(referring to letting them set their own)

code-maggot commented 5 years ago

Can't really see debt owners being prudent with that.,...theyre more likely to set it to the minimum, judging by how they treat their CR.

For those fully invested and wake up found their CR already below 175%(which often happens), they just can do nothing to protect their coins. This BSIP is designed for those people, give them functionality to close their position when call order wouldnt be eaten. Without that, how can they show their prudence?

abitmore commented 5 years ago

For a system, we provide tools. How traders use the tools is up to them. For example, the target CR tool introduced in BSIP38 is such a tool, it does provide some benefit if collateral price go down a bit then go up, but it can do more bad than good if collateral price go down too much. There are always some people earn money and some people lose money.

bitcrab commented 5 years ago

why only for margin call orders? why not to provide a general feature that trader can place orders to sell the collateral to reduce the debt, for both margin called and non-margin called positions?

code-maggot commented 5 years ago

why only for margin call orders? why not to provide a general feature that trader can place orders to sell the collateral to reduce the debt, for both margin called and non-margin called positions?

I came out with this idea in order to reduce the debt when margin called. Sure it's better make this as a general feature.

pmconrad commented 5 years ago

IMO this provides very little value since manual trading can achieve more or less the same, given only a small amount of starting capital.

shulthz commented 5 years ago

I think the asset owner can set the Margin Call Ratio.

Seperate the Margin Call Ratio and the Maintenance collateral ratio.

e.g. if the Maintenance collateral ratio is 1.75, system can set the basic Margin Call Ratio to 1.6, and the asset owner can set his Margin Call Ratio from 1.6 to 1.35.

When the price drop down 8.5%, the margin call could only happen at 1.6, as the Market Rebounds always, this provides the market with a large buffer as prices fall again.

abitmore commented 5 years ago

Please continue the discussion in https://github.com/bitshares/bsips/issues/156, closing this one.

abitmore commented 5 years ago

See PR https://github.com/bitshares/bsips/pull/211 (BSIP62).