Pages:
Author

Topic: Realtime MtGox Time and Sales - page 4. (Read 19648 times)

legendary
Activity: 2912
Merit: 1060
June 03, 2011, 05:05:02 PM
#11
You should try using pusher.com technology, its universal
legendary
Activity: 1204
Merit: 1015
June 03, 2011, 03:22:34 PM
#10
As I've said to these sites before, they work in Firefox if you override the security block.
Set network.websocket.override-security-block to true in about:config
DO NOT ENABLE THIS IF YOU ARE BEHIND A PROXY
legendary
Activity: 1442
Merit: 1000
June 03, 2011, 03:15:19 PM
#9

Click for larger image

Works in Chrome but FF 4.0.1 is too old for it...

Someone donate to this guy!
hero member
Activity: 548
Merit: 502
So much code.
June 03, 2011, 11:54:21 AM
#8
Thanks for the quick feedback and the donation! I had to sleep between launching and reading the replies, but I've made some style changes.

Now (for me at least) the trades go behind the credits and console, and the console doesn't scroll up the page when the trades extend beyond the window.
full member
Activity: 182
Merit: 100
June 03, 2011, 11:09:47 AM
#7
It seems to me that it doesn't work.

What browser are you using?  Do you have websockets enabled?  It works fine for me in Chromium.  It would be nice if the prices were put in a div with overflow:hidden, but it's fully functional.
member
Activity: 84
Merit: 10
June 03, 2011, 10:49:41 AM
#6
It seems to me that it doesn't work.
full member
Activity: 237
Merit: 100
June 03, 2011, 08:54:00 AM
#5
That looks fucking killer! Well done! I can see all my sales going through, never realised i was selling to so many people absolutely tiny amounts.
member
Activity: 112
Merit: 10
June 03, 2011, 07:48:30 AM
#4
nice work but if u use it for a longer time the trading data is running over the credts.
newbie
Activity: 5
Merit: 0
June 03, 2011, 06:19:46 AM
#3
Works great! Cheesy

There's however a small visual glitch that is quite annoying; whenever you have the site open long enough the list of "Time&Sales" goes over the credits and behind the console and then on down even more. Could you put this is in an overflow box or something, with a scrollbar probably?

Cheers!
newbie
Activity: 41
Merit: 0
June 03, 2011, 03:22:38 AM
#2
n/a
hero member
Activity: 548
Merit: 502
So much code.
June 03, 2011, 03:12:18 AM
#1
I have created a web page to view the real time MtGox time & sales data as it comes across the pipe.

http://bitcoin.clarkmoody.com/

Please note that this service requires WebSockets, and Google Chrome seems to be the only browser that supports the technology at the moment.

The MtGox data now comes down the pipes on socket.io, so browser compatibility should be much broader than before.

Browser Support:
  • Google Chrome & Safari support WebSockets out of the box
  • Firefox 4: Set network.websocket.override-security-block to true in about:config
  • Opera: enable WebScokets in opera:config

If you want to see just a ticker updating in real time, I have created another page that uses polling as a fallback when WebSockets don't work:

http://bitcoin.clarkmoody.com/ticker/

There is also the issue of proxy servers getting confused by the unsecured WebSockets protocol. There is solid evidence that secure WebSockets (wss://) are routed properly by transparent proxy servers (maybe this is on MagicalTux's todo list already).

Whatever the case, if the site works for you, please enjoy and send a donation my way. I am in the process of developing depth of market tables for displaying the order book in real time. You can find the Order Book here: http://forum.bitcoin.org/index.php?topic=14412
Pages:
Jump to: