Commit Graph

733 Commits

Author SHA1 Message Date
Davide Casale
5c707d7929 Apply pylint's linting rules to bfxapi/websocket/client/*.py. 2023-03-06 18:46:04 +01:00
Davide Casale
7e627dd239 Apply pylint's linting rules to bfxapi/websocket/handlers/*.py. 2023-03-06 17:53:54 +01:00
Davide Casale
a7f5aa684a Apply pylint's linting rules to bfxapi/websocket/__init__.py, bfxapi/websocket/enums.py, bfxapi/websocket/exceptions.py, bfxapi/websocket/serializers.py and bfxapi/websocket/subscriptions.py. 2023-03-06 17:28:56 +01:00
Davide Casale
7288d05939 Apply pylint's linting rules to bfxapi/utils/*.py. 2023-03-06 17:22:00 +01:00
Davide Casale
ae14a5d0d1 Apply pylint's linting rules to bfxapi/__init__.py, bfxapi/enums.py, bfxapi/exceptions.py, bfxapi/labeler.py, bfxapi/notification.py and bfxapi/urls.py. 2023-03-06 17:14:03 +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
6c99d3aacf Add dev-requirements.txt. Split requirements between requirements.txt and dev-requirements.txt. Change install_requires in setup.py. 2023-03-06 16:03:08 +01:00
Davide Casale
b3e1e27331 Add and implement FileLogger in bfxapi.utils.logger. 2023-03-03 21:12:34 +01:00
Davide Casale
3645c6badd Add .vscode, *.pyc and *.log in .gitignore. 2023-03-03 20:17:58 +01:00
Davide Casale
dc17b8f54a Remove STAGING_REST_HOST and STAGING_WSS_HOST urls from bfxapi/urls.py. 2023-03-03 20:14:51 +01:00
Davide Casale
5f2c2e25e9 Merge pull request #2 from Davi0kProgramsThings/feature/add-missing-endpoints
Merge branch `feature/add-missing-endpoints` into branch `master`.
2023-03-03 20:06:02 +01:00
Davide Casale
7562b21ada settings
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-03-03 20:03:23 +01:00
Davide Casale
0300e6261a get invoices paginated
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-03-03 18:30:25 +01:00
itsdeka
b06476e0d4 nonce must be str 2023-03-03 15:53:06 +01:00
Davide Casale
8266898212 Merge branch v3-beta in branch master. 2023-02-23 17:08:24 +01:00
Davide Casale
846cec1dcd Merge pull request #2 from Davi0k/fix/examples
Merge branch `fix/examples` in branch `master`.
2023-02-20 18:30:18 +01:00
Davide Casale
442155b48e Rename .notify_info to .data in Notification (bfxapi.notifications). 2023-02-20 18:29:08 +01:00
Davide Casale
6f61b983a5 Rewrite, edit and organize examples/websocket demos. 2023-02-20 18:22:57 +01:00
Davide Casale
cec9d6ba68 Rewrite, edit and organize examples/rest demos. 2023-02-20 18:11:10 +01:00
Davide Casale
e3eb3d6a56 Merge pull request #1 from itsdeka/patch-1
Nonce generation must be the same of the previous version.
2023-02-20 15:23:05 +01:00
Dario Moceri
3c760eacf6 Nonce generation must be the same of the previous version 2023-02-20 11:14:34 +01:00
Davide Casale
5914d7fa8c Add dist to .gitignore file. 2023-02-17 20:50:31 +01:00
Davide Casale
4b9364b318 Merge pull request #36 from Davi0kProgramsThings/feature/rest
Merge branch `feature/rest` in branch `master`.
2023-02-17 20:27:31 +01:00
Davide Casale
21117f62d0 Merge pull request #35 from Davi0kProgramsThings/fix/refactoring
Merge branch `fix/refactoring` in branch `feature/rest`.
2023-02-17 20:26:43 +01:00
Davide Casale
f4c6a21ef4 Ws examples
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-17 20:23:59 +01:00
Vigan Abdurrahmani
0079580180 Merge pull request #215 from itsdeka/add-id-to-parse-trade
Added id field to _parse_trade
2023-02-17 19:17:56 +01:00
Vigan Abdurrahmani
21688ec990 Merge branch 'master' into add-id-to-parse-trade 2023-02-17 19:17:13 +01:00
Davide Casale
32a179fc00 Add LICENSE.md file (Apache-V2). Edit setup.py with new arguments. Prepare to distribute on PyPI. 2023-02-17 19:08:59 +01:00
Davide Casale
ab66170cf3 Apply refactoring to root package bfxapi. 2023-02-17 18:38:07 +01:00
Davide Casale
d72fcf3981 Add better handling for info code 20051. 2023-02-17 17:21:57 +01:00
Vigan Abdurrahmani
a5bdcc16ef Merge pull request #211 from itsdeka/fix-withdraw-fees
Fix withdraw fees
2023-02-17 15:46:00 +01:00
itsdeka
7f3b62c6b6 use correct index 2023-02-17 15:16:32 +01:00
itsdeka
55f4765271 Added id field to _parse_trade 2023-02-17 11:35:15 +01:00
Davide Casale
16d0ee525e Remove test_rest_serializers_and_types.py and test_websocket_serializers_and_types.py. Add new test_rest_serializers.py and test_websocket_serializers.py unit tests. Edit bfxapi.tests.__init__.py's test suite. 2023-02-17 04:29:26 +01:00
Davide Casale
fde27e933f Add handling for <20051 : Stop/Restart Websocket Server (please reconnect)>. 2023-02-17 04:15:38 +01:00
Davide Casale
9eb2c73407 Fix small bug in examples/websocket/ticker.py demo. 2023-02-17 04:07:44 +01:00
Davide Casale
4d0fa49e22 Rewrite bfxapi/utils/logger.py with new ColoredLogger. 2023-02-17 04:01:47 +01:00
Davide Casale
e536515bbd Fix bugs and rewrite code in bfxapi.websocket.client sub-package. 2023-02-17 02:58:53 +01:00
Davide Casale
b8a5bcb515 Fix bugs and rewrite regions of new reconnection system. 2023-02-16 20:12:02 +01:00
Davide Casale
fa9bdfc333 Rewrite reconnection system with numerous fixes. 2023-02-15 21:58:01 +01:00
Davide Casale
99f58ddb04 Add new packages to setup.py. Add new feature in .on and .once methods in bfxapi.websocket.client.bfx_websocket_client. Fix small typo in __init__.py. 2023-02-14 18:49:45 +01:00
Davide Casale
49517f9709 Small fix in package import statements. 2023-02-14 17:03:16 +01:00
Davide Casale
17c9502733 Apply fixes and refactoring to the bfxapi.handlers sub-package. 2023-02-14 16:29:50 +01:00
Davide Casale
f0f150cec2 Split websocket package in multiple sub-package. Split handlers.py in public_channels_handler.py and authenticated_channels_handler.py. Rename files attaining to new conventions. 2023-02-13 19:09:38 +01:00
Davide Casale
6a7577f98b Remove Optional typing in bfxapi.rest.types. 2023-02-13 17:32:46 +01:00
Davide Casale
821541134a Fix bug and refactor code in bfxapi.rest.types sub-package. 2023-02-13 17:29:35 +01:00
Davide Casale
39f317ba40 Rename bfxapi.utils.camel_and_snake_case_adapters to bfxapi.utils.camel_and_snake_case_helpers. 2023-02-13 16:22:39 +01:00
Davide Casale
f0d14a230f Fix bug in bfxapi.rest.endpoints.merchant sub-package. 2023-02-12 23:27:26 +01:00
Davide Casale
e5b0c1af9c Move merchant endpoints in bfxapi.rest.endpoints.rest_merchant_endpoints sub-package. 2023-02-12 22:09:44 +01:00
Davide Casale
52bc475971 add currency endpoints
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-12 22:03:10 +01:00