Add filter parameter to BfxWebsocketClient's __init__.py. Rewrite .notify coroutine adding new feature. Add Notifications channel handlers in handlers.py. Add Notification serializer in serializers.py.

This commit is contained in:
Davide Casale
2022-11-24 17:31:47 +01:00
parent 6f1befbcf0
commit 3a09ba2e90
3 changed files with 30 additions and 5 deletions

View File

@@ -305,4 +305,19 @@ BalanceInfo = _Serializer("BalanceInfo", labels=[
"AUM_NET",
])
#endregion
#region Serializers definition for Notifications channel
Notification = _Serializer("Notification", labels=[
"MTS",
"TYPE",
"MESSAGE_ID",
"_PLACEHOLDER",
"NOTIFY_INFO",
"CODE",
"STATUS",
"TEXT"
])
#endregion