Davide Casale
41fd46dec7
Align code with new Bitfinex API documentation improvements.
2023-03-14 20:58:56 +01:00
Davide Casale
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.
2023-03-08 19:31:48 +01:00
Davide Casale
87ea765281
Apply refactoring with pylint to bfxapi.rest.endpoints sub-package.
2023-03-08 18:32:03 +01:00
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
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
0dd6fa9dbb
Reorder and rename some method inside _RestAuthenticatedEndpoints class.
2023-02-01 18:00:00 +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
a924721bbe
Merge pull request #24 from Davi0kProgramsThings/fix/refactoring
...
Merge branch `fix/refactoring` into branch `feature/rest`.
2023-01-27 17:28:15 +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
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
2afcc76647
Fix bug regarding new typing with dataclasses.
2023-01-16 18:18:12 +01:00
Davide Casale
1613a56d81
Rename bfxapi/rest/typings.py to bfxapi/rest/types.py.
2023-01-16 16:40:14 +01:00
Davide Casale
35cc360e37
Add authenticated data example
2023-01-13 17:11:28 +01:00
itsdeka
ef836bbe1a
Add funding related rest endpoints, refactor pre-existent rest endpoints to use get_ prefix. Add function to calculate flags easily. Add example test to create a funding offer.
2023-01-10 16:03:40 +01:00
Davide Casale
72a3252e32
Add support for new rest authenticated endpoints.
2022-12-23 16:36:51 +01:00
Davide Casale
4f63f4068e
Add and implement notification.py in root package (bfxapi).
2022-12-22 18:24:56 +01:00
Davide Casale
79ae0b48e0
Fix bug in _Requests's _GET and _POST methods. Add submit_order to handle POST auth/w/order/submit endpoint. Add OrderType enumeration in bfxapi/rest/enums.py.
2022-12-21 18:27:54 +01:00
Davide Casale
87bb6dc5c7
Add generic error handling (UnknownGenericError in bfxapi/rest/exceptions.py). Add support for new endpoints in _RestAuthenticatedEndpoints class. Extend serializers.py and typings.py.
2022-12-20 17:48:38 +01:00
Davide Casale
c9f86d6d03
Add labeler.py to root package (bfxapi). Remove List aliases in bfxapi/rest/typings.py. Update BfxRestInterface.py to use new standards.
2022-12-15 19:07:55 +01:00
Davide Casale
ec821a0752
Split BfxRestInterface methods in t_ and f_ handlers.
2022-12-14 18:05:45 +01:00
Davide Casale
32d698285e
Add new endpoints in BfxRestInterfaces.py (with serializers and typings).
2022-12-12 17:06:33 +01:00
Davide Casale
6a368d139d
Add support for GET liquidations/hist endpoint.
2022-12-09 16:23:51 +01:00
Davide Casale
cd5ef42118
Add support for new various endpoints. Add ResourceNotFound error in bfxapi/rest/exceptions.py. Fix bug in BfxRestInterface.__GET method.
2022-12-09 16:16:15 +01:00
Davide Casale
e0785f9f4a
Add support for GET book/{Symbol}/{Precision} endpoint.
2022-12-08 17:35:39 +01:00
Davide Casale
ea6044a5eb
Add support for new rest public endpoints (in BfxRestInterface.py, serializers.py and typings.py).
2022-12-01 17:48:50 +01:00
Davide Casale
4cfeab8a79
Add barebone files for rest section.
2022-11-30 18:25:15 +01:00