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
|
7b313ddcab
|
Merge TradeExecutionUpdate and TradeExecuted serializers and types in websocket subpackage.
|
2023-01-31 17:27:14 +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 |
|
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
|
17fc29d4fa
|
Separate in different classes the content of BfxRestInterface.py script.
|
2023-01-27 16:38:58 +01:00 |
|
Davide Casale
|
f12981b841
|
Refactor some _RestPublicEndpoints's methods.
|
2023-01-27 16:10:11 +01:00 |
|
Davide Casale
|
6e96cda584
|
Edit demos in examples/ folder to use lowercase property identifiers.
|
2023-01-27 16:00:22 +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
|
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
|
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 |
|
Davide Casale
|
28c00d460b
|
Exclude subId field from every subscription dictionary.
|
2023-01-24 19:02:44 +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
|
36725a183e
|
Move _BfxWebsocketBucket class in its own file bfxapi/websocket/_BfxWebsocketBucket.py.
|
2023-01-19 18:12:12 +01:00 |
|
Davide Casale
|
5fe4d83902
|
Move subscriptions type hinting from bfxapi/websocket/types.py to bfxapi/websocket/subscriptions.py.
|
2023-01-19 18:00:51 +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 |
|
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
|
6f8e37cad0
|
Fix all mypy errors and warnings due to new dataclass implementation.
|
2023-01-16 18:27:03 +01:00 |
|
Davide Casale
|
2afcc76647
|
Fix bug regarding new typing with dataclasses.
|
2023-01-16 18:18:12 +01:00 |
|
Davide Casale
|
e185da4cc9
|
Rename bfxapi/websocket/typings.py to types.py. Replace TypedDicts with dataclasses (with _Type as base class). Update demos in examples/websocket to use new implementation.
|
2023-01-16 17:07:16 +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
|
0bb9f65a19
|
Replace SimpleNamespaces with dataclasses. Add base class _Typing in labeler.py to convert dictionaries to dataclasses. Remove SimpleNamespace references.
|
2023-01-16 16:30:06 +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
|
e64c25bf19
|
Implement bfxapi/notifications.py in websocket subpackage.
|
2023-01-12 18:36:23 +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 |
|
Davide Casale
|
10862aea79
|
Fix bug in bfxapi/notifications.py.
|
2023-01-10 18:19:30 +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 |
|