class_docstr: A portfolio of wallets on exchanges.
  
  Parameters
  ----------
  base_instrument : `Instrument`
      The exchange instrument used to measure value and performance statistics.
  wallets : `List[WalletType]`
      The wallets to be used in the portfolio.
  order_listener : `OrderListener`
      The order listener to set for all orders executed by this portfolio.
  performance_listener : `Callable[[OrderedDict], None]`
      The performance listener to send all portfolio updates to.
class_docstr_tok: ["A","portfolio","of","wallets","on","exchanges",".","Parameters","--","--","--","--","--","base_instrument",":","`","Instrument","`","The","exchange","instrument","used","to","measure","value","and","performance","statistics",".","wallets",":","`","List","[","WalletType","]","`","The","wallets","to","be","used","in","the","portfolio",".","order_listener",":","`","OrderListener","`","The","order","listener","to","set","for","all","orders","executed","by","this","portfolio",".","performance_listener",":","`","Callable","[","[","OrderedDict","]",",","None","]","`","The","performance","listener","to","send","all","portfolio","updates","to","."]
docstr: The current unlocked balance of each instrument over all wallets. (`List[Quantity]`, read-only)
docstr_tok: ["The","current","unlocked","balance","of","each","instrument","over","all","wallets",".","(","`","List","[","Quantity","]","`",",","read-only",")"]
code: def balances(self) -> "List[Quantity]":
      """The current unlocked balance of each instrument over all wallets. (`List[Quantity]`, read-only)"""
      return [wallet.balance for wallet in self._wallets.values()]
  
imports: import re
  from typing import Callable, Tuple, List, TypeVar
  from tensortrade.core import Component, TimedIdentifiable
  from tensortrade.oms.exchanges import Exchange
  from tensortrade.oms.orders import OrderListener
  from tensortrade.oms.instruments import Instrument, Quantity, ExchangePair
  from tensortrade.oms.wallets.wallet import Wallet
  from tensortrade.oms.wallets.ledger import Ledger
  from collections import OrderedDict
label_desc: Use image node_id 12 for calling the Portfolio obj's underlying member method code with example usage: obj.balances() and returns: unknown