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 |
|
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
|
ace074edda
|
Merge branch 'fix/refactoring' of https://github.com/Davi0kProgramsThings/bitfinex-api-py into add-rest-examples
|
2023-01-17 12:08:09 +01:00 |
|
Davide Casale
|
1613a56d81
|
Rename bfxapi/rest/typings.py to bfxapi/rest/types.py.
|
2023-01-16 16:40:14 +01:00 |
|
itsdeka
|
e9ef39c1d6
|
add rest examples
|
2023-01-15 23:19:09 +01:00 |
|
Davide Casale
|
903f68c6e3
|
Add support for SimpleNamespace (instead of TypedDict) in bfxapi/labeler.py and bfxapi/notifications.py. Add generics Notification type in notifications.py. Add support for new changes in bfxapi/rest/BfxRestInterface.py.
|
2023-01-13 18:15:29 +01:00 |
|
Davide Casale
|
35cc360e37
|
Add authenticated data example
|
2023-01-13 17:11:28 +01:00 |
|
Davide Casale
|
ff58f049a7
|
Separate _BfxWebsocketInputs from bfxapi/websocket/BfxWebsocketClient.py to _BfxWebsocketInputs.py. Rename websocket authenticated inputs methods. Refactoring to maintain consistency across the library.
|
2023-01-12 18:10:00 +01:00 |
|
Davide Casale
|
99726b8e25
|
Roll-back to previous BfxRestInterface.py code. Remove CID enforcement with generate_unique_cid. Fix small bug in Requests._POST method.
|
2023-01-12 16:48:24 +01:00 |
|
itsdeka
|
bb79a58ee5
|
Fix mistakes in BfxRestInterface.py
|
2023-01-11 10:35:09 +01:00 |
|
itsdeka
|
22f6fe01fd
|
Add example to submit, cancel, edit order and adjust issue in labeler.py
|
2023-01-10 16:42:20 +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
|
454a7542ed
|
Add bfxapi/enums.py file. Split enumerations in bfxapi/rest/enums.py and bfxapi/websocket/enums.py. Rename enumeration classes to use singular name identifiers.
|
2022-12-22 18:42:55 +01:00 |
|
Davide Casale
|
4f63f4068e
|
Add and implement notification.py in root package (bfxapi).
|
2022-12-22 18:24:56 +01:00 |
|
Davide Casale
|
d5ace49555
|
Add implementation for submit_order, update_order and cancel_order endpoint handlers in BfxRestInterface.py.
|
2022-12-22 17:08:15 +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
|
0e4cbd40a6
|
Fix other mypy errors and warnings.
|
2022-12-16 16:03:28 +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
|
851184bf75
|
Add authentication logic to _Requests class in BfxRestInterface.py. Add _RestAuthenticatedEndpoints class. Add InvalidAuthenticationCredentials in bfxapi/rest/exceptions.py.
|
2022-12-14 18:56:03 +01:00 |
|
Davide Casale
|
07241b1ba8
|
Add _Requests and _RestPublicEndpoints classes in bfxapi/rest/BfxRestInterface.py.
|
2022-12-14 18:17:29 +01:00 |
|
Davide Casale
|
ec821a0752
|
Split BfxRestInterface methods in t_ and f_ handlers.
|
2022-12-14 18:05:45 +01:00 |
|
Davide Casale
|
862ba6d481
|
Add support for GET conf/pub:{Action}:{Object}:{Detail} endpoint. Add bfxapi/rest/enums.py script. Add Configs enumeration in enums.py.
|
2022-12-12 17:14:58 +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
|
376ac37273
|
Fix small bug in BfxRestInterface.py file.
|
2022-12-12 15:23:43 +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
|
6e470dc925
|
Fix type hinting bug in rest section.
|
2022-12-01 17:53:57 +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 |
|