Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/danpaquin/coinbasepro-python
/ on_close
Method
on_close
cbpro/websocket_client.py:129–131 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
127
print(
"-- Subscribed! --\n"
)
128
129
def
on_close(self):
130
if
self.should_print:
131
print(
"\n-- Socket Closed --"
)
132
133
def
on_message(self, msg):
134
if
self.should_print:
Callers
1
_disconnect
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected