-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BSIP62: Close short position (i.e. manual margin call) #156
Comments
Question: Include in update of short position, or extra operation? |
Also see #129. |
Adjusted the text to include the idea there. |
it's easy to ensure that the CR is not reduced with close short orders by limiting the selling price >margin call price/MCR. how to coordinate this close short logic with the margin call logic? if necessary(although not very necessary in my view) maybe we can introduce independent MSSR for each position, however independent MSSR should be equal or greater than global MSSR. how to coordinate this close short logic with adjusting position? |
Is this not related to #167 ? |
I feel the title should be "close long positions", right? when one hold a debt position he is holding a long position of BTS, right? |
He is short in the debt asset. He may be long in BTS at the same time, but that is irrelevant. (He could have sold the BTS on a CEX for example.) |
smartcoin is stablecoin, when we do BTS/stablecoin trading, it's reasonable to tell long or short BTS, it's wired to tell long or short stablecoin. |
I think using the term "debt position" is better. MPA is not only for stable coins. |
hope this can be pushed forward and included in the next HF, as the logic is clear and will greatly help the smartcoin ecosystem. |
The specification needs to be more detailed. |
updated specitication, not sure whether it is detailed enough, seems more detailed specification should come from developer? SpecificationIntroduce a way that user can directly place orders to sell collaterals in a debt position, and the got smartcoins will be used to reduce debt automatically. User need to define the amount and price while placing the sell orders, and the price should be greater or equal to When a debt position is margin called with close short orders, 2 ways are possible to handle this: When user adjust the debt position, system will check whether the target debt position conflict with the close short orders, if yes than reject to adjust. |
I think the feature described here is clear enough, although there are many corner cases to consider when implementing. Someone please create a PR? |
done. #211 |
If want BSIP62 to become really useful? It must charge the MCFR fees++Liquidity penalty 1%; #164 If someone want to use BSIP62, the system will charge the MCFR fees +Liquidity penalty 1% from the user; These fees were very important. |
Abstract
Closing a short position comes with a risk of getting margin called if no spare funds are available to buy the long and reduce the debt to zero. This BSIP introduces a way to put the short position directly on the market.
Rationale
Closing a short position with a healthy CR should come with no risk of getting margin called.
Specification
Introduce a way that triggers something similar to a margin call. The user defines:
The price must be restricted such that the CR is not reduced when orders are matched against it. The order must appear as a normal order on the order book and not as a margin call. If the position is in a state of being margin called, this manual margin call will remain alongside the margin call.
This can be done by adding optional parameters to the update of a short position, or by addition of a new operation that activates the manual margin call (and deactivates on setting amount to 0)
Discussion and Summary for Shareholders
Reducing the risk of a margin call is favorable for the network and the position holder, while there is no risk for the market or long holders in allowing to put the position on the market.
References
The text was updated successfully, but these errors were encountered: