Commit Graph

18 Commits

Author SHA1 Message Date
Davide Casale
fc84389564 Remove support for BfxWebSocketClient's instance variable events_for_subscription. 2023-06-18 00:54:56 +02:00
Davide Casale
708fdc87c7 Add new event liquidation_feed_update to PublicChannelsHandler (and improve overall type hinting). 2023-06-12 15:37:05 +02:00
Davide Casale
c8290f144b Upgrade to Mypy 1.3.0 (old: 0.991). Fix compatibility problems with Mypy. Add type hints to bfxapi.websocket.handlers. 2023-05-19 22:13:15 +02:00
Davide Casale
57680abd06 Rename bfxapi.websocket.handlers.authenticated_events_handler to auth_events_handler (AuthenticatedEventsHandler -> AuthEventsHandler). 2023-05-19 15:43:35 +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
0f9fa1bf6a Merge bfxapi.rest.types and bfxapi.websocket.types in bfxapi.tests sub-package. 2023-04-20 03:44:13 +02:00
Davide Casale
4edbf5d44c Change event trade_executed to trade_execution (and update references). 2023-04-20 01:43:44 +02:00
Davide Casale
92d6630013 Remove oc_multi-notification event from AuthenticatedEventsHandler (bfxapi.websocket.handlers.authenticated_events_handler). 2023-04-20 01:06:54 +02:00
Davide Casale
7f788dd239 Improve reconnections by not emitting againg once events. 2023-04-19 18:05:27 +02:00
Davide Casale
3de6eee337 Rename AuthenticatedChannelsHandler to AuthenticatedEventsHandler (and bfxapi.websocket.handlers.authenticated_channels_handler to authenticated_events_handler). 2023-04-19 04:29:26 +02:00
Davide Casale
34f583cfff Add bfxapi/version.py to contain the package version. 2023-03-22 21:26:09 +01:00
Davide Casale
5c707d7929 Apply pylint's linting rules to bfxapi/websocket/client/*.py. 2023-03-06 18:46:04 +01:00
Davide Casale
7e627dd239 Apply pylint's linting rules to bfxapi/websocket/handlers/*.py. 2023-03-06 17:53:54 +01:00
Davide Casale
fa9bdfc333 Rewrite reconnection system with numerous fixes. 2023-02-15 21:58:01 +01:00
Davide Casale
99f58ddb04 Add new packages to setup.py. Add new feature in .on and .once methods in bfxapi.websocket.client.bfx_websocket_client. Fix small typo in __init__.py. 2023-02-14 18:49:45 +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
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