53 Commits

Author SHA1 Message Date
Davide Casale
38dbff1141 Apply black to all python files (bfxapi/**/*.py). 2024-02-26 19:43:14 +01: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
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
0f9fa1bf6a Merge bfxapi.rest.types and bfxapi.websocket.types in bfxapi.tests sub-package. 2023-04-20 03:44:13 +02:00
Davide Casale
41fd46dec7 Align code with new Bitfinex API documentation improvements. 2023-03-14 20:58:56 +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
cec9d6ba68 Rewrite, edit and organize examples/rest demos. 2023-02-20 18:11:10 +01:00
Davide Casale
ab66170cf3 Apply refactoring to root package bfxapi. 2023-02-17 18:38:07 +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
itsdeka
ae42fb7d93 Add _RecursiveSerializer class in bfxapi/labeler.py file. Add support to new pulse endpoints (with serializers and types). Add examples/rest/get_pulse_data.py demo. 2023-01-24 18:16:11 +01:00
itsdeka
430f7be51d add wallet deposit/transfer 2023-01-18 17:23:53 +01:00
itsdeka
7ea8b5ae1c add seed candles 2023-01-18 16:17:03 +01:00
itsdeka
061ca22752 add seed candles 2023-01-17 12:40:09 +01:00
itsdeka
89c921335c Use namespace 2023-01-17 12:13:06 +01:00
itsdeka
e9ef39c1d6 add rest examples 2023-01-15 23:19:09 +01:00
Davide Casale
35cc360e37 Add authenticated data example 2023-01-13 17:11:28 +01:00