Commit Graph

  • faffb7fe82 Add and implement new IncompleteCredentialError in bfxapi.client. Davide Casale 2023-06-23 17:27:25 +02:00
  • 755ee767a8 Improve bfxapi._utils.logger (and update usage in Client). Davide Casale 2023-06-23 17:08:54 +02:00
  • e281f7be9e Merge pull request #223 from Davi0kProgramsThings/master Vigan Abdurrahmani 2023-06-23 09:42:47 +02:00
  • bae48b2901 Improve wss_timeout implementation in BfxWebSocketClient. Davide Casale 2023-06-20 18:27:22 +02:00
  • 9edbd7a415 Rename bfxapi.utils to _utils (and update references). Davide Casale 2023-06-19 05:02:04 +02:00
  • f1e678e043 Add type hinting support to bfxapi.websocket.client.bfx_websocket_client. Davide Casale 2023-06-19 04:57:33 +02:00
  • 8b196b8f9c Add type hinting support to bfxapi.websocket.client.bfx_websocket_bucket. Davide Casale 2023-06-18 17:44:09 +02:00
  • 080ec40395 Add sub-package bfxapi.websocket._event_emitter (with bfx_event_emitter.py). Davide Casale 2023-06-18 03:56:07 +02:00
  • 1d911a250c Rename bfxapi.websocket.client to _client and bfxapi.websocket.handlers to _handlers (according to PEP8). Davide Casale 2023-06-18 01:02:59 +02:00
  • fc84389564 Remove support for BfxWebSocketClient's instance variable events_for_subscription. Davide Casale 2023-06-18 00:54:56 +02:00
  • d9733e8d38 Change visibility of decorators require_websocket_connection and require_websocket_authentication (and hardcode HEARTBEAT). Davide Casale 2023-06-17 22:24:27 +02:00
  • b12fedb7a3 Replace use of asyncio.locks.Event with asyncio.locks.Condition in bfx_websocket_bucket.py. Davide Casale 2023-06-17 22:20:31 +02:00
  • cc5f9f5b0e Remove type hinting for decorators _require_websocket_connection and _require_websocket_authentication. Davide Casale 2023-06-12 16:17:45 +02:00
  • d63c2c63c3 Rename RestAuthenticatedEndpoints to RestAuthEndpoints (and bfxapi.rest.endpoints.rest_authenticated_endpoints to rest_auth_endpoints). Davide Casale 2023-06-12 15:45:28 +02:00
  • f343fce20f Fix comment on top of examples in both examples.rest.auth and examples.websocket.auth. Davide Casale 2023-06-12 15:42:52 +02:00
  • 708fdc87c7 Add new event liquidation_feed_update to PublicChannelsHandler (and improve overall type hinting). Davide Casale 2023-06-12 15:37:05 +02:00
  • 62db74c208 Switch from branch v3-beta to master in .github/workflows/bitfinex-api-py-ci.yml. Davide Casale 2023-06-02 18:53:49 +02:00
  • 7059846843 Remove support for datetime type and improve typing in several files. Davide Casale 2023-05-26 18:48:27 +02:00
  • bc0f83d408 Improve JSONEncoder class in bfxapi.utils.json_encoder. Davide Casale 2023-05-26 18:02:41 +02:00
  • dbc61ab275 Add type hints and type checks in bfxapi.websocket.client.bfx_websocket_inputs. Davide Casale 2023-05-25 20:40:31 +02:00
  • c8290f144b Upgrade to Mypy 1.3.0 (old: 0.991). Fix compatibility problems with Mypy. Add type hints to bfxapi.websocket.handlers. Davide Casale 2023-05-19 22:13:15 +02:00
  • 57680abd06 Rename bfxapi.websocket.handlers.authenticated_events_handler to auth_events_handler (AuthenticatedEventsHandler -> AuthEventsHandler). Davide Casale 2023-05-19 15:43:35 +02:00
  • 59a0dca66e Improve and rewrite bfxapi.websocket.subscriptions. Davide Casale 2023-05-19 15:37:03 +02:00
  • 8d0df0f3c2 Merge pull request #220 from Davi0kProgramsThings/feature/documentation Vigan Abdurrahmani 2023-04-26 17:08:40 +02:00
  • 353b433247 Update package version to 3.0.0b2. Davide Casale 2023-04-26 17:06:19 +02:00
  • e353993b34 Merge pull request #219 from Davi0kProgramsThings/feature/improvements Vigan Abdurrahmani 2023-04-26 17:03:34 +02:00
  • 65eba2ad92 exclude generated MANIFEST vigan-abd 2023-04-26 17:00:15 +02:00
  • c99ac502e6 license fix vigan-abd 2023-04-26 16:59:10 +02:00
  • ad5f323ff5 Fix small bug in examples/websocket/auth/wallets.py. Davide Casale 2023-04-20 15:54:43 +02:00
  • 03a03c6107 Delete HandlerNotFound exception (from bfxapi.websocket.exceptions). Davide Casale 2023-04-20 15:49:46 +02:00
  • 63ab433710 Apply refactoring to some relative import directives. Davide Casale 2023-04-20 15:38:10 +02:00
  • eeb6e975f4 Fix bug in code blocks inside README.md. Davide Casale 2023-04-20 04:08:36 +02:00
  • d7ce5630ef Rewrite bfxapi.tests according to latest changes. Davide Casale 2023-04-20 03:49:54 +02:00
  • 0f9fa1bf6a Merge bfxapi.rest.types and bfxapi.websocket.types in bfxapi.tests sub-package. Davide Casale 2023-04-20 03:44:13 +02:00
  • 34a1b0099e Improve some endpoints in RestPublicEndpoints (bfxapi.rest.endpoints.rest_public_endpoints). Davide Casale 2023-04-20 02:45:33 +02:00
  • 6f207010e8 Remove bfxapi.utils.camel_and_snake_case_helpers and move code to bfxapi.rest.endpoints.rest_merchant_endpoints. Davide Casale 2023-04-20 02:02:57 +02:00
  • 4edbf5d44c Change event trade_executed to trade_execution (and update references). Davide Casale 2023-04-20 01:43:44 +02:00
  • 1f9d1b719e Fix bug in bfxapi.websocket.subscriptions. Davide Casale 2023-04-20 01:41:08 +02:00
  • d80b8b8721 Rename BfxWebsocketClient, BfxWebsocketBucket and BfxWebsocketInputs to BfxWebSocketClient, BfxWebSocketBucket and BfxWebSocketInputs. Davide Casale 2023-04-20 01:36:09 +02:00
  • 99783c1a5a Allow wss_timeout=None to disable timeout on reconnection. Davide Casale 2023-04-20 01:26:25 +02:00
  • 92d6630013 Remove oc_multi-notification event from AuthenticatedEventsHandler (bfxapi.websocket.handlers.authenticated_events_handler). Davide Casale 2023-04-20 01:06:54 +02:00
  • 7231c48465 Improve log messages on reconnection in BfxWebsocketClient (bfxapi.websocket.client.bfx_websocket_client). Davide Casale 2023-04-20 01:04:43 +02:00
  • 7f788dd239 Improve reconnections by not emitting againg once events. Davide Casale 2023-04-19 18:05:27 +02:00
  • 3de6eee337 Rename AuthenticatedChannelsHandler to AuthenticatedEventsHandler (and bfxapi.websocket.handlers.authenticated_channels_handler to authenticated_events_handler). Davide Casale 2023-04-19 04:29:26 +02:00
  • 3d9e7c7b25 Remove BfxWebsocketClient::once. Replace all occurrences with BfxWebsocketClient::on. Add BfxWebsocketClient::ONCE_EVENTS class variable. Davide Casale 2023-04-19 04:20:53 +02:00
  • 3441d2af2f Emit on_disconnection event on connection close in BfxWebsocketClient. Davide Casale 2023-04-19 03:53:33 +02:00
  • 986aa525d7 Change wss_timeout type from int to float. Davide Casale 2023-04-19 03:29:45 +02:00
  • e15b52eabd Fix bug in BfxWebsocketClient::close (bfxapi.websocket.client.bfx_websocket_client). Davide Casale 2023-04-16 21:16:18 +02:00
  • 6d868a8287 Fix bug about wss_timeout by changing reconnection logic (in BfxWebsocketClient and BfxWebsocketBucket). Davide Casale 2023-04-16 21:01:36 +02:00
  • 734375ec9f Add and implement wss_timeout in BfxWebsocketClient (and Client). Davide Casale 2023-04-16 20:04:46 +02:00
  • e6b5b329d5 Rewrite Features sub-paragraph in README.md. Davide Casale 2023-04-16 18:11:37 +02:00
  • 0f95a4ce27 Write Examples sub-section and Creating a new order paragraph in README.md. Davide Casale 2023-04-16 08:58:36 +02:00
  • 75d4787bbe Write Quickstart section in README.md. Davide Casale 2023-04-16 08:08:57 +02:00
  • 82599e1ffb Finish writing How to contribute section in README.md. Davide Casale 2023-04-14 22:05:55 +02:00
  • a1a013fef8 Move Building from source code in How to contribute section in README.md. Davide Casale 2023-04-14 04:50:33 +02:00
  • 51b4d2c181 Add and write new Building from source code section in README.md. Davide Casale 2023-04-13 17:29:53 +02:00
  • 1333e80a8c Improve readability for some paragraphs in README.md documentation. Davide Casale 2023-04-12 03:12:36 +02:00
  • d78c90faa8 Add Authentication paragraph and Filtering sub-paragraph to README.md documentation. Davide Casale 2023-04-11 05:23:50 +02:00
  • 4a9c9b1ac7 Add Unsubscribing from a public channel sub-paragraph to README.md. Davide Casale 2023-04-08 03:27:17 +02:00
  • 4b1c182870 Merge pull request #216 from Davi0kProgramsThings/master Vigan Abdurrahmani 2023-04-07 10:49:03 +02:00
  • 7a9a57e878 Edit Subscribing to public channels paragraph in README.md. Davide Casale 2023-04-07 00:54:41 +02:00
  • 2d0fabde20 Add new paragraphs to the documentation in README.md. Davide Casale 2023-04-05 23:17:47 +02:00
  • a275e1d163 Add new paragraphs to documentation in README.md. Davide Casale 2023-03-26 19:35:19 +02:00
  • f3843abe8e Extend documentation in README.md. Davide Casale 2023-03-26 06:24:47 +02:00
  • 4a9dc7bb62 Edit README.md adding new paragraphs. Davide Casale 2023-03-24 04:12:17 +01:00
  • 4f43d54795 Start writing brief documentation in README.md. Davide Casale 2023-03-22 21:37:54 +01:00
  • 34f583cfff Add bfxapi/version.py to contain the package version. Davide Casale 2023-03-22 21:24:44 +01:00
  • 275cff6a2a Add CODE_OF_CONDUCT.md in root folder. Davide Casale 2023-03-20 18:32:48 +01:00
  • 41fd46dec7 Align code with new Bitfinex API documentation improvements. Davide Casale 2023-03-14 20:58:56 +01:00
  • 464d942fb0 Replace BfxWebsocketClient::on_open_events with BfxWebsocketBucket::on_open_event field. Davide Casale 2023-03-14 19:16:12 +01:00
  • 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. Davide Casale 2023-03-14 19:03:05 +01:00
  • 98c3e4f352 Change branch from feature/ci-cd to v3-beta in .github/workflows/bitfinex-api-py-ci.yml. Davide Casale 2023-03-09 18:37:13 +01:00
  • dbbe625369 Merge pull request #4 from Davi0kProgramsThings/feature/ci-cd Davide Casale 2023-03-09 18:33:28 +01:00
  • e8c7374cf2 Fix bug in .github/workflows/bitfinex-api-py-ci.yml. Davide Casale 2023-03-09 18:06:46 +01:00
  • 87bc19da48 Add .travis.yml for Travis-CI support. Davide Casale 2023-03-09 18:06:04 +01:00
  • e99230b0cb Add .github/workflows/bitfinex-api-py-ci.yml workflow for Github Actions. Davide Casale 2023-03-09 18:05:28 +01:00
  • 0157433664 Merge pull request #3 from Davi0kProgramsThings/fix/pylint Davide Casale 2023-03-08 22:08:43 +01:00
  • 1bb3c95eff Apply refactoring to .pylintrc file. Davide Casale 2023-03-08 22:08:22 +01:00
  • ac08071ab1 Add pylint to .github/PULL_REQUEST_TEMPLATE.md's checklist. Davide Casale 2023-03-08 22:00:50 +01:00
  • bba1493043 Apply pylint's linting rules to setup.py. Davide Casale 2023-03-08 21:50:41 +01:00
  • d04ebb96d5 Apply pylint's linting rules to examples/websocket/public/*.py. Davide Casale 2023-03-08 21:36:25 +01:00
  • 834a664034 Apply pylint's linting rules to examples/websocket/authenticated/*.py. Davide Casale 2023-03-08 21:28:32 +01:00
  • b0da5e2fb1 Apply pylint's linting rules to examples/rest/public/*.py. Davide Casale 2023-03-08 21:27:46 +01:00
  • 7311ffae4f Apply pylint's linting rules to examples/rest/merchant/*.py. Davide Casale 2023-03-08 19:40:06 +01:00
  • 88c016e1f8 Apply pylint's linting rules to examples/rest/authenticated/*.py. Davide Casale 2023-03-08 19:39:00 +01:00
  • 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. Davide Casale 2023-03-08 19:31:48 +01:00
  • 87ea765281 Apply refactoring with pylint to bfxapi.rest.endpoints sub-package. Davide Casale 2023-03-08 18:32:03 +01:00
  • 0ee8a8ab29 Edit .pylintrc with new rules. Davide Casale 2023-03-08 16:50:16 +01:00
  • 894391256d Rewrite long strings using \ instead of + (concatenation). Davide Casale 2023-03-08 16:30:52 +01:00
  • 88e6c79532 Add #pylint: disable=duplicate-code comment in serializers.py and types.py (both rest and websocket). Davide Casale 2023-03-07 18:14:50 +01:00
  • 844c2526b9 Apply pylint's linting rules to bfxapi/rest/endpoints/rest_merchant_endpoints.py. Davide Casale 2023-03-07 18:12:32 +01:00
  • 06482ea3d3 Apply pylint's linting rules to bfxapi/rest/endpoints/rest_authenticated_endpoints.py. Davide Casale 2023-03-07 18:02:26 +01:00
  • 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. Davide Casale 2023-03-07 15:42:27 +01:00
  • 9e566bbc5a Switch from max-line-length=130 to more standard max-line-length=120 in .pylintrc. Davide Casale 2023-03-07 15:28:02 +01:00
  • 08af0c8c90 Add .github folder. Add ISSUE_TEMPLATE.md and PULL_REQUEST_TEMPLATE.md. Davide Casale 2023-03-06 19:09:32 +01:00
  • af25f25d3b Apply pylint's linting rules to bfxapi/tests/*.py. Davide Casale 2023-03-06 18:49:22 +01:00
  • 5c707d7929 Apply pylint's linting rules to bfxapi/websocket/client/*.py. Davide Casale 2023-03-06 18:46:04 +01:00
  • 7e627dd239 Apply pylint's linting rules to bfxapi/websocket/handlers/*.py. Davide Casale 2023-03-06 17:53:54 +01:00
  • 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. Davide Casale 2023-03-06 17:28:56 +01:00
  • 7288d05939 Apply pylint's linting rules to bfxapi/utils/*.py. Davide Casale 2023-03-06 17:22:00 +01:00