Add bfxapi/websocket/errors.py script. Add __require_websocket_connection decorator inside BfxWebsocketClient class. Implement unsubscribe and clear methods.

This commit is contained in:
Davide Casale
2022-11-08 17:46:45 +01:00
parent 5dfe3d6b13
commit a37b7dda33
3 changed files with 37 additions and 9 deletions

View File

@@ -1,3 +1,3 @@
from .BfxWebsocketClient import BfxWebsocketClient
from .channels import Channels
from .channels import Channels
from .errors import ConnectionNotOpen