zeitgeistpm / ui

Zeitgeist general prediction markets application.
https://app.zeitgeist.pm
Apache License 2.0
16 stars 4 forks source link

Show initial value for scalar markets #596

Open maltekliemann opened 1 year ago

maltekliemann commented 1 year ago

While deploying a pool for a scalar market and setting the initial odds, it would be very useful to show what the initial predicted value will be.

For example, suppose I'm creating a market with values between 295 and 300 and I want the initial prediction to be 297. Then I need to manually calculate (297 - 295) / (300 - 295) = 0.4 to figure out what the initial value of SHORT LONG should be. Would be more straightforward if I could just use a slider/textbox to set the initial value and the values of LONG and SHORT are calculated accordingly.

To calculate the value of SHORT LONG from an initial prediction x of [a, b], you just do (x - a) / (b - a).

Robiquet commented 1 year ago

@maltekliemann is this resolved by this?

image
maltekliemann commented 1 year ago

No, unfortunately. I mean, depends on where that bar is displayed. What I'm proposing is that when deploying a pool, I should be able to see which prediction my initial prices correspond to, or, even better, be able to set the initial prediction and let the UI calculate the initial prices.

For example, if I want to create a market about the number of tornados in the U.S. and my range is 400-800, then I want to be able to specify that the initial prediction should be 555 and have the prices set accordingly.