code: def get_stockprices(chart_range='1y'):
      '''
      This is a proxy to the main fetch function to cache
      the result based on the chart range parameter.
      '''
  
      all_symbols = list_symbols()
  
      @daily_cache(filename='iex_chart_{}'.format(chart_range))
      def get_stockprices_cached(all_symbols):
          return _get_stockprices(all_symbols, chart_range)
  
      return get_stockprices_cached(all_symbolsf get_stockprices(chart_range='1y'):
      '''
      This is a proxy to the main fetch function to cache
      the result based on the chart range parameter.
      '''
  
      all_symbols = list_symbols()
  
      @daily_cache(filename='iex_chart_{}'.format(chart_range))
      def get_stockprices_cached(all_symbols):
          return _get_stockprices(all_symbols, chart_range)
  
      return get_stockprices_cached(all_symbols)
docs: This is a proxy to the main fetch function to cache
      the result based on the chart range parameter.