Group Balance

group_balance(coin: str, group_id: Optional[int]) -> [GroupBalance]

Returns structure that can be used to obtain balance of tokens saved at the moment when update_balance_formula in group returns True or any other non-zero value

If group_id is empty - uses current exchange for bot’s account.group_id

coin check [balance] specification

Example:

group_balance('USDT').start.available → 100.2

group_balance('ETH').start.reserved → 2.3056

group_balance(’base’).current.available → 300.5

group_balance('counter').current.total → 300.5

group_balance('base', group_id=100).start.total → 100.1

Last updated