Author

Topic: Mt.Gox streaming data (Read 847 times)

hero member
Activity: 548
Merit: 502
So much code.
February 11, 2013, 08:17:53 PM
#2
My website uses the socket.io JavaScript client library that handle automatic reconnects and selection of proper medium depending on browser capability.
legendary
Activity: 1078
Merit: 1002
Bitcoin is new, makes sense to hodl.
February 07, 2013, 04:14:26 AM
#1
Hi, I'm playing around with XChange library connecting to the mtgox api gateway to receive realtime trade/depth data.

The url it's talking to is something like:

http://socketio.mtgox.com/mtgox?Channel=depth&Currency=USD:80

The issue is when it's not midnight til early morning, it will say, connection problem or something. I can understand that mtgox streaming data gateway probably can't handle big load of US/EU customers, but i find it odd that http://bitcoin.clarkmoody.com/ always work just fine, and judging from UI, they are using the streaming data, not the polling one.

I also wonder, inorder to use mtgox streaming api these days, one has to connect to their server at night, and maintain the connection throughout the following day, because mtgox has the max number of con. rejecting new connections on the busy hours ? or just keep trying to connect ?
Jump to: