@property
def total_balance(self) -> 'Quantity':
    'The total balance of the wallet, both available for use and locked in orders.'
    total_balance = self._balance
    for quantity in self.locked.values():
        total_balance += quantity.size
    return total_balance
The total balance of the wallet, both available for use and locked in orders.
@property
def total_balance(self) -> 'Quantity':
    
    total_balance = self._balance
    for quantity in self.locked.values():
        total_balance += quantity.size
    return total_balance