Commit Graph

732 Commits

Author SHA1 Message Date
Davide Casale
ba992d34b3 Change tp_ and fc_ prefixes to t_ and f_. 2022-11-21 16:24:10 +01:00
Davide Casale
7314578dd7 Separate _require_websocket_connection decorator from BfxWebsocketClient class. Add _require_websocket_authentication decorator. Implement .notify method in bfxapi/websocket/BfxWebsocketClient.py. 2022-11-17 18:54:43 +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
d3715d3f9c Fix small bug in bfxapi/websocket/BfxWebsocketClient.py. 2022-11-15 18:37:17 +01:00
Davide Casale
7fcd2e0970 Add OutdatedClientVersion exception in bfxapi/websocket/errors.py. Add check for version mismatch between client and server. Add support for error event. 2022-11-15 18:06:21 +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
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
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
itsdeka
5e1017dbc8 updated version 2022-11-09 14:16:21 +01:00
itsdeka
9b9f9e0689 withdraw fee 2022-11-09 14:15:36 +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
Vigan Abdurrahmani
fd5484cd75 Merge pull request #208 from matthewli1409/master
ledger missing id fix
2022-10-19 17:01:01 +02:00
matthewli1409
eb33c06d51 change version 2022-10-18 16:10:38 +07:00
matthewli1409
9162241844 Merge branch 'master' of https://github.com/bitfinexcom/bitfinex-api-py 2022-10-18 16:08:48 +07:00
matthewli1409
a50502a0b2 ledger missing id fix 2022-10-18 15:33:46 +07:00
Vigan Abdurrahmani
1c289d79ef Merge pull request #206 from itsdeka/liquidations-rest
implemented liquidations endpoint (rest)
2022-10-04 16:31:56 +02:00
itsdeka
fa7d3e2686 implemented liquidations endpoint (rest) 2022-10-04 12:41:31 +02:00
Vigan Abdurrahmani
757cb4a953 Merge pull request #203 from itsdeka/use-private-host-for-auth-based-requests
Use private host for auth-based requests
2022-08-27 20:59:16 +02:00
itsdeka
23c00e77a2 refactoring - updated tests 2022-08-27 17:17:13 +02:00
itsdeka
17646f9980 refactoring - moved hosts to constants.py 2022-08-27 17:09:00 +02:00
itsdeka
b2460450c6 revert change 2022-08-23 13:30:05 +02:00
itsdeka
26a5f50967 fix cancel order
updated version
2022-08-22 19:36:09 +02:00
itsdeka
87e7f9820e -) Use private host for auth-based requests
-) Updated examples
2022-08-22 19:31:16 +02:00
Vigan Abdurrahmani
1ca0d871c7 Merge pull request #193 from itsdeka/2.0.1
2.0.1
2022-01-31 14:51:05 +01:00
itsdeka
3650bc7944 fixed trades handling error
added new_user_trade use to examples
updated docs
2022-01-30 12:54:57 +01:00
itsdeka
d3c105a710 fixed trades handling error 2022-01-29 22:32:17 +01:00
itsdeka
87cc56440a fixed payloads 2022-01-25 14:45:22 +01:00
itsdeka
8ed2e51228 added alerts endpoints 2022-01-25 14:42:34 +01:00
itsdeka
52a2d76379 -) Added User Settings Write/Read/Delete endpoints (REST)
-) Added Balance Available for Orders/Offers endpoint (REST)
2022-01-23 22:33:10 +01:00
Vigan Abdurrahmani
a9a38b3209 Merge pull request #190 from itsdeka/movement
Combined all old unmerged PRs
2022-01-21 17:46:49 +01:00
itsdeka
04ef752523 adjusted CHANGELOG 2022-01-20 13:36:26 +01:00
itsdeka
793fda9d67 updated version
changed account's trade execution (te) and trade update (tu) handling
2022-01-20 13:35:36 +01:00
itsdeka
f2d83fefbc stop wasn't awaited (now it is)
thanks to @mgfreixa
2022-01-20 12:41:37 +01:00
itsdeka
767735bf62 added missing imported model Movement 2022-01-16 22:20:27 +01:00