Narrowing down
This commit is contained in:
parent
a2f3170ab5
commit
cd32dff779
|
@ -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.
|
Called every time the balance is fetched on an account.
|
||||||
Store this into Elasticsearch.
|
Store this into Elasticsearch.
|
||||||
"""
|
"""
|
||||||
|
print("get_balance_hook start")
|
||||||
|
print("PARAMS", user_id, user_name, account_id, account_name, balance)
|
||||||
store_msg(
|
store_msg(
|
||||||
"balances",
|
"balances",
|
||||||
{
|
{
|
||||||
|
@ -22,6 +24,7 @@ def get_balance_hook(user_id, user_name, account_id, account_name, balance):
|
||||||
"balance": balance,
|
"balance": balance,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
print("get_balance_hook end")
|
||||||
|
|
||||||
|
|
||||||
def get_pair(account, base, quote, invert=False):
|
def get_pair(account, base, quote, invert=False):
|
||||||
|
|
Loading…
Reference in New Issue