Narrowing down

This commit is contained in:
Mark Veidemanis 2023-08-24 17:59:17 +00:00
parent a2f3170ab5
commit cd32dff779
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,8 @@ def get_balance_hook(user_id, user_name, account_id, account_name, balance):
Called every time the balance is fetched on an account.
Store this into Elasticsearch.
"""
print("get_balance_hook start")
print("PARAMS", user_id, user_name, account_id, account_name, balance)
store_msg(
"balances",
{
@ -22,6 +24,7 @@ def get_balance_hook(user_id, user_name, account_id, account_name, balance):
"balance": balance,
},
)
print("get_balance_hook end")
def get_pair(account, base, quote, invert=False):