Bitcoin Forum
June 26, 2019, 01:22:51 PM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mt.Gox streaming data  (Read 768 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 ?
There are several different types of Bitcoin clients. Hybrid server-assisted clients like Electrum get a lot of their network information from centralized servers, but they also check the server's results using blockchain header data. This is perhaps somewhat more secure than either server-assisted clients or header-only clients.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1561555371
Hero Member
*
Offline Offline

Posts: 1561555371

View Profile Personal Message (Offline)

Ignore
1561555371
Reply with quote  #2

1561555371
Report to moderator
1561555371
Hero Member
*
Offline Offline

Posts: 1561555371

View Profile Personal Message (Offline)

Ignore
1561555371
Reply with quote  #2

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

Activity: 548
Merit: 502


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.

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!