code: def use_google_symbol(fct):
      '''
      Removes ".PA" or other market indicator from yahoo symbol
      convention to suit google convention
      '''
      def decorator(symbols):
          google_symbols = []
  
          # If one symbol string
          if isinstance(symbols, str):
              symbols = [symbols]
  
          symbols = sorted(symbols)
          for symbol in symbols:
              dot_pos = symbol.find('.')
              google_symbols.append(
                  symbol[:dot_pos] if (dot_pos > 0) else symbol)
  
          data = fct(google_symbols)
          #NOTE Not very elegant
          data.columns = [s for s in symbols if s.split('.')[0] in data.columns]
          return data
      return decoratof use_google_symbol(fct):
      '''
      Removes ".PA" or other market indicator from yahoo symbol
      convention to suit google convention
      '''
      def decorator(symbols):
          google_symbols = []
  
          # If one symbol string
          if isinstance(symbols, str):
              symbols = [symbols]
  
          symbols = sorted(symbols)
          for symbol in symbols:
              dot_pos = symbol.find('.')
              google_symbols.append(
                  symbol[:dot_pos] if (dot_pos > 0) else symbol)
  
          data = fct(google_symbols)
          #NOTE Not very elegant
          data.columns = [s for s in symbols if s.split('.')[0] in data.columns]
          return data
      return decorator
docs: Removes ".PA" or other market indicator from yahoo symbol
      convention to suit google convention