Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[DX-623] Fill both auction sides #62
Dec 28, 2018
referenced this pull request
Jan 4, 2019
@josojo , as you suggested in #69, there's a problem that can happen if the price drops -50% or goes up +100%.
I think you mean, that there's a risk if this happens only in the DutchX, this is a bit less likely because it would mean that users let the price to go way below market price (losing an opportunity) or closed way over the price.
Anyways, is good to add a protection for an extreme case, I think the worst case would be if we have one side drop to 0, and the other is almost 0. This will make one of the sides very pricey.
Let's say is
The previous solution brings a small new problem. If the price drop is REAL, and is more than -75%, we will have one side that starts below the market price, however this will be not a big deal because:
Maybe I miscalculated sth, you can review my assumptions, for the calculation I used:
I know is not perfect, but it can be a simple solution. In the future we can implement other more advanced solutions were, in case of inactivity (i.e. 24h) a token gets delisted, people can withdraw the sell volume, and in order to start the auction again you need to set a new price and add the threshold for listing a token.
What do you think?
I think there is a missunderstanding. I am not talking about price falls during 6 hours. if the market stopped and was inactive for quite some time, then nobody will want to start the auction by posting sellorders.
Not entirely sure... can someone review my thoughts: