Commit Graph

12 Commits

Author SHA1 Message Date
Davide Casale
b082891c41 Remove useless and redundant docstrings from custom exceptions. 2023-10-26 06:53:35 +02:00
Davide Casale
378e89b504 Fix small bug in module bfxapi.exceptions. 2023-10-09 16:27:04 +02:00
Davide Casale
63ab433710 Apply refactoring to some relative import directives. 2023-04-20 15:38:10 +02:00
Davide Casale
9e1b336a67 Move _Delay local class in global scope (bfxapi.websocket.client.bfx_websocket_client).
Apply pylint's linting rules to bfxapi/rest/__init__.py, bfxapi/rest/enums.py, bfxapi/rest/exceptions.py, bfxapi/rest/serializers.py and bfxapi/rest/types.py."
Apply pylint's linting rules to bfxapi/rest/endpoints/__init__.py, bfxapi/rest/endpoints/bfx_rest_interface.py and bfxapi/rest/endpoints/rest_public_endpoints.py.
2023-03-07 17:08:37 +01:00
Davide Casale
7b313ddcab Merge TradeExecutionUpdate and TradeExecuted serializers and types in websocket subpackage. 2023-01-31 17:27:14 +01:00
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
24b105378a Add hierarchy logic to custom exceptions. 2022-12-15 19:14:00 +01:00
Davide Casale
851184bf75 Add authentication logic to _Requests class in BfxRestInterface.py. Add _RestAuthenticatedEndpoints class. Add InvalidAuthenticationCredentials in bfxapi/rest/exceptions.py. 2022-12-14 18:56:03 +01:00
Davide Casale
cd5ef42118 Add support for new various endpoints. Add ResourceNotFound error in bfxapi/rest/exceptions.py. Fix bug in BfxRestInterface.__GET method. 2022-12-09 16:16:15 +01:00
Davide Casale
ea6044a5eb Add support for new rest public endpoints (in BfxRestInterface.py, serializers.py and typings.py). 2022-12-01 17:48:50 +01:00
Davide Casale
4cfeab8a79 Add barebone files for rest section. 2022-11-30 18:25:15 +01:00