code: def ohlcDF(symbol, token='', version=''):
      '''Returns the official open and close for a give symbol.
  
      https://iexcloud.io/docs/api/#news
      9:30am-5pm ET Mon-Fri
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          DataFrame: result
      '''
      o = ohlc(symbol, token, version)
      if o:
          df = pd.io.json.json_normalize(o)
          _toDatetime(df)
      else:
          df = pd.DataFrame()
      return df ohlcDF(symbol, token='', version=''):
      '''Returns the official open and close for a give symbol.
  
      https://iexcloud.io/docs/api/#news
      9:30am-5pm ET Mon-Fri
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          DataFrame: result
      '''
      o = ohlc(symbol, token, version)
      if o:
          df = pd.io.json.json_normalize(o)
          _toDatetime(df)
      else:
          df = pd.DataFrame()
      return df
docs: Returns the official open and close for a give symbol.
  
      https://iexcloud.io/docs/api/#news
      9:30am-5pm ET Mon-Fri
  
      Args:
          symbol (string); Ticker to request
          token (string); Access token
          version (string); API version
  
      Returns:
          DataFrame: result