@property
def locked_balance(self) -> 'Quantity':
    'The total balance of the wallet locked in orders.'
    locked_balance = Quantity(self.instrument, 0)
    for quantity in self.locked.values():
        locked_balance += quantity.size
    return locked_balance
The total balance of the wallet locked in orders.
@property
def locked_balance(self) -> 'Quantity':
    
    locked_balance = Quantity(self.instrument, 0)
    for quantity in self.locked.values():
        locked_balance += quantity.size
    return locked_balance