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
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
Davide Casale
7288d05939
Apply pylint's linting rules to bfxapi/utils/*.py.
2023-03-06 17:22:00 +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
6f61b983a5
Rewrite, edit and organize examples/websocket demos.
2023-02-20 18:22:57 +01:00
Davide Casale
49517f9709
Small fix in package import statements.
2023-02-14 17:03:16 +01:00
Davide Casale
6a7577f98b
Remove Optional typing in bfxapi.rest.types.
2023-02-13 17:32:46 +01:00
Davide Casale
821541134a
Fix bug and refactor code in bfxapi.rest.types sub-package.
2023-02-13 17:29:35 +01:00
Davide Casale
f0d14a230f
Fix bug in bfxapi.rest.endpoints.merchant sub-package.
2023-02-12 23:27:26 +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
56476b96fc
Add new serializers to __serializers__ constant in bfxapi.rest.serializers.
2023-02-10 04:33:29 +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
929ae62d2f
Fix bug in bfxapi.tests sub-package.
2023-02-06 16:16:11 +01:00
Davide Casale
0dd6fa9dbb
Reorder and rename some method inside _RestAuthenticatedEndpoints class.
2023-02-01 18:00:00 +01:00
Davide Casale
06dc9e1c0a
Remove cid.py and integers.py from bfxapi.utils subpackage. Rename encoder.py file to JSONEncoder.py. Remove IntegerUnderflowError and IntegerOverflowflowError exceptions from bfxapi/exceptions.py.
2023-02-01 17:18:05 +01:00
Davide Casale
05784cc8ec
Add tests subpackage. Add TestRestSerializersAndTypes and TestWebsocketSerializersAndTypes unit tests. Fix consistency bugs between serializers and types.
2023-02-01 17:05:25 +01:00
Davide Casale
40a48184da
Fix bugs and differences in namings/types/fields between bfxapi.rest.types, bfxapi.rest.serializers and bfxapi.websocket.types, bfxapi.websocket.serializers.
2023-01-31 18:54:15 +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
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
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
d767e5dcfe
Replace every snake case (uppercase) to snake case (lowercase) in serializers, types and notification.
2023-01-26 19:00:13 +01:00
itsdeka
48433fbb01
derivatives
2023-01-26 18:09:04 +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
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
Davide Casale
ed12bf473f
Rewrite and extend custom JSONEncoder in bfxapi/utils/encoder.py to automatically convert floats to strs. Change every Union[Decimal, str] type to Union[Decimal, float, str]. Fix type hinting bug in labeler.py.
2023-01-25 18:18:15 +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
Davide Casale
578882b4c2
Small sync with new documentation improvements.
2023-01-18 19:00:37 +01:00
itsdeka
430f7be51d
add wallet deposit/transfer
2023-01-18 17:23:53 +01:00
Davide Casale
1613a56d81
Rename bfxapi/rest/typings.py to bfxapi/rest/types.py.
2023-01-16 16:40:14 +01:00