Bitcoin Forum
February 25, 2018, 12:13:29 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 750 times)
romerun
Legendary
*
Offline Offline

Activity: 1078
Merit: 1001


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 ?
1519560809
Hero Member
*
Offline Offline

Posts: 1519560809

View Profile Personal Message (Offline)

Ignore
1519560809
Reply with quote  #2

1519560809
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1519560809
Hero Member
*
Offline Offline

Posts: 1519560809

View Profile Personal Message (Offline)

Ignore
1519560809
Reply with quote  #2

1519560809
Report to moderator
1519560809
Hero Member
*
Offline Offline

Posts: 1519560809

View Profile Personal Message (Offline)

Ignore
1519560809
Reply with quote  #2

1519560809
Report to moderator
1519560809
Hero Member
*
Offline Offline

Posts: 1519560809

View Profile Personal Message (Offline)

Ignore
1519560809
Reply with quote  #2

1519560809
Report to moderator
Clark
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500


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!