add dry_run for get_balance
This commit is contained in:
parent
9cb249610a
commit
41510fdb32
@ -86,6 +86,9 @@ def get_balance(currency: str) -> float:
|
||||
|
||||
|
||||
def get_balances():
|
||||
if _CONF['dry_run']:
|
||||
return []
|
||||
|
||||
return _API.get_balances()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user