Commit Graph

84 Commits

Author SHA1 Message Date
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
38dbff1141 Apply black to all python files (bfxapi/**/*.py). 2024-02-26 19:43:14 +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
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
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
e5ec94b757 Remove wss-event event from BfxWebSocketClient and BfxWebSocketBucket. 2023-10-13 17:38:25 +02:00
Davide Casale
5ae576e36a Fix and rewrite all logic in class BfxWebSocketBucket. 2023-10-09 04:57:17 +02:00
Davide Casale
f6c49f677d Remove block for negative checksums (and replace crcmod with native zlip module). 2023-10-08 19:08:18 +02:00
Davide Casale
875d1d61e0 Add order book checksum handling in /examples/websocket/public/raw_order_book.py. 2023-10-08 19:08:18 +02:00
Davide Casale
3a06b22247 Add order book checksum handling in /examples/websocket/public/order_book.py. 2023-10-08 19:08:18 +02:00
Davide Casale
f343fce20f Fix comment on top of examples in both examples.rest.auth and examples.websocket.auth. 2023-06-12 15:42:52 +02:00
Davide Casale
ad5f323ff5 Fix small bug in examples/websocket/auth/wallets.py. 2023-04-20 15:54:43 +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
Davide Casale
4edbf5d44c Change event trade_executed to trade_execution (and update references). 2023-04-20 01:43:44 +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
41fd46dec7 Align code with new Bitfinex API documentation improvements. 2023-03-14 20:58:56 +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
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
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
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
f4c6a21ef4 Ws examples
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-17 20:23:59 +01:00
Davide Casale
ab66170cf3 Apply refactoring to root package bfxapi. 2023-02-17 18:38:07 +01:00
Davide Casale
9eb2c73407 Fix small bug in examples/websocket/ticker.py demo. 2023-02-17 04:07:44 +01:00
Davide Casale
fa9bdfc333 Rewrite reconnection system with numerous fixes. 2023-02-15 21:58:01 +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
917a4a8367 add Payment
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-12 22:01:12 +01:00
Davide Casale
c41c00259f add endpoints
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-12 21:45:01 +01:00
Davide Casale
3c377928b2 fix errors merchant
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-12 21:41:33 +01:00
Davide Casale
9ada3b05a2 Fix bug in submit_invoice method (bfxapi.rest.endpoints.rest_authenticated_endpoints). 2023-02-12 21:29:06 +01:00
Davide Casale
7e421d3803 Fix bug in examples/rest/merchant.py demo. 2023-02-10 04:47:03 +01:00
Davide Casale
180e92fcb4 merchant
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-02-10 04:27:35 +01:00
itsdeka
48583786f7 login history + balance available 2023-02-09 03:33:03 +01:00
itsdeka
15a2e41e43 user info + fixs 2023-02-09 03:27:15 +01:00
Davide Casale
851521c63f Remove bfxapi/utils/flags.py file from bfxapi.utils sub-package. 2023-02-07 19:00:50 +01:00
Davide Casale
0dd6fa9dbb Reorder and rename some method inside _RestAuthenticatedEndpoints class. 2023-02-01 18:00:00 +01:00
Davide Casale
0ddbd6e76e funding trades
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-01-30 17:36:50 +01:00
Davide Casale
b9850fa451 funding info
Co-Authored-By: itsdeka <dario.moceri@bitfinex.com>
2023-01-30 17:31:07 +01:00
itsdeka
01d638cf9c keep taken funding 2023-01-30 17:23:43 +01:00
itsdeka
0ac14dfeb5 funding auto renew 2023-01-30 16:40:31 +01:00
itsdeka
374739b656 return taken funding 2023-01-30 16:34:55 +01:00
itsdeka
0dd23b3ba5 fix example 2023-01-30 13:12:06 +01:00
Davide Casale
2fc31db7a3 Add get_funding_loans and get_funding_loans_history endpoints to _RestAuthenticatedEndpoints.py. 2023-01-27 17:23:41 +01:00