17 Commits

Author SHA1 Message Date
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
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
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
8e915e42eb Improve fidelity to pylint's standard rules. 2023-10-26 06:53:11 +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
9edbd7a415 Rename bfxapi.utils to _utils (and update references). 2023-06-20 18:37:33 +02:00
Davide Casale
708fdc87c7 Add new event liquidation_feed_update to PublicChannelsHandler (and improve overall type hinting). 2023-06-12 15:37:05 +02:00
Davide Casale
7059846843 Remove support for datetime type and improve typing in several files. 2023-05-26 18:48:27 +02:00
Davide Casale
c8290f144b Upgrade to Mypy 1.3.0 (old: 0.991). Fix compatibility problems with Mypy. Add type hints to bfxapi.websocket.handlers. 2023-05-19 22:13:15 +02:00
Davide Casale
63ab433710 Apply refactoring to some relative import directives. 2023-04-20 15:38:10 +02:00
Davide Casale
0f9fa1bf6a Merge bfxapi.rest.types and bfxapi.websocket.types in bfxapi.tests sub-package. 2023-04-20 03:44:13 +02:00