Commit Graph

17 Commits

Author SHA1 Message Date
Davide Casale
5543b0b1d2 Fix all flake8 errors in all python files (+ edit configuration files). 2024-02-27 17:24:47 +01:00
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
97bad7f4fb Fix low latency bug in public method BfxWebSocketBucket::start. 2023-12-14 18:35:00 +01:00
Davide Casale
327d494e3c Fix RuntimeError in method BfxWebSocketBucket::resubscribe. 2023-12-12 05:13:23 +01:00
Davide Casale
ddce83be0c Apply some refactoring to sub-package bfxapi.websocket. 2023-10-16 05:59:24 +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
e5ec94b757 Remove wss-event event from BfxWebSocketClient and BfxWebSocketBucket. 2023-10-13 17:38:25 +02:00
Davide Casale
25881e77c8 Fix and rewrite some logic in class BfxWebSocketClient. 2023-10-09 16:25:46 +02:00
Davide Casale
de0ee54900 Add new module bfxapi._utils.json_decoder. 2023-10-09 04:58:34 +02:00
Davide Casale
5ae576e36a Fix and rewrite all logic in class BfxWebSocketBucket. 2023-10-09 04:57:17 +02:00
Davide Casale
f39b054397 Add implementation for BfxWebSocketClient::resubscribe and BfxWebSocketBucket::resubscribe. 2023-10-08 19:08:18 +02:00
Davide Casale
26f25e5848 Fix bug in method BfxWebSocketBucket::unsubscribe. 2023-10-08 19:08:18 +02:00
Davide Casale
d9267de009 Add config to enable checksums in BfxWebSocketBucket. 2023-10-08 19:08:18 +02:00
Davide Casale
f1e678e043 Add type hinting support to bfxapi.websocket.client.bfx_websocket_client. 2023-06-20 18:37:21 +02:00
Davide Casale
8b196b8f9c Add type hinting support to bfxapi.websocket.client.bfx_websocket_bucket. 2023-06-18 17:44:09 +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