Davide Casale
3010961b69
Add /examples/websocket/auth/calc.py demo to show how calc works.
2024-04-24 17:42:46 +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
Dario Moceri
66d2a5d964
Merge pull request #240 from Davi0kProgramsThings/feature/documentation
...
Merge branch `Davi0kProgramsThings:feature/documentation` into branch `bitfinexcom:master`.
2024-04-08 17:07:11 +02:00
Davide Casale
0f1e2bc284
Rename workflow bitfinex-api-py-ci.yml to build.yml (for documentation purposes).
2024-04-08 16:58:15 +02:00
Davide Casale
735cf5bb19
Add badges to documentation in README.md.
2024-04-08 16:57:03 +02:00
Davide Casale
813cf0181a
Use literal string version in setup.py.
2024-04-08 16:40:17 +02:00
Dario Moceri
08b5364dc9
Merge pull request #239 from Davi0kProgramsThings/v3.0.0
...
Merge branch ` Davi0kProgramsThings:v3.0.0` into branch `bitfinexcom:master`.
2024-04-07 19:41:18 +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
ba76447c41
Upgrade project's 'Development Status' to '5 - Production/Stable'.
2024-04-04 16:44:05 +02:00
Davide Casale
089e193780
Remove all references to beta versions in README.md.
2024-04-04 16:43:43 +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
Dario Moceri
3136b9cfe4
Merge pull request #235 from Davi0kProgramsThings/fix/refactoring
...
Merge branch `Davi0kProgramsThings:fix/refactoring` into branch `bitfinexcom:master`.
2024-03-05 15:38:02 +01:00
Davide Casale
f94096bf32
Edit README.md documentation to add chapter on pre-commit.
2024-02-27 23:37:02 +01:00
Davide Casale
4f0f5efe09
Add new tasks to .github/PULL_REQUEST_TEMPLATE.md.
2024-02-27 23:37:02 +01:00
Davide Casale
ababa73488
Edit .gitignore to exclude more files/folders.
2024-02-27 23:37:02 +01:00
Davide Casale
48df3fa6e9
Downgrade pre-commit version to 3.5.0 (dev-requirements.txt).
2024-02-27 23:37:02 +01:00
Davide Casale
98037981fc
Edit .github/workflows/bitfinex-api-py-ci.yml to run pre-commit hooks.
2024-02-27 23:36:58 +01:00
Davide Casale
e4c7acd2c7
Install and configure pre-commit (to work with isort, black and flake8).
2024-02-27 19:16:54 +01:00
Davide Casale
1a6f4eaa21
Fix flake8 configuration to respect Black's 10% rule.
2024-02-27 18:14:47 +01:00
Davide Casale
e2257561d9
Split isort, black and flake8 configuration in .isort.cfg, .flake8 and pyproject.toml.
2024-02-27 18:11:10 +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
6a700690d7
Configure flake8 tool with some custom options.
2024-02-26 19:56:59 +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
d3f402fbc7
Add isort, black and flake8 to dev-requirements.txt (+ remove support to pylint).
2024-02-26 19:26:33 +01:00
Vigan Abdurrahmani
59c309021f
Merge pull request #233 from Davi0kProgramsThings/documentation/examples
...
Merge branch `Davi0kProgramsThings:documentation/examples` into branch `bitfinexcom:master`.
2023-12-28 08:52:48 +01:00
Davide Casale
d37faf1b52
Fix bug in examples order_book.py and raw_order_book.py.
2023-12-19 17:07:03 +01:00
Vigan Abdurrahmani
47777304ab
Merge pull request #231 from Davi0kProgramsThings/v3.0.0b5
...
Merge branch `Davi0kProgramsThings:v3.0.0b5` into branch `bitfinexcom:master`.
2023-12-14 19:29:30 +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
2ad950d397
Fix bug in order_book.py and raw_order_book.py examples.
2023-12-14 19:18:57 +01:00
Davide Casale
97bad7f4fb
Fix low latency bug in public method BfxWebSocketBucket::start.
2023-12-14 18:35:00 +01:00
Vigan Abdurrahmani
9114e2ceec
Merge pull request #230 from Davi0kProgramsThings/v3.0.0b4
...
Merge branch `Davi0kProgramsThings:v3.0.0b4` into branch `bitfinexcom:master`.
2023-12-12 16:03:45 +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
Vigan Abdurrahmani
90bba4e06c
Merge pull request #228 from Davi0kProgramsThings/v3.0.0b3
...
Merge branch `Davi0kProgramsThings:v3.0.0b3` into branch `bitfinexcom:master`.
2023-11-23 14:38:41 +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
afca5e306b
Add support for Python 3.11 (edit setup.py).
2023-10-26 18:07:18 +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
1accf92c57
Rewrite all websocket examples according to v3.0.0b3's changes.
2023-10-26 17:59:44 +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
1e7a4d5371
Upgrade dependencies in requirements.txt and dev-requirements.txt.
2023-10-26 07:21:36 +02:00