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 __eq__(self, other: "Any") -> bool:
      if isinstance(other, TradingPair):
          if str(self) == str(other):
              return True
      return False
  
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 3 for calling the TradingPair obj's underlying member method code with example usage: obj.__eq__(other) and returns: False, True