class_docstr: A pair of financial instruments to be traded on an exchange.
  
  Parameters
  ----------
  base : `Instrument`
      The base instrument of the trading pair.
  quote : `Instrument`
      The quote instrument of the trading pair.
  
  Raises
  ------
  InvalidTradingPair
      Raises if base and quote instrument are equal.
code: def __repr__(self) -> str:
      return str(self)
  
file_path: tensortrade/tensortrade/oms/instruments/trading_pair.py
imports: from typing import Any
  from tensortrade.core.exceptions import InvalidTradingPair
label_desc: Use image node_id 6 for calling the TradingPair obj's underlying member method code with example usage: obj.__repr__() and returns: str