Commit Graph

12 Commits

Author SHA1 Message Date
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
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
Davide Casale
1fc9aacd86 Add authenticate method in BfxWebsocketClient. Add API_KEY and API_SECRET to Client's constructor parameters. Add new AuthenticationCredentialsError exception. 2022-11-09 18:26:30 +01:00
Davide Casale
7e416219e0 Add handlers in manager.py for CANDLES and STATUS channels. Add support for heartbeat data. 2022-11-08 18:16:24 +01:00
Davide Casale
a37b7dda33 Add bfxapi/websocket/errors.py script. Add __require_websocket_connection decorator inside BfxWebsocketClient class. Implement unsubscribe and clear methods. 2022-11-08 17:47:46 +01:00
Davide Casale
5dfe3d6b13 Add bfxapi/websocket/manager.py file. Separate channel handlers from BfxWebsocketClient.py to manager.py. Fix bug in subscribe method. 2022-11-08 17:04:22 +01:00
Davide Casale
048eedcd8e Add bfxapi package. Add bfxapi.websocket subpackage. Add requirements.txt file. 2022-11-07 18:35:39 +01:00
Davide Casale
8fd261fd19 Add some barebone files. 2022-11-07 17:20:30 +01:00