I tried to initiate a websocket connection using the following example you have posted into your README:
def openTickerStream():
cob = Cobinhood()
cobeth_orderbook = Orderbook('COB-ETH')
cob.ws.start(subscribe=[cobeth_orderbook], on_message=on_message)
def on_message(cob_obj, msg):
print (cob_obj.system.get_time())
print (cob_obj.ws.exchange_data.orderbook)
print (msg)
Using this code, there is no response at all. Maybe the websocket endpoint is outdated?
I tried to initiate a websocket connection using the following example you have posted into your README:
def openTickerStream():cob = Cobinhood()cobeth_orderbook = Orderbook('COB-ETH')cob.ws.start(subscribe=[cobeth_orderbook], on_message=on_message)def on_message(cob_obj, msg):print (cob_obj.system.get_time())print (cob_obj.ws.exchange_data.orderbook)print (msg)Using this code, there is no response at all. Maybe the websocket endpoint is outdated?