Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: Hook^ on July 08, 2011, 04:04:24 AM



Title: Anyone know where Sipa gets his difficulty history data?
Post by: Hook^ on July 08, 2011, 04:04:24 AM
And does anyone know how to get historical pricing data from somewhere like bitcoincharts.com?

Does Sipa just keep his difficulty data in his own database?  See bitcoin.sipa.be (http://bitcoin.sipa.be)

I would like to make a graph showing price/difficulty over the history of bitcoin, but sipa doesn't provide that.



Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: error on July 08, 2011, 04:05:05 AM
Difficulty is recorded with every block in the block chain.


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: Hook^ on July 08, 2011, 04:07:02 AM
Difficulty is recorded with every block in the block chain.
Right you are.  I forgot about that.

Is there an easy way to extract the blockchain data from the file that is downloaded from the bitcoin client?  Or is there an easier way to get that from blockexplorer.com?

And where would one get historical pricing data?


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: Hook^ on July 08, 2011, 04:12:41 AM
Ok, I figure out how to get the difficulty data from blockexplorer.com.  Now I just need to get historical pricing data.


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: error on July 08, 2011, 04:14:07 AM
http://forum.bitcoin.org/index.php?topic=6396.0


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: Hook^ on July 08, 2011, 04:26:43 AM
http://forum.bitcoin.org/index.php?topic=6396.0
Thanks a bunch, that is exactly what I needed.


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: coinvestor on July 08, 2011, 05:39:06 AM
I made a chart last week. Mind posting yours to see if our data matches up?

Coinvestor (Ryan)


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: Hook^ on July 08, 2011, 06:45:22 AM
I made a chart last week. Mind posting yours to see if our data matches up?

Coinvestor (Ryan)
Where would be a good place to put the jpeg?


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: fascistmuffin on July 08, 2011, 07:02:23 AM
http://imgur.com/ (http://imgur.com/) is a good image hosting place.


Title: Re: Anyone know where Sipa gets his difficulty history data?
Post by: Hook^ on July 08, 2011, 02:58:05 PM
Since MtGox pricing data doesn't exist before Sept 2010, I had to fake it with some rough data from bitmarket.
The data from the exchanges isn't in a clean one row per day format, so the graph will be a little bit off, but it shows the general trend well.

Hopefully, Sipa will add a chart like this to his site in the near future with code that can clean up the data a bit and combine pricing data from mtgox and bitmarket.

https://i.imgur.com/TU0fm.jpg