MCPcopy Create free account
hub / github.com/danpaquin/coinbasepro-python / close

Method close

cbpro/websocket_client.py:120–123  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 self.on_close()
119
120 def close(self):
121 self.stop = True # will only disconnect after next msg recv
122 self._disconnect() # force disconnect so threads can join
123 self.thread.join()
124
125 def on_open(self):
126 if self.should_print:

Callers 3

order_book.pyFile · 0.80
_disconnectMethod · 0.80

Calls 1

_disconnectMethod · 0.95

Tested by

no test coverage detected