vegaprotocol / specs

Specs, designs and requirements 🦔
MIT License
7 stars 2 forks source link

Price monitoring spec and implementation changes for parameters #385

Open tamlyn10 opened 3 years ago

tamlyn10 commented 3 years ago

As per this Slack thread: https://vegaprotocol.slack.com/archives/C9E6XA8GK/p1603095646138900

And from a call with @barnabee and @witgaw we have decided:

edd commented 3 years ago

A conversation I had with @campbellssource that may have come up previously is: while we're looking at these parameters, have we evaluated how they will need to change for 'the next product type' (e.g perpetuals)?

While supporting them immediately isn't on the rdevelopment oadmap yet, doing an exercise now of working out what the API would look like for those might lead us to make some API changes sooner rather than later.

tamlyn10 commented 3 years ago

The price monitoring functionality is about how prices move and protecting against that, regardless of the product. What is interesting to think about is whether this functionality would work the same for different price determination methods. If/when we get to speccing a new one of those (such as frequent batch auctions) we will need to consider this.

tamlyn10 commented 3 years ago

Our preference is that these parameters can default to levels set by a network parameter if unspecified. This will make education easier and allow market creators to avoid this complexity if they desire. Does that capture what you suggested the other day @barnabee ?

tamlyn10 commented 3 years ago

Discussion and Barney's answer here... https://vegaprotocol.slack.com/archives/C9E6XA8GK/p1603288416316300?thread_ts=1603284418.295400&cid=C9E6XA8GK