Davide Casale
|
5ae576e36a
|
Fix and rewrite all logic in class BfxWebSocketBucket.
|
2023-10-09 04:57:17 +02:00 |
|
Davide Casale
|
1d911a250c
|
Rename bfxapi.websocket.client to _client and bfxapi.websocket.handlers to _handlers (according to PEP8).
|
2023-06-18 01:02:59 +02:00 |
|
Davide Casale
|
d80b8b8721
|
Rename BfxWebsocketClient, BfxWebsocketBucket and BfxWebsocketInputs to BfxWebSocketClient, BfxWebSocketBucket and BfxWebSocketInputs.
|
2023-04-20 01:36:09 +02:00 |
|
Davide Casale
|
34f583cfff
|
Add bfxapi/version.py to contain the package version.
|
2023-03-22 21:26:09 +01:00 |
|
Davide Casale
|
a7f5aa684a
|
Apply pylint's linting rules to bfxapi/websocket/__init__.py, bfxapi/websocket/enums.py, bfxapi/websocket/exceptions.py, bfxapi/websocket/serializers.py and bfxapi/websocket/subscriptions.py.
|
2023-03-06 17:28:56 +01:00 |
|
Davide Casale
|
f0f150cec2
|
Split websocket package in multiple sub-package. Split handlers.py in public_channels_handler.py and authenticated_channels_handler.py. Rename files attaining to new conventions.
|
2023-02-13 19:09:38 +01:00 |
|
Davide Casale
|
c8d8586841
|
Add bfxapi/websocket/enums.py file. Rewrite bfxapi.websocket's __init__.py. Rename HEARTBEAT constant to _HEARTBEAT to make it internal.
|
2022-11-23 16:56:13 +01:00 |
|
Davide Casale
|
a8dec5c6bc
|
Rename bfxapi/websocket/errors.py to exceptions.py. Add Errors enumeration inside BfxWebsocketClient.py and bfxapi/websocket/__init__.py.
|
2022-11-22 18:11:05 +01:00 |
|
Davide Casale
|
721e82b86d
|
Add pendings in _BfxWebsocketBucket. Add new logic for selecting the bucket with less connections. Add ._unsubscribe coroutine.
|
2022-11-22 17:21:21 +01:00 |
|
Davide Casale
|
7314578dd7
|
Separate _require_websocket_connection decorator from BfxWebsocketClient class. Add _require_websocket_authentication decorator. Implement .notify method in bfxapi/websocket/BfxWebsocketClient.py.
|
2022-11-17 18:54:43 +01:00 |
|
Davide Casale
|
d58c60b02d
|
Add EventNotSupported exception in errors.py.
|
2022-11-16 19:01:52 +01:00 |
|
Davide Casale
|
7fcd2e0970
|
Add OutdatedClientVersion exception in bfxapi/websocket/errors.py. Add check for version mismatch between client and server. Add support for error event.
|
2022-11-15 18:06:21 +01:00 |
|
Davide Casale
|
a03a82d57a
|
Add support for various new authenticated channels. Add new typings in bfxapi/websocket/typings.py. Add BfxWebsocketException in bfxapi/websocket/errors.py.
|
2022-11-11 18:54:38 +01:00 |
|
Davide Casale
|
50644e8116
|
Rename manager.py to handlers.py. Add code to BfxWebsocketClient.py to handle authenticated channel. Update bfxapi/websocket/__init__.py imports.
|
2022-11-09 19:13:48 +01:00 |
|
Davide Casale
|
a37b7dda33
|
Add bfxapi/websocket/errors.py script. Add __require_websocket_connection decorator inside BfxWebsocketClient class. Implement unsubscribe and clear methods.
|
2022-11-08 17:47:46 +01:00 |
|
Davide Casale
|
048eedcd8e
|
Add bfxapi package. Add bfxapi.websocket subpackage. Add requirements.txt file.
|
2022-11-07 18:35:39 +01:00 |
|