Narrowing down

master
Mark Veidemanis 8 months ago
parent a2f3170ab5
commit cd32dff779
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -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):

Loading…
Cancel
Save