Bitcoin Forum
November 23, 2017, 07:16:53 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Mt.Gox streaming data  (Read 748 times)
romerun
Legendary
*
Offline Offline

Activity: 1078


Bitcoin is new, makes sense to hodl.


View Profile
February 07, 2013, 08: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 ?
1511464613
Hero Member
*
Offline Offline

Posts: 1511464613

View Profile Personal Message (Offline)

Ignore
1511464613
Reply with quote  #2

1511464613
Report to moderator
Join ICO Now Coinlancer is Disrupting the Freelance marketplace!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Clark
Hero Member
*****
Offline Offline

Activity: 540


So much code.


View Profile WWW
February 12, 2013, 12:17:53 AM
 #2

My website uses the socket.io JavaScript client library that handle automatic reconnects and selection of proper medium depending on browser capability.

PGP KEY | 1Bitcoin3Tg2KWyAq3wzivdqwYqGwKYaGd
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!