Data streaming stops and gets disconnected

anoopkc1209
Hi ,
Sometimes while i'm connected to the app and trading via python API, the data streaming stops and it gets disconnected and i will have to re run my code again... if i'm around, the re-run happens quickly with minimal losses else if the delay in re-run is longer, the losses become bigger and un bearable...
this disconnection happens 2-3 times a day across 8 hours of trading
how to counter this ??

Thanks for your help and advice
  • sujith
    You need to put some logs and see, we don't disconnect from our end. You might be blocking the thread or there might be an exception in secondary thread that isn't logged.
Sign In or Register to comment.