Bitcoin Forum

Bitcoin => Project Development => Topic started by: Dorphern on June 04, 2011, 05:17:29 PM



Title: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 04, 2011, 05:17:29 PM
Hi bitcoinlovers!

I've developed this service, that monitors the bitcoin buy value. Right now it only takes the value from mtgox, but in the future it will monitor other bitcoin trading sites as well.

I know this thing exists already but I thought I wanted to make it a little bit more simple to look at, and more sleek.

You can find it here: http://bitval.dorphern.dk/
And the API here: http://bitval.dorphern.dk/api

I would love ideas and constructive criticism :)
oh yeah, one more thing: Tested in Chrome, FireFox and Safari.

/Dorphern

UPDATE: Ajax fallback for browsers that does not support websockets.
UPDATE: Live graph, of the last 24 hours.
UPDATE: Notification sound everytime the price changes
UPDATE: bitval.info now redirects you to bitval :-)
UPDATE: An API has been added to bitval.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: bittrader on June 04, 2011, 05:57:57 PM
Cool.

A couple thoughts:
-It works for me in Chrome, but not in FF4 (it just shows "--"). The FF error console says: "WebSocket is not defined".
-It would be nicer if it had an easier to remember URL.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: kokjo on June 04, 2011, 06:04:29 PM
The FF error console says: "WebSocket is not defined".
its because websockets don't work in FF, only in chrome i think...
You can find it here: http://bitval.dorphern.dk/

FEDT! er du dansk?


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 04, 2011, 06:07:58 PM
Cool.

A couple thoughts:
-It works for me in Chrome, but not in FF4 (it just shows "--"). The FF error console says: "WebSocket is not defined".
-It would be nicer if it had an easier to remember URL.

Thanks alot.
Hmm, yeah FF doesn't support websockets at the time being, but I will make a fallback, or find another way to get this working :-)
For the URL being, yeah, i agree, but for now it has to be this way. I but in a near future I will must certainly register a domain.



Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 04, 2011, 06:08:36 PM
The FF error console says: "WebSocket is not defined".
its because websockets don't work in FF, only in chrome i think...
You can find it here: http://bitval.dorphern.dk/

FEDT! er du dansk?

haha ja, det er jeg! :-) Troede sku ikke der var mange andre danskere herinde !


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: kokjo on June 04, 2011, 06:19:19 PM
The FF error console says: "WebSocket is not defined".
its because websockets don't work in FF, only in chrome i think...
You can find it here: http://bitval.dorphern.dk/

FEDT! er du dansk?

haha ja, det er jeg! :-) Troede sku ikke der var mange andre danskere herinde !
der er nogle stykker... ik så mange, se her: http://forum.bitcoin.org/index.php?topic=5633.0


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 04, 2011, 08:46:00 PM
I have now been working on the script for some time, and have successfully created a fallback ajax script, that enables the script in FF and other major browsers as well (FF, Safari and Chrome tested).


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 05, 2011, 04:28:24 PM
UPDATE!

There now is a live graph that displays the last 24 hours of the bitcoin value in USD :-)


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: bittrader on June 05, 2011, 04:32:11 PM
This has become very cool.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Sukrim on June 05, 2011, 04:41:04 PM
Which rate do you use to convert USD to EUR and how often is this rate updated? ;)


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 05, 2011, 05:46:46 PM
@bittrader Thank you! :-)

@Sukrim See the funny thing is that I have no clue ;-) I use the same as google, as they have an api for conversionrates, between currencies.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 05, 2011, 07:48:47 PM
So I made a 3rd update to bitval, a sound notification, it is off by default btw ;-)
When ever the price of a bitcoin changes it will make a noise to notify you of the price change.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: w0mbat on June 06, 2011, 01:10:16 AM
somethings not working:
Quote
Warning: file_get_contents(http://www.google.com/ig/calculator?hl=en&q=1USD=?EUR) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in /var/www/dorphern.dk/bitval/converter.php on line 11


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 06, 2011, 07:26:37 AM
somethings not working:
Quote
Warning: file_get_contents(http://www.google.com/ig/calculator?hl=en&q=1USD=?EUR) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 503 Service Unavailable in /var/www/dorphern.dk/bitval/converter.php on line 11


Thank you, I'm aware of this problem, I think it is my host that is responsible for this error, I will look into it.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 06, 2011, 07:51:22 AM
I've removed the bitcoin conversion for now (Only USD), it caused some problems (no idea why). I will fix it with another system tomorrow. sorry for the inconvenience!


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: jerfelix on June 06, 2011, 10:38:14 AM
Dorphern-

I love it.     Here are a few suggestions.  Please accept them in the spirit intended, or feel free to ignore them.

1.  Consider changing your TITLE tag to be the current USD value, as opposed to Bitval.  Or maybe the current USD value then Bitval.  Example:  {title}17.9984 USD - Bitval {/title}.   And update this with each change.  That way my tab will have the current value in it, while I'm in another tab (in Firefox).

2.  Move your footer down a bit - your Bitcoin donation number is colliding with your history column (in Firefox)

3.  For a memorable name, if you would like a free redirect from myB.TC (http://myB.TC), let me know, and tell me what shortname to use.  Perhaps myB.TC/current (http://myB.TC/current) or myB.TC/value (http://myB.TC/value).  Of course, you could always buy a domain name from godaddy as well.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 06, 2011, 12:22:10 PM
Dorphern-

I love it.     Here are a few suggestions.  Please accept them in the spirit intended, or feel free to ignore them.

1.  Consider changing your TITLE tag to be the current USD value, as opposed to Bitval.  Or maybe the current USD value then Bitval.  Example:  {title}17.9984 USD - Bitval {/title}.   And update this with each change.  That way my tab will have the current value in it, while I'm in another tab (in Firefox).

2.  Move your footer down a bit - your Bitcoin donation number is colliding with your history column (in Firefox)

3.  For a memorable name, if you would like a free redirect from myB.TC (http://myB.TC), let me know, and tell me what shortname to use.  Perhaps myB.TC/current (http://myB.TC/current) or myB.TC/value (http://myB.TC/value).  Of course, you could always buy a domain name from godaddy as well.


Thanks a bunch for your ideas! I've implemented the 1'st one (great idea), and as far as I can see I've fixed the second as well.

For the third I'm not quite sure if it's a much better way to do it than what i'm already doing. But thanks for your proposal :-)
I will soon buy a domain for the website, after that it should be no problem.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: w0mbat on June 06, 2011, 12:51:00 PM
for hosting i can recommend https://www.kalyhost.com/

im hosting my site there, very fast setup, low costs and nice features.

while id like to implement a live exchangerate on my website too (maybe on a subdomain like live.btcxc.info) i have no idea how to do this as html/css is the only thing i am able to code...


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: jerfelix on June 06, 2011, 10:47:53 PM

Thanks a bunch for your ideas! I've implemented the 1'st one (great idea), and as far as I can see I've fixed the second as well.

For the third I'm not quite sure if it's a much better way to do it than what i'm already doing. But thanks for your proposal :-)
I will soon buy a domain for the website, after that it should be no problem.
I had Bitval open all day, and it worked great!   The charts were a little flaky early in the day, but that problem seems to have corrected itself.

I used to have Bitcoin Charts open a lot, but it seems to kill Firefox after some time.  I suspect it's some sort of memory leak.  Bitval is perfect - nice and light and functional.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: GimEEE on June 06, 2011, 11:23:56 PM
Will you please make a dynamic img file to link to that will display the current exchange rate (bonus for variable input)
This will enable use on Craigslist and non java forum sites.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: TiagoTiago on June 06, 2011, 11:54:23 PM
I didn't read the info very carefully nor researched it much, but it seems either there was a misunderstanding and the Mozilla peeps intentionally disabled websockets by default for nothing, or there is some serious security concern in the current specifications and they decided it was safest for everyone to keep it off until the specifications are amended. Either way if you feel confident/lucky you can enable it inside about:config , search for websockets in there


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 07, 2011, 02:51:19 PM
oh look! what is that! is it a bird?! No! It's a domain name!
Yup, we now got a domain name: bitval.info, should be easier to remember now ;-) btw, i'm getting it moved to another host as we are speaking so it may working some day for a period of time. :-)

@GimEEE Seems like a good idea, I will definitely be looking in to that!, or at least some kind of api.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: GimEEE on June 08, 2011, 12:09:21 PM
like this: http://oneminuteslow.com/bitcoin/100-20.png
but more robust duplicates


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: TheRandomGuy on June 08, 2011, 07:22:35 PM
This website is REALLY helpful.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: jerfelix on June 09, 2011, 03:09:54 PM
Hey dorphern, I think you might have broken your sound file and flag image, when you moved it to http://bitval.info (http://bitval.info)

img src="flags-iso/24/us.png" fails to load.  and I'm not getting any sound.  Is it just me?


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 09, 2011, 03:56:09 PM
Hey dorphern, I think you might have broken your sound file and flag image, when you moved it to http://bitval.info (http://bitval.info)

img src="flags-iso/24/us.png" fails to load.  and I'm not getting any sound.  Is it just me?

Thanks for mentioning it :-)
The flags should work fine now, but the sound file is working fine in my browser (chrome) wich browser are you using?


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: jerfelix on June 09, 2011, 04:29:44 PM
Sounds are working fine now.  May have been user error.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 09, 2011, 11:04:45 PM
like this: http://oneminuteslow.com/bitcoin/100-20.png
but more robust duplicates

What do you mean with more robust duplicates?


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Captain Flint on June 10, 2011, 05:44:16 PM
Cимпaтичнo и зaбaвнo. Cпacибo!


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: njloof on June 10, 2011, 05:50:03 PM
Cимпaтичнo и зaбaвнo. Cпacибo!

"Cute and funny"?

Maybe he's asking for an internationalized version of the page.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 10, 2011, 06:43:04 PM
An API has been added to bitval: http://bitval.info/api, go check it out :-)


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: jerfelix on June 10, 2011, 08:08:26 PM
Can you modify your website so that the price of Bitcoins only goes up?


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 10, 2011, 08:10:29 PM
Can you modify your website so that the price of Bitcoins only goes up?

haha, no sorry, can't do that :p


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 12, 2011, 06:40:01 PM
I've added exchange currency information to bitval: http://bitval.dorphern.dk/#information
Information like last 24hours range, week range, and change in pct.

Enjoy :-)


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Klestin on June 18, 2011, 11:54:40 PM
Bitval down?


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: Dorphern on June 19, 2011, 02:19:31 PM
Bitval down?

Yeah, something is wrong with the connection between the mtgox api and bitval, no idea what the problem is though. Lets just hope it will work sometimes soon.


Title: Re: Bitval - Monitor the bitcoin exchangerate live
Post by: MrAnderson on June 25, 2011, 03:43:42 PM
Bitval down?

Yeah, something is wrong with the connection between the mtgox api and bitval, no idea what the problem is though. Lets just hope it will work sometimes soon.

Certainly helpful that tool!  :P