read "free" balance from account
as outlined here: https://github.com/ccxt/ccxt/blob/master/python/ccxt/base/exchange.py#L1009
This commit is contained in:
		| @@ -165,7 +165,7 @@ def get_balance(currency: str) -> float: | ||||
|     if _CONF['dry_run']: | ||||
|         return 999.9 | ||||
|  | ||||
|     return _API.fetch_balance()[currency] | ||||
|     return _API.fetch_balance()[currency]["free"] | ||||
|  | ||||
|  | ||||
| def get_balances(): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user