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: Whether or not the specified trading pair is tradable on this
  exchange.
  
  Parameters
  ----------
  trading_pair : `TradingPair`
      The trading pair to test the tradability of.
  
  Returns
  -------
  bool
      Whether or not the pair is tradable.
docstr_tok: ["Whether","or","not","the","specified","trading","pair","is","tradable","on","this","exchange",".","Parameters","--","--","--","--","--","trading_pair",":","`","TradingPair","`","The","trading","pair","to","test","the","tradability","of",".","Returns","--","--","--","-","bool","Whether","or","not","the","pair","is","tradable","."]
code: def is_pair_tradable(self, trading_pair: "TradingPair") -> bool:
      """Whether or not the specified trading pair is tradable on this
      exchange.
  
      Parameters
      ----------
      trading_pair : `TradingPair`
          The trading pair to test the tradability of.
  
      Returns
      -------
      bool
          Whether or not the pair is tradable.
      """
      return str(trading_pair) in self._price_streams.keys()
  
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 5 for calling the Exchange obj's underlying member method code with example usage: obj.is_pair_tradable(trading_pair) and returns: unknown