Bitcoin Forum
December 08, 2016, 04:18:18 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: does MtGox's streaming API update more quickly than polling via HTTP?  (Read 1873 times)
eldentyrell
Donator
Legendary
*
Offline Offline

Activity: 966


felonious vagrancy, personified


View Profile WWW
January 29, 2012, 04:38:03 PM
 #1

MtGox's API documentation says that all data, including market depth, is cached every 10 seconds.  This means that you can't find out about changes to the market depth more often than that.

They also have a socket.io API documented here:

  https://en.bitcoin.it/wiki/MtGox/API#Streaming_API

Does the socket.io API only return results when the cache is updated (in which case there's really no advantage to using it unless you're writing code stuck in a browser), or does the socket.io API return order book changes more-or-less as they happen?

Thanks,

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
1481213898
Hero Member
*
Offline Offline

Posts: 1481213898

View Profile Personal Message (Offline)

Ignore
1481213898
Reply with quote  #2

1481213898
Report to moderator
1481213898
Hero Member
*
Offline Offline

Posts: 1481213898

View Profile Personal Message (Offline)

Ignore
1481213898
Reply with quote  #2

1481213898
Report to moderator
1481213898
Hero Member
*
Offline Offline

Posts: 1481213898

View Profile Personal Message (Offline)

Ignore
1481213898
Reply with quote  #2

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

Posts: 1481213898

View Profile Personal Message (Offline)

Ignore
1481213898
Reply with quote  #2

1481213898
Report to moderator
Mt.Gox Support
VIP
Sr. Member
*
Offline Offline

Activity: 308



View Profile
January 31, 2012, 01:59:32 AM
 #2

MtGox's API documentation says that all data, including market depth, is cached every 10 seconds.  This means that you can't find out about changes to the market depth more often than that.

They also have a socket.io API documented here:

  https://en.bitcoin.it/wiki/MtGox/API#Streaming_API

Does the socket.io API only return results when the cache is updated (in which case there's really no advantage to using it unless you're writing code stuck in a browser), or does the socket.io API return order book changes more-or-less as they happen?

Thanks,

Hi. Socket.io is realtime, but still under Beta explaining some of the problem you may have. However we are working on this and hope to offer a more "stable" solution.

Mt.Gox : The Leading International Bitcoin Exchange.
Mt.Gox Merchant Solutions : https://mtgox.com/merchant
eldentyrell
Donator
Legendary
*
Offline Offline

Activity: 966


felonious vagrancy, personified


View Profile WWW
February 02, 2012, 12:34:05 AM
 #3

Hi. Socket.io is realtime, but still under Beta explaining some of the problem you may have. However we are working on this and hope to offer a more "stable" solution.

Okay.  Could you tell us what "error code #1" means?  At least two of us are encountering it in this thread:

  https://bitcointalk.org/index.php?topic=14412.100

I understand that the socket.io API has been "beta" for three months now, but since it is the only real-time API (the HTTP API is on a 10-second delay) that puts some traders at a significant disadvantage relative to others.

The printing press heralded the end of the Dark Ages and made the Enlightenment possible, but it took another three centuries before any country managed to put freedom of the press beyond the reach of legislators.  So it may take a while before cryptocurrencies are free of the AML-NSA-KYC surveillance plague.
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!