Davide Casale
07c1d63241
Bump __version__ in file bfxapi/_version.py to v3.0.5.
2024-11-14 06:03:29 +01:00
Davide Casale
a57c0d81e0
Add support for endpoint: GET /auth/r/ledgets/hist.
2024-11-14 05:55:06 +01:00
Davide Casale
981d58736b
Bump __version__ in file bfxapi/_version.py to v3.0.4.
2024-07-30 05:23:21 +02:00
Davide Casale
76f6ac9d33
Bump __version__ in file bfxapi/_version.py to v3.0.3.
2024-06-26 21:34:55 +02:00
Davide Casale
c65ae2dafe
Add marker py.typed to root package bfxapi.
2024-06-26 21:34:03 +02:00
Davide Casale
a72c574ad2
Bump __version__ in file bfxapi/_version.py to v3.0.2.
2024-04-24 17:43:59 +02:00
Davide Casale
8f7d6950c2
Add support for event balance_update.
2024-04-24 17:33:32 +02:00
Davide Casale
847d887bab
Add support for event funding_info_update.
2024-04-24 17:24:09 +02:00
Davide Casale
a72a9475c0
Add support for event base_margin_info and symbol_margin_info.
2024-04-24 17:23:16 +02:00
vigan-abd
52f24ffe7d
fix ver
2024-04-08 20:10:06 +02:00
Davide Casale
354aa6250e
Bump __version__ in file bfxapi/_version.py to v3.0.0.
2024-04-04 16:44:20 +02:00
Davide Casale
65318beee9
Handle unexpected errors in HTTP requests (bfxapi.rest._interface).
2024-04-04 16:42:08 +02:00
Davide Casale
bdd78a817d
Merge branch Davi0kProgramsThings:fix/refactoring into branch bitfinexcom:master. ( #238 )
...
# Description
<!--- Describe your changes in detail -->
PR includes some global refactoring in preparation for the v3.0.0 stable release.
## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
-
## Related Issue
<!--- If suggesting a new feature or change, please discuss it in an issue first -->
<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->
<!--- Please link to the issue here: -->
PR fixes the following issue: -
## Type of change
<!-- Select the most suitable choice and remove the others from the checklist -->
- [X] Bug fix (non-breaking change which fixes an issue);
# Checklist:
- [X] I've done a self-review of my code;
- [X] I've made corresponding changes to the documentation;
- [X] I've made sure my changes generate no warnings;
- [X] mypy returns no errors when run on the root package;
<!-- If you use pre-commit hooks you can always check off the following tasks -->
- [X] I've run black to format my code;
- [X] I've run isort to format my code's import statements;
- [X] flake8 reports no errors when run on the entire code base;
2024-04-03 22:34:23 +02:00
Davide Casale
1a6f4eaa21
Fix flake8 configuration to respect Black's 10% rule.
2024-02-27 18:14:47 +01:00
Davide Casale
5543b0b1d2
Fix all flake8 errors in all python files (+ edit configuration files).
2024-02-27 17:24:47 +01:00
Davide Casale
2344d44aa0
Remove all old '# pylint:' comments from all python files.
2024-02-26 20:04:09 +01:00
Davide Casale
38dbff1141
Apply black to all python files (bfxapi/**/*.py).
2024-02-26 19:43:14 +01:00
Davide Casale
2b7dfc5b8a
Apply isort to all python files (bfxapi/**/*.py).
2024-02-26 19:36:10 +01:00
Davide Casale
a7ac81c015
Bump __version__ in file bfxapi/_version.py to v3.0.0b5.
2023-12-14 19:19:26 +01:00
Davide Casale
97bad7f4fb
Fix low latency bug in public method BfxWebSocketBucket::start.
2023-12-14 18:35:00 +01:00
Davide Casale
7f3db907b5
Bump __version__ in file bfxapi/_version.py to v3.0.0b4.
2023-12-12 05:13:50 +01:00
Davide Casale
327d494e3c
Fix RuntimeError in method BfxWebSocketBucket::resubscribe.
2023-12-12 05:13:23 +01:00
Davide Casale
f63224c905
Bump __version__ in file bfxapi/_version.py to v3.0.0b3.
2023-10-26 18:10:15 +02:00
Davide Casale
f3fe14b921
Add 'checksum' event in sub-package bfxapi.websocket._event_emitter.
2023-10-26 18:06:29 +02:00
Davide Casale
5e50aa6f67
Fix bug in BfxWebSocketClient::on's arguments (bfxapi/websocket/_client/bfx_websocket_client.py).
2023-10-26 18:04:00 +02:00
Davide Casale
1ec6c49428
Rewrite all rest examples according to v3.0.0b3's changes.
2023-10-26 17:47:06 +02:00
Davide Casale
9287723678
Fix several bugs in sub-package bfxapi.rest.endpoints.
2023-10-26 16:48:41 +02:00
Davide Casale
8c65ba54e9
Rename property 'renew' to 'op_renew' in get_deposit_address.
2023-10-26 16:48:41 +02:00
Davide Casale
2bed2f6672
Fix bug in cancel_order_multi (both rest and websocket).
2023-10-26 16:48:41 +02:00
Davide Casale
77494de9ef
Remove old test suite in module bfxapi.tests.
2023-10-26 06:56:09 +02:00
Davide Casale
b082891c41
Remove useless and redundant docstrings from custom exceptions.
2023-10-26 06:53:35 +02:00
Davide Casale
c02d6d7bf8
Fix bug in module bfxapi.websocket._event_emitter.
2023-10-26 06:53:35 +02:00
Davide Casale
2734ff9e1a
Drop modules bfxapi.enums, bfxapi.rest.enums and bfxapi.websocket.enums.
2023-10-26 06:53:35 +02:00
Davide Casale
8e915e42eb
Improve fidelity to pylint's standard rules.
2023-10-26 06:53:11 +02:00
Davide Casale
ac50f8f884
Fix and rewrite module bfx_websocket_inputs in bfxapi.websocket._client.
2023-10-25 05:52:55 +02:00
Davide Casale
ddce83be0c
Apply some refactoring to sub-package bfxapi.websocket.
2023-10-16 05:59:24 +02:00
Davide Casale
133db74a72
Add automatic deletion for buckets that reach zero subscriptions (e.g. after a call to BfxWebSocketClient::unsubscribe).
2023-10-16 04:45:47 +02:00
Davide Casale
e5ec94b757
Remove wss-event event from BfxWebSocketClient and BfxWebSocketBucket.
2023-10-13 17:38:25 +02:00
Davide Casale
374b632c6c
Add pause/resume logic in class BfxWebSocketClient.
2023-10-13 17:05:11 +02:00
Davide Casale
122d692684
Rewrite all logic regarding connection multiplexing.
2023-10-13 05:44:26 +02:00
Davide Casale
378e89b504
Fix small bug in module bfxapi.exceptions.
2023-10-09 16:27:04 +02:00
Davide Casale
25881e77c8
Fix and rewrite some logic in class BfxWebSocketClient.
2023-10-09 16:25:46 +02:00
Davide Casale
de0ee54900
Add new module bfxapi._utils.json_decoder.
2023-10-09 04:58:34 +02:00
Davide Casale
9872adf60f
Fix type hinting in module bfxapi._utils.json_encoder.
2023-10-09 04:58:25 +02:00
Davide Casale
5ae576e36a
Fix and rewrite all logic in class BfxWebSocketBucket.
2023-10-09 04:57:17 +02:00
Davide Casale
628c3a0d66
Rewrite implementation for abstract class Connection (_connection.py).
2023-10-09 04:56:37 +02:00
Davide Casale
206ebe7941
Remove circular import from file bfx_websocket_client.py.
2023-10-09 04:56:37 +02:00
Davide Casale
22451f674e
Remove inner class Connection.Authenticable (_connection.py).
2023-10-09 04:56:37 +02:00
Davide Casale
82a3307205
Fix bug in local class _Delay (bfx_websocket_client.py).
2023-10-09 04:56:37 +02:00
Davide Casale
ca4050a35b
Rename event <disconnection> to <disconnected> (to mantain compliance).
2023-10-09 04:56:37 +02:00