ripper234 (OP)
Legendary
Offline
Activity: 1358
Merit: 1003
Ron Gross
|
|
February 28, 2013, 01:39:48 AM Last edit: March 01, 2013, 08:27:17 PM by ripper234 |
|
Hi all! This morning, just in time I might add, I registered & coded bitcoinpeak.org. The site will always show the peak in bitcoin prices. Sad fact is that right now there's a rather huge issue ... the price is based on blockchain.info API, which is only updated once a day from what I could tell. So the site still shows $31.9099 Issue was fixed, price is updated once per minute. But ... tomorrow it will show a higher figure I guess I should just use Mt. Gox API directly and get my data from there. We'll see when I get around to making that change. In the meantime ... enjoy ... and congrats to all of us bit speculators for breaking the previous high. To the moon and beyond.
|
|
|
|
knight22
Legendary
Offline
Activity: 1372
Merit: 1000
--------------->¿?
|
|
February 28, 2013, 01:46:10 AM |
|
Cool You should add the date of the last peak
|
|
|
|
ripper234 (OP)
Legendary
Offline
Activity: 1358
Merit: 1003
Ron Gross
|
|
February 28, 2013, 06:09:50 AM |
|
Cool You should add the date of the last peak
Yeah. Issue reports (and dare I say pull requests?) are welcome.
|
|
|
|
notme
Legendary
Offline
Activity: 1904
Merit: 1002
|
|
March 01, 2013, 01:14:54 AM Last edit: March 01, 2013, 05:30:34 AM by notme |
|
Looks like you are using ruby. Here you go: https://github.com/sferik/mtgoxgives you the high for the past 24 hours. Check it twice a day and you're golden.
|
|
|
|
ripper234 (OP)
Legendary
Offline
Activity: 1358
Merit: 1003
Ron Gross
|
|
March 01, 2013, 12:28:10 PM |
|
Looks like you are using ruby. Here you go:
Wrong, I'm using scala. What confused you perhaps is heroku? Heroku supports many many platforms including scala, ruby, php, nodejs. I find it easier writing a completely stateless websites that reads the entire trade history from BitcoinCharts. In fact, I only need to read the history since the last known peak - I coded in the date of 1 week ago. With your idea, if my service is down for 24 hours, I could get the wrong results.
|
|
|
|
Odalv
Legendary
Offline
Activity: 1414
Merit: 1000
|
|
March 01, 2013, 12:34:21 PM |
|
Add date and time please. (amount)
|
|
|
|
ripper234 (OP)
Legendary
Offline
Activity: 1358
Merit: 1003
Ron Gross
|
|
March 01, 2013, 12:36:48 PM |
|
Add date and time please. (amount)
Send in a pull request I'm super busy ... I know it's a small change, but I'm sleeping less than 5 hours a night for the last week+, so no time right now. There is an issue I opened about this, and I might get to it sometime soon, but right now I can't devote more time to this.
|
|
|
|
notme
Legendary
Offline
Activity: 1904
Merit: 1002
|
|
March 01, 2013, 07:11:37 PM |
|
My bad. I just took a quick glance at the github page and saw a similar directory layout to a rails project. Looking more closely I clearly jumped the gun. I can understand your desire for statelessness, but adding the mtgox api check a few time per day in addition would keep the data fresher than updating once a day, but you could keep your stateless updates just in case. I guess it wouldn't make a difference most of the time, but when btc is in rally mode your page is pretty useless.
|
|
|
|
ripper234 (OP)
Legendary
Offline
Activity: 1358
Merit: 1003
Ron Gross
|
|
March 01, 2013, 07:38:14 PM |
|
My bad. I just took a quick glance at the github page and saw a similar directory layout to a rails project. Looking more closely I clearly jumped the gun. I can understand your desire for statelessness, but adding the mtgox api check a few time per day in addition would keep the data fresher than updating once a day, but you could keep your stateless updates just in case. I guess it wouldn't make a difference most of the time, but when btc is in rally mode your page is pretty useless.
The page updates once per minute ... it's very fresh. I fixed it yesterday morning ... until then it only updated once per day and even missed a few rallies, and was useless. Now I find it quite useful.
|
|
|
|
notme
Legendary
Offline
Activity: 1904
Merit: 1002
|
|
March 01, 2013, 08:23:01 PM |
|
My bad. I just took a quick glance at the github page and saw a similar directory layout to a rails project. Looking more closely I clearly jumped the gun. I can understand your desire for statelessness, but adding the mtgox api check a few time per day in addition would keep the data fresher than updating once a day, but you could keep your stateless updates just in case. I guess it wouldn't make a difference most of the time, but when btc is in rally mode your page is pretty useless.
The page updates once per minute ... it's very fresh. I fixed it yesterday morning ... until then it only updated once per day and even missed a few rallies, and was useless. Now I find it quite useful. Ah, okay. I missed the part where you said you updated it. I was still going off the OP where it said it updated once per day. Sorry for the thread clutter.
|
|
|
|
ripper234 (OP)
Legendary
Offline
Activity: 1358
Merit: 1003
Ron Gross
|
|
March 01, 2013, 08:27:33 PM |
|
No problem, I updated to OP.
|
|
|
|
|