Davide Casale
|
929ae62d2f
|
Fix bug in bfxapi.tests sub-package.
|
2023-02-06 16:16:11 +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
|
d767e5dcfe
|
Replace every snake case (uppercase) to snake case (lowercase) in serializers, types and notification.
|
2023-01-26 19:00:13 +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
|
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
|
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 |
|