(There's also an
FAQ.)
What is a bet's weight?
The earlier you bet the more of the total pot you will win in case your side prevails.
What formula do you actually use?
Let's say that I won a bet. I placed A bitcoins on this bet, and the total bitcoins placed on my side was A_sum. The total sum was B bitcoins (the opposite bet was C_sum = B-A_sum bitcoins), and I placed this bet at percentage of time left till end equal to T, expressed as: T= 100%=1.0 is when bet starts, and T=0%=0.0 is when bet ends.
Then what is my reward?
R(A,B,T)= ?
Explained here:
https://bitcointalk.org/index.php?topic=147914.msg1572084#msg1572084Or in other words, the losers side is split between the winners by coin*weight from which 1% house fee is taken.
It's only explained qualitatively. I am asking about exact formula used.
For example this one formula is NOT used, even though that's what you are suggesting:
Reward = TOTAL * 0.99 * MY_BET * WEIGHT / Sum_all(winning_bets * WEIGHT)
The formula which I found to ALMOST match the results is:
Reward = TOTAL * 0.99 * MY_BET * WEIGHT^(1/3.5) / Sum_all(winning_bets * WEIGHT^(1/3.5))
Where "^(1/3.5)" means raised to power (1/3.5). This formula however becomes increasingly wrong for WEIGHT smaller than 10000.
So what is the formula?
EDIT: I found a formula which is almost correct for WEIGHT > 3000, it is:
Reward = TOTAL * 0.99 * MY_BET * SQRT(LOG(WEIGHT))*WEIGHT^(1/6.0) / Sum_all(winning_bets * SQRT(LOG(WEIGHT))*WEIGHT^(1/6.0))
But I am still asking what is the formula actually used.