Bitcoin Forum
March 28, 2017, 03:58:46 PM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Gox socket.io streaming, Python - complete example code  (Read 2378 times)
osmosis
Sr. Member
****
Offline Offline

Activity: 301



View Profile
February 17, 2012, 06:24:07 PM
 #1

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

Posts: 1490716726

View Profile Personal Message (Offline)

Ignore
1490716726
Reply with quote  #2

1490716726
Report to moderator
1490716726
Hero Member
*
Offline Offline

Posts: 1490716726

View Profile Personal Message (Offline)

Ignore
1490716726
Reply with quote  #2

1490716726
Report to moderator
nmat
Hero Member
*****
Offline Offline

Activity: 602


View Profile
February 18, 2012, 05:53:32 AM
 #2

Thank you Smiley
icside
Member
**
Offline Offline

Activity: 83


View Profile WWW
October 25, 2012, 01:54:56 AM
 #3

This code occasionally will raise a "ConnectionClosedException" when streaming depth updates (I assume thereby creating a zombie thread). It then creates a new thread and attempts to connect again. This process continues until eventually it segfaults. Any chance you have any updates to this code or ideas on what needs to change to deal with the MtGox disconnects? Has MtGox said anything about mitigating the disconnects?

Many thanks, no matter, for mostly working code--it was a great kickstart.

osmosis
Sr. Member
****
Offline Offline

Activity: 301



View Profile
November 03, 2012, 05:42:59 AM
 #4

This code occasionally will raise a "ConnectionClosedException" when streaming depth updates (I assume thereby creating a zombie thread). It then creates a new thread and attempts to connect again. This process continues until eventually it segfaults. Any chance you have any updates to this code or ideas on what needs to change to deal with the MtGox disconnects? Has MtGox said anything about mitigating the disconnects?

Many thanks, no matter, for mostly working code--it was a great kickstart.

I am curious about fixes for the "ConnectionClosedException" as well.  Currently I just catch it as an exception and then reset the state of my app so that it keeps running, but I would like to see a better OOP way of handling this.
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!