mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 07:14:20 +01:00
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.
This commit is contained in:
@@ -786,12 +786,15 @@ SymbolMarginInfo = generate_labeler_serializer(
|
||||
name="SymbolMarginInfo",
|
||||
klass=types.SymbolMarginInfo,
|
||||
labels=[
|
||||
"_PLACEHOLDER",
|
||||
"symbol",
|
||||
"tradable_balance",
|
||||
"gross_balance",
|
||||
"buy",
|
||||
"sell"
|
||||
]
|
||||
],
|
||||
|
||||
flat=True
|
||||
)
|
||||
|
||||
BaseMarginInfo = generate_labeler_serializer(
|
||||
@@ -849,11 +852,15 @@ PositionIncreaseInfo = generate_labeler_serializer(
|
||||
"_PLACEHOLDER",
|
||||
"_PLACEHOLDER",
|
||||
"funding_avail",
|
||||
"_PLACEHOLDER",
|
||||
"_PLACEHOLDER",
|
||||
"funding_value",
|
||||
"funding_required",
|
||||
"funding_value_currency",
|
||||
"funding_required_currency"
|
||||
]
|
||||
],
|
||||
|
||||
flat=True
|
||||
)
|
||||
|
||||
PositionIncrease = generate_labeler_serializer(
|
||||
|
||||
Reference in New Issue
Block a user