Davide Casale
|
38dbff1141
|
Apply black to all python files (bfxapi/**/*.py).
|
2024-02-26 19:43:14 +01:00 |
|
Davide Casale
|
2b7dfc5b8a
|
Apply isort to all python files (bfxapi/**/*.py).
|
2024-02-26 19:36:10 +01:00 |
|
Davide Casale
|
b082891c41
|
Remove useless and redundant docstrings from custom exceptions.
|
2023-10-26 06:53:35 +02:00 |
|
Davide Casale
|
133db74a72
|
Add automatic deletion for buckets that reach zero subscriptions (e.g. after a call to BfxWebSocketClient::unsubscribe).
|
2023-10-16 04:45:47 +02:00 |
|
Davide Casale
|
122d692684
|
Rewrite all logic regarding connection multiplexing.
|
2023-10-13 05:44:26 +02:00 |
|
Davide Casale
|
378e89b504
|
Fix small bug in module bfxapi.exceptions.
|
2023-10-09 16:27:04 +02:00 |
|
Davide Casale
|
5ae576e36a
|
Fix and rewrite all logic in class BfxWebSocketBucket.
|
2023-10-09 04:57:17 +02:00 |
|
Davide Casale
|
8a1632d3c2
|
Write new implementation for class BfxEventEmitter (bfxapi.websocket._event_emitter).
|
2023-10-09 04:56:34 +02:00 |
|
Davide Casale
|
d9733e8d38
|
Change visibility of decorators require_websocket_connection and require_websocket_authentication (and hardcode HEARTBEAT).
|
2023-06-17 22:24:27 +02:00 |
|
Davide Casale
|
03a03c6107
|
Delete HandlerNotFound exception (from bfxapi.websocket.exceptions).
|
2023-04-20 15:49:46 +02:00 |
|
Davide Casale
|
63ab433710
|
Apply refactoring to some relative import directives.
|
2023-04-20 15:38:10 +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
|
734375ec9f
|
Add and implement wss_timeout in BfxWebsocketClient (and Client).
|
2023-04-16 20:04:46 +02:00 |
|
Davide Casale
|
249f19fe41
|
Add ZeroConnectionsError in bfxapi.websocket.exceptions. Add log if connections = 0 in BfxWebsocketClient::start. Add raise ZeroConnectionError in BfxWebsocketClient::subscribe if connections equals 0.
|
2023-03-14 19:03:05 +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
|
17c9502733
|
Apply fixes and refactoring to the bfxapi.handlers sub-package.
|
2023-02-14 16:29:50 +01:00 |
|
Davide Casale
|
0a53ab7f7e
|
Apply lots of refactoring to the websocket subpackage (fix every mypy error and warning). Add integers.py and decimal.py to bfxapi.utils package. Update requirements.txt and setup.py with new mypy dependencies.
|
2022-12-16 18:30:41 +01:00 |
|
Davide Casale
|
4cfeab8a79
|
Add barebone files for rest section.
|
2022-11-30 18:25:15 +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 |
|