Bitcoin Forum
December 06, 2016, 10:24:23 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Gox socket.io streaming, Python - complete example code  (Read 2329 times)
osmosis
Sr. Member
****
Offline Offline

Activity: 301



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

.
1481019863
Hero Member
*
Offline Offline

Posts: 1481019863

View Profile Personal Message (Offline)

Ignore
1481019863
Reply with quote  #2

1481019863
Report to moderator
1481019863
Hero Member
*
Offline Offline

Posts: 1481019863

View Profile Personal Message (Offline)

Ignore
1481019863
Reply with quote  #2

1481019863
Report to moderator
1481019863
Hero Member
*
Offline Offline

Posts: 1481019863

View Profile Personal Message (Offline)

Ignore
1481019863
Reply with quote  #2

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

Posts: 1481019863

View Profile Personal Message (Offline)

Ignore
1481019863
Reply with quote  #2

1481019863
Report to moderator
1481019863
Hero Member
*
Offline Offline

Posts: 1481019863

View Profile Personal Message (Offline)

Ignore
1481019863
Reply with quote  #2

1481019863
Report to moderator
1481019863
Hero Member
*
Offline Offline

Posts: 1481019863

View Profile Personal Message (Offline)

Ignore
1481019863
Reply with quote  #2

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

Activity: 602


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

Thank you Smiley
icside
Jr. Member
*
Offline Offline

Activity: 34


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!