Post
Topic
Board Beginners & Help
Re: BTC Price Stability
by
NothinG
on 05/09/2011, 06:52:11 UTC
Wait a minute. My brain is working. m=140000*(a/e)
a =average block generation time since last difficulty change in minutes out to 2 decimals
e = expected generation time in minutes = 10
To find a, we just need to see the last 2 blocks (or further if needed) and figure out the difficult change in minutes?
To find e, we just need to see the last 3 or 4 blocks and predict the amount of time till the next block?

[Edit]:
Just threw the current formula (without this post's changes).
http://zombietoday.com/dev/pricecal.php

[Edit2]:
a = http://blockexplorer.com/q/interval
Code:
shows the average interval between blocks, in seconds. The parameter sets how many blocks to look back at (default 1000).
e = probably just set this to 600 (10 minutes)?

[Edit3]:
Just made some changes, and it looks like the average should be about 8.8USD<>1BTC.
Code:
(b*r)/((2500000*(b/140000*(a/e)))-d)

[Edit4]:
http://zombietoday.com/dev/pricecal.php?json
Added JSON Smiley