code: def topsDF(symbols=None, token='', version=''):
      '''TOPS provides IEX’s aggregated best quoted bid and offer position in near real time for all securities on IEX’s displayed limit order book.
      TOPS is ideal for developers needing both quote and trade data.
  
      https://iexcloud.io/docs/api/#tops
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          DataFrame: result
      '''
      df = pd.io.json.json_normalize(tops(symbols, token, version))
      _toDatetime(df)
      _reindex(df, 'symbol')
      return df topsDF(symbols=None, token='', version=''):
      '''TOPS provides IEX’s aggregated best quoted bid and offer position in near real time for all securities on IEX’s displayed limit order book.
      TOPS is ideal for developers needing both quote and trade data.
  
      https://iexcloud.io/docs/api/#tops
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          DataFrame: result
      '''
      df = pd.io.json.json_normalize(tops(symbols, token, version))
      _toDatetime(df)
      _reindex(df, 'symbol')
      return df
docs: TOPS provides IEX’s aggregated best quoted bid and offer position in near real time for all securities on IEX’s displayed limit order book.
      TOPS is ideal for developers needing both quote and trade data.
  
      https://iexcloud.io/docs/api/#tops
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          DataFrame: result