Commit Graph

26 Commits

Author SHA1 Message Date
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
3d9e7c7b25 Remove BfxWebsocketClient::once. Replace all occurrences with BfxWebsocketClient::on. Add BfxWebsocketClient::ONCE_EVENTS class variable. 2023-04-19 04:20:53 +02:00
Davide Casale
d04ebb96d5 Apply pylint's linting rules to examples/websocket/public/*.py. 2023-03-08 21:36:25 +01:00
Davide Casale
834a664034 Apply pylint's linting rules to examples/websocket/authenticated/*.py. 2023-03-08 21:28:32 +01:00
Davide Casale
a4c1418113 Install and configure pylint. Add pylint to dev-requirements.txt. Start rewriting code to follow pylint's linting rules. 2023-03-06 16:43:08 +01:00
Davide Casale
6f61b983a5 Rewrite, edit and organize examples/websocket demos. 2023-02-20 18:22:57 +01:00
Davide Casale
f4c6a21ef4 Ws examples
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-17 20:23:59 +01:00
Davide Casale
ab66170cf3 Apply refactoring to root package bfxapi. 2023-02-17 18:38:07 +01:00
Davide Casale
9eb2c73407 Fix small bug in examples/websocket/ticker.py demo. 2023-02-17 04:07:44 +01:00
Davide Casale
fa9bdfc333 Rewrite reconnection system with numerous fixes. 2023-02-15 21:58:01 +01:00
Davide Casale
6e96cda584 Edit demos in examples/ folder to use lowercase property identifiers. 2023-01-27 16:00:22 +01:00
Davide Casale
05827ff5d1 Change comment line in all examples/folder demos. 2023-01-25 18:33:27 +01:00
Davide Casale
5fe4d83902 Move subscriptions type hinting from bfxapi/websocket/types.py to bfxapi/websocket/subscriptions.py. 2023-01-19 18:00:51 +01:00
Davide Casale
c471a3b52b Sync demos in examples/websocket with new bfxapi improvements. 2023-01-19 16:35:17 +01:00
Davide Casale
e64c25bf19 Implement bfxapi/notifications.py in websocket subpackage. 2023-01-12 18:36:23 +01:00
Davide Casale
ff58f049a7 Separate _BfxWebsocketInputs from bfxapi/websocket/BfxWebsocketClient.py to _BfxWebsocketInputs.py. Rename websocket authenticated inputs methods. Refactoring to maintain consistency across the library. 2023-01-12 18:10:00 +01:00
itsdeka
1ff16e26b9 Add lines 2023-01-11 11:51:59 +01:00
itsdeka
f9f72a4ebb Add lines 2023-01-11 11:51:41 +01:00
itsdeka
44ba7e780a Add wss exmaple to create order, refactoring 2023-01-11 11:51:16 +01:00
Davide Casale
454a7542ed Add bfxapi/enums.py file. Split enumerations in bfxapi/rest/enums.py and bfxapi/websocket/enums.py. Rename enumeration classes to use singular name identifiers. 2022-12-22 18:42:55 +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
ea3eefd32c Apply refactoring with new standards in examples/websockets/*.py demos. 2022-12-16 18:42:59 +01:00
Davide Casale
8c9d52c186 Rename class members in order_book.py and raw_order_book.py. 2022-12-02 18:57:21 +01:00
Davide Casale
52d007c05d Add examples/websocket/order_book.py and raw_order_book.py demos. 2022-12-02 18:54:46 +01:00
Davide Casale
729a3ce8a3 Add examples/websocket/ticker.py demo. 2022-11-22 19:01:57 +01:00