Merge TradeExecutionUpdate and TradeExecuted serializers and types in websocket subpackage.

This commit is contained in:
Davide Casale
2023-01-31 17:27:14 +01:00
parent 0ddbd6e76e
commit 7b313ddcab
4 changed files with 6 additions and 34 deletions

View File

@@ -176,22 +176,7 @@ Position = generate_labeler_serializer("Position", klass=types.Position, labels=
"meta"
])
TradeExecuted = generate_labeler_serializer("TradeExecuted", klass=types.TradeExecuted, labels=[
"id",
"symbol",
"mts_create",
"order_id",
"exec_amount",
"exec_price",
"order_type",
"order_price",
"maker",
"_PLACEHOLDER",
"_PLACEHOLDER",
"cid"
])
TradeExecutionUpdate = generate_labeler_serializer("TradeExecutionUpdate", klass=types.TradeExecutionUpdate, labels=[
Trade = generate_labeler_serializer("Trade", klass=types.Trade, labels=[
"id",
"symbol",
"mts_create",