Commit Graph

15 Commits

Author SHA1 Message Date
Davide Casale
87bb6dc5c7 Add generic error handling (UnknownGenericError in bfxapi/rest/exceptions.py). Add support for new endpoints in _RestAuthenticatedEndpoints class. Extend serializers.py and typings.py. 2022-12-20 17:48:38 +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
509223ae9b Add order_multiple_operations input in _BfxWebsocketInputs. 2022-11-30 17:34:13 +01:00
Davide Casale
e71d4b6e26 Add new websocket authenticated inputs in _BfxWebsocketInputs class. Add new type hinting inside bfxapi/websocket/typings.py. 2022-11-30 17:24:51 +01:00
Davide Casale
a5083c36cf Add type hinting using typings.py in bfxapi/websocket/serializers.py. 2022-11-24 17:48:41 +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
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
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
b7ac7f9caf Separate some nested typings in bfxapi/websocket/typings.py. 2022-11-15 15:22:00 +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
495b51a2f6 Rewrite bfxapi/websocket/typings.py script adding new types and fixing some naming bug. 2022-11-14 17:41:55 +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
2c70d299b3 Fix small bug in bfxapi/websocket/typings.py file. 2022-11-10 12:27:35 +01:00
Davide Casale
54542ac23b Add bfxapi/websocket/typing.py script and define some custom types. 2022-11-10 12:24:50 +01:00