Davide Casale
0f9fa1bf6a
Merge bfxapi.rest.types and bfxapi.websocket.types in bfxapi.tests sub-package.
2023-04-20 03:44:13 +02:00
Davide Casale
34a1b0099e
Improve some endpoints in RestPublicEndpoints (bfxapi.rest.endpoints.rest_public_endpoints).
2023-04-20 02:45:33 +02:00
Davide Casale
6f207010e8
Remove bfxapi.utils.camel_and_snake_case_helpers and move code to bfxapi.rest.endpoints.rest_merchant_endpoints.
2023-04-20 02:02:57 +02:00
Davide Casale
4edbf5d44c
Change event trade_executed to trade_execution (and update references).
2023-04-20 01:43:44 +02:00
Davide Casale
1f9d1b719e
Fix bug in bfxapi.websocket.subscriptions.
2023-04-20 01:41:08 +02:00
Davide Casale
d80b8b8721
Rename BfxWebsocketClient, BfxWebsocketBucket and BfxWebsocketInputs to BfxWebSocketClient, BfxWebSocketBucket and BfxWebSocketInputs.
2023-04-20 01:36:09 +02:00
Davide Casale
99783c1a5a
Allow wss_timeout=None to disable timeout on reconnection.
2023-04-20 01:26:25 +02:00
Davide Casale
92d6630013
Remove oc_multi-notification event from AuthenticatedEventsHandler (bfxapi.websocket.handlers.authenticated_events_handler).
2023-04-20 01:06:54 +02:00
Davide Casale
7231c48465
Improve log messages on reconnection in BfxWebsocketClient (bfxapi.websocket.client.bfx_websocket_client).
2023-04-20 01:04:43 +02:00
Davide Casale
7f788dd239
Improve reconnections by not emitting againg once events.
2023-04-19 18:05:27 +02:00
Davide Casale
3de6eee337
Rename AuthenticatedChannelsHandler to AuthenticatedEventsHandler (and bfxapi.websocket.handlers.authenticated_channels_handler to authenticated_events_handler).
2023-04-19 04:29:26 +02:00
Davide Casale
3d9e7c7b25
Remove BfxWebsocketClient::once. Replace all occurrences with BfxWebsocketClient::on. Add BfxWebsocketClient::ONCE_EVENTS class variable.
2023-04-19 04:20:53 +02:00
Davide Casale
3441d2af2f
Emit on_disconnection event on connection close in BfxWebsocketClient.
2023-04-19 03:53:33 +02:00
Davide Casale
986aa525d7
Change wss_timeout type from int to float.
2023-04-19 03:29:45 +02:00
Davide Casale
e15b52eabd
Fix bug in BfxWebsocketClient::close (bfxapi.websocket.client.bfx_websocket_client).
2023-04-16 21:16:18 +02:00
Davide Casale
6d868a8287
Fix bug about wss_timeout by changing reconnection logic (in BfxWebsocketClient and BfxWebsocketBucket).
2023-04-16 21:01:36 +02:00
Davide Casale
734375ec9f
Add and implement wss_timeout in BfxWebsocketClient (and Client).
2023-04-16 20:04:46 +02:00
Davide Casale
7a9a57e878
Edit Subscribing to public channels paragraph in README.md.
2023-04-07 00:54:41 +02:00
Davide Casale
2d0fabde20
Add new paragraphs to the documentation in README.md.
2023-04-05 23:17:47 +02:00
Davide Casale
a275e1d163
Add new paragraphs to documentation in README.md.
2023-03-26 19:35:19 +02:00
Davide Casale
f3843abe8e
Extend documentation in README.md.
2023-03-26 06:24:47 +02:00
Davide Casale
4a9dc7bb62
Edit README.md adding new paragraphs.
2023-03-24 04:12:17 +01:00
Davide Casale
4f43d54795
Start writing brief documentation in README.md.
2023-03-22 21:37:54 +01:00
Davide Casale
34f583cfff
Add bfxapi/version.py to contain the package version.
2023-03-22 21:26:09 +01:00
Davide Casale
275cff6a2a
Add CODE_OF_CONDUCT.md in root folder.
2023-03-20 18:32:48 +01:00
Davide Casale
41fd46dec7
Align code with new Bitfinex API documentation improvements.
2023-03-14 20:58:56 +01:00
Davide Casale
464d942fb0
Replace BfxWebsocketClient::on_open_events with BfxWebsocketBucket::on_open_event field.
2023-03-14 19:16:12 +01:00
Davide Casale
249f19fe41
Add ZeroConnectionsError in bfxapi.websocket.exceptions. Add log if connections = 0 in BfxWebsocketClient::start. Add raise ZeroConnectionError in BfxWebsocketClient::subscribe if connections equals 0.
2023-03-14 19:03:05 +01:00
Davide Casale
98c3e4f352
Change branch from feature/ci-cd to v3-beta in .github/workflows/bitfinex-api-py-ci.yml.
2023-03-09 18:37:13 +01:00
Davide Casale
dbbe625369
Merge pull request #4 from Davi0kProgramsThings/feature/ci-cd
...
Merge branch `feature/ci-cd` into branch `master`.
2023-03-09 18:33:28 +01:00
Davide Casale
e8c7374cf2
Fix bug in .github/workflows/bitfinex-api-py-ci.yml.
2023-03-09 18:13:35 +01:00
Davide Casale
87bc19da48
Add .travis.yml for Travis-CI support.
2023-03-09 18:06:04 +01:00
Davide Casale
e99230b0cb
Add .github/workflows/bitfinex-api-py-ci.yml workflow for Github Actions.
2023-03-09 18:05:28 +01:00
Davide Casale
0157433664
Merge pull request #3 from Davi0kProgramsThings/fix/pylint
...
Merge branch `fix/pylint` in branch `master`.
2023-03-08 22:08:43 +01:00
Davide Casale
1bb3c95eff
Apply refactoring to .pylintrc file.
2023-03-08 22:08:22 +01:00
Davide Casale
ac08071ab1
Add pylint to .github/PULL_REQUEST_TEMPLATE.md's checklist.
2023-03-08 22:00:50 +01:00
Davide Casale
bba1493043
Apply pylint's linting rules to setup.py.
2023-03-08 21:50:41 +01:00
Davide Casale
d04ebb96d5
Apply pylint's linting rules to examples/websocket/public/*.py.
2023-03-08 21:36:25 +01:00
Davide Casale
834a664034
Apply pylint's linting rules to examples/websocket/authenticated/*.py.
2023-03-08 21:28:32 +01:00
Davide Casale
b0da5e2fb1
Apply pylint's linting rules to examples/rest/public/*.py.
2023-03-08 21:27:46 +01:00
Davide Casale
7311ffae4f
Apply pylint's linting rules to examples/rest/merchant/*.py.
2023-03-08 19:40:06 +01:00
Davide Casale
88c016e1f8
Apply pylint's linting rules to examples/rest/authenticated/*.py.
2023-03-08 19:39:00 +01:00
Davide Casale
bd09cc4ae4
Remove skip parameter in _Serializer::parse, add flat argument in _Serializer::__init__. Add _Serializer::__flatten class method. Fix small bugs in bfxapi.rest.endpoints.rest_public_endpoints and bfxapi.rest.endpoints.rest_authenticated_endpoints.
2023-03-08 19:31:48 +01:00
Davide Casale
87ea765281
Apply refactoring with pylint to bfxapi.rest.endpoints sub-package.
2023-03-08 18:32:03 +01:00
Davide Casale
0ee8a8ab29
Edit .pylintrc with new rules.
2023-03-08 16:50:16 +01:00
Davide Casale
894391256d
Rewrite long strings using \ instead of + (concatenation).
2023-03-08 16:30:52 +01:00
Davide Casale
88e6c79532
Add #pylint: disable=duplicate-code comment in serializers.py and types.py (both rest and websocket).
2023-03-07 18:14:50 +01:00
Davide Casale
844c2526b9
Apply pylint's linting rules to bfxapi/rest/endpoints/rest_merchant_endpoints.py.
2023-03-07 18:12:32 +01:00
Davide Casale
06482ea3d3
Apply pylint's linting rules to bfxapi/rest/endpoints/rest_authenticated_endpoints.py.
2023-03-07 18:02:26 +01:00
Davide Casale
9e1b336a67
Move _Delay local class in global scope (bfxapi.websocket.client.bfx_websocket_client).
...
Apply pylint's linting rules to bfxapi/rest/__init__.py, bfxapi/rest/enums.py, bfxapi/rest/exceptions.py, bfxapi/rest/serializers.py and bfxapi/rest/types.py."
Apply pylint's linting rules to bfxapi/rest/endpoints/__init__.py, bfxapi/rest/endpoints/bfx_rest_interface.py and bfxapi/rest/endpoints/rest_public_endpoints.py.
2023-03-07 17:08:37 +01:00