class_docstr: An abstract base class for any `ActionScheme` that wants to be
  compatible with the built in OMS.
  
  The structure of the action scheme is built to make sure that action space
  can be used with the system, provided that the user defines the methods to
  interpret that action.
  
  Attributes
  ----------
  portfolio : 'Portfolio'
      The portfolio object to be used in defining actions.
  broker : 'Broker'
      The broker object to be used for placing orders in the OMS.
  
  Methods
  -------
  perform(env,portfolio)
      Performs the action on the given environment.
  get_orders(action,portfolio)
      Gets the list of orders to be submitted for the given action.
class_docstr_tok: ["An","abstract","base","class","for","any","`","ActionScheme","`","that","wants","to","be","compatible","with","the","built","in","OMS",".","The","structure","of","the","action","scheme","is","built","to","make","sure","that","action","space","can","be","used","with","the","system",",","provided","that","the","user","defines","the","methods","to","interpret","that","action",".","Attributes","--","--","--","--","--","portfolio",":","'Portfolio'","The","portfolio","object","to","be","used","in","defining","actions",".","broker",":","'Broker'","The","broker","object","to","be","used","for","placing","orders","in","the","OMS",".","Methods","--","--","--","-","perform","(","env",",","portfolio",")","Performs","the","action","on","the","given","environment",".","get_orders","(","action",",","portfolio",")","Gets","the","list","of","orders","to","be","submitted","for","the","given","action","."]
code: def clock(self, clock: "Clock") -> None:
      self._clock = clock
  
      components = [self.portfolio] + self.portfolio.exchanges
      for c in components:
          c.clock = clock
      self.broker.clock = clock
  
imports: import logging
  from abc import abstractmethod
  from itertools import product
  from typing import Union, List, Any
  from gym.spaces import Space, Discrete
  from tensortrade.core import Clock
  from tensortrade.env.generic import ActionScheme, TradingEnv
  from tensortrade.oms.instruments import ExchangePair
  from tensortrade.oms.orders import Broker, Order, OrderListener, OrderSpec, proportion_order, risk_managed_order, TradeSide, TradeType
  from tensortrade.oms.wallets import Portfolio
label_desc: Use image node_id 3 for calling the TensorTradeActionScheme obj's underlying member method code with example usage: obj.clock(clock) without return types