class_docstr: A broker for handling the execution of orders on multiple exchanges.
  Orders are kept in a virtual order book until they are ready to be executed.
  
  Attributes
  ----------
  unexecuted : `List[Order]`
      The list of orders the broker is waiting to execute, when their
      criteria is satisfied.
  executed : `Dict[str, Order]`
      The dictionary of orders the broker has executed since resetting,
      organized by order id.
  trades : `Dict[str, Trade]`
      The dictionary of trades the broker has executed since resetting,
      organized by order id.
class_docstr_tok: ["A","broker","for","handling","the","execution","of","orders","on","multiple","exchanges",".","Orders","are","kept","in","a","virtual","order","book","until","they","are","ready","to","be","executed",".","Attributes","--","--","--","--","--","unexecuted",":","`","List","[","Order","]","`","The","list","of","orders","the","broker","is","waiting","to","execute",",","when","their","criteria","is","satisfied",".","executed",":","`","Dict","[","str",",","Order","]","`","The","dictionary","of","orders","the","broker","has","executed","since","resetting",",","organized","by","order","id",".","trades",":","`","Dict","[","str",",","Trade","]","`","The","dictionary","of","trades","the","broker","has","executed","since","resetting",",","organized","by","order","id","."]
code: def __init__(self):
      self.unexecuted = []
      self.executed = {}
      self.trades = OrderedDict()
  
file_path: tensortrade/tensortrade/oms/orders/broker.py
imports: from typing import List, Dict
  from collections import OrderedDict
  from tensortrade.core.base import TimeIndexed
  from tensortrade.oms.orders.order import Order, OrderStatus
  from tensortrade.oms.orders.order_listener import OrderListener
label_desc: Use image node_id 1 to create a new Broker object from inherited base classes: OrderListener, TimeIndexed with example: obj = Broker()