class_docstr: An abstract exchange for use within a trading environment.
  
  Parameters
  ----------
  name : str
      The name of the exchange.
  service : `Union[Callable, str]`
      The service to be used for filling orders.
  options : `ExchangeOptions`
      The options used to specify the setting of the exchange.
class_docstr_tok: ["An","abstract","exchange","for","use","within","a","trading","environment",".","Parameters","--","--","--","--","--","name",":","str","The","name","of","the","exchange",".","service",":","`","Union","[","Callable",",","str","]","`","The","service","to","be","used","for","filling","orders",".","options",":","`","ExchangeOptions","`","The","options","used","to","specify","the","setting","of","the","exchange","."]
docstr: Sets up the price streams used to generate the prices.
  
  Parameters
  ----------
  *streams
      The positional arguments each being a price stream.
  
  Returns
  -------
  `Exchange`
      The exchange the price streams were passed in for.
docstr_tok: ["Sets","up","the","price","streams","used","to","generate","the","prices",".","Parameters","--","--","--","--","--","*","streams","The","positional","arguments","each","being","a","price","stream",".","Returns","--","--","--","-","`","Exchange","`","The","exchange","the","price","streams","were","passed","in","for","."]
code: def __call__(self, *streams) -> "Exchange":
      """Sets up the price streams used to generate the prices.
  
      Parameters
      ----------
      *streams
          The positional arguments each being a price stream.
  
      Returns
      -------
      `Exchange`
          The exchange the price streams were passed in for.
      """
      for s in streams:
          pair = "".join([c if c.isalnum() else "/" for c in s.name])
          self._price_streams[pair] = s.rename(
              self.name + ":/" + s.name
          )
      return self
  
file_path: tensortrade/tensortrade/oms/exchanges/exchange.py
imports: from typing import Callable
  from decimal import Decimal
  from tensortrade.core import Component, TimedIdentifiable
  from tensortrade.oms.instruments import TradingPair
label_desc: Use image node_id 2 for calling the Exchange obj's underlying member method code with example usage: obj.__call__() and returns: self