Hello, thanks for all the work that you've done.
I'm using your script on Linux and after some time of receiving order book, I get the exception "no close frame received or sent".
Not sure why this happens and I'm not able to stop the execution to re-run the script to start over.
- I tested it on a VPS too
- Used
try catch to print the error (which works) and leave the loop (which doesn't work)
- Freezes after printing the error "no close frame received or sent"
try:
loop = asyncio.new_event_loop()
loop.run_until_complete(ASYNC_FUNCTION_NAME)
except KeyboardInterrupt:
print("KeyboardInterrupt")
except Exception as error:
print(f"CLI Exception {error=}")
finally:
loop.close()
With regards
Hello, thanks for all the work that you've done.
I'm using your script on Linux and after some time of receiving order book, I get the exception "no close frame received or sent".
Not sure why this happens and I'm not able to stop the execution to re-run the script to start over.
trycatchto print the error (which works) and leave the loop (which doesn't work)With regards