Commit Graph

73 Commits

Author SHA1 Message Date
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
Davide Casale
6e96cda584 Edit demos in examples/ folder to use lowercase property identifiers. 2023-01-27 16:00:22 +01:00
itsdeka
48433fbb01 derivatives 2023-01-26 18:09:04 +01:00
itsdeka
ca91588067 cancel all funding offers 2023-01-26 18:02:29 +01:00
itsdeka
4fbe1b89c6 positions endpoint 2023-01-26 18:02:26 +01:00
itsdeka
3565811ec9 position history 2023-01-26 17:58:18 +01:00
itsdeka
374f65d660 increase position 2023-01-26 17:52:07 +01:00
Davide Casale
05827ff5d1 Change comment line in all examples/folder demos. 2023-01-25 18:33:27 +01:00
Davide Casale
0278825d35 add endpoints, minor fixs, use format instead of str
Co-authored-by: itsdeka <dario.moceri@bitfinex.com>
2023-01-25 18:29:29 +01:00
itsdeka
8047e3609d rename subdata to sub_data, add margin info endpoints 2023-01-24 19:00:55 +01:00
itsdeka
01c8192d10 fx rate 2023-01-24 18:42:47 +01:00
itsdeka
02a2e962d3 Add support to new calculation endpoints. 2023-01-24 18:37:52 +01:00