Commit Graph

14 Commits

Author SHA1 Message Date
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
ba992d34b3 Change tp_ and fc_ prefixes to t_ and f_. 2022-11-21 16:24:10 +01:00
Davide Casale
971e4759fa Add and implement serializers for websocket authenticated channels in bfxapi/websocket/handlers.py. 2022-11-17 17:44:18 +01:00
Davide Casale
1cda4fcb3c Wrap type hinting for subscription objects inside Subscriptions namespace class. Update _Serializer class in serializers.py. Separate Books and Raw Books channels into tp_ and fc_ versions. 2022-11-17 16:54:32 +01:00
Davide Casale
d58c60b02d Add EventNotSupported exception in errors.py. 2022-11-16 19:01:52 +01:00
Davide Casale
41aa49d2bb Add derivatives_status_update event in handlers.py. Add DerivativesStatus in serializers.py and typings.py. 2022-11-16 18:45:25 +01:00
Davide Casale
6448fd59b9 Add bfxapi/websocket/serializers.py. Implement _Serializer internal class. Separate labeling from PublicChannelsHandler in handlers.py. 2022-11-16 18:33:33 +01:00
Davide Casale
217f767a30 Add handlers for ticker, trades and candles public channels. Add new type hinting inside bfxapi/websocket/typings.py. 2022-11-15 17:21:03 +01:00
Davide Casale
b9db5dd133 Update bfxapi/websocket/handlers.py and bfxapi/websocket/typings.py with new public channel handling logic. 2022-11-15 04:34:29 +01:00
Davide Casale
7d6ba4302a Rename AuthenticatedEventsHandler to AuthenticatedChannelsHandler. Rewrite handlers.py gathering events in channels. Update references in bfxapi. 2022-11-14 18:37:31 +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
61b082db2e Rewrite AuthenticatedEventsHandler with _label_array_elements logic. Add support to multiple new events. Fix bug in BfxWebsocketClient.py. 2022-11-10 11:57:57 +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