Closed fahadshery closed 4 years ago
Hi All,
I am trying to run this piece of code:
import cbpro, time order_book = cbpro.OrderBook(product_id='BTC-USD') order_book.start() time.sleep(10) order_book.close()
But getting the following console msgs:
/usr/local/bin/python3.8 /Users/Fahad/GitLab/fuse/src/testorder.py -- Subscribed to OrderBook! -- Connection is already closed. - data: None -- OrderBook Socket Closed! -- Process finished with exit code 0
What am I doing wrong?
Looks like the websocket client may have syntax issues raised here: https://github.com/danpaquin/coinbasepro-python/issues/386
Does this solve the problem?
yes thanks
Hi All,
I am trying to run this piece of code:
But getting the following console msgs:
What am I doing wrong?